Skip to main content

Law and Enforcement: Case Study

Legal and law enforcement organizations run on text: case files, tip records, court exports, contracts, motions and disclosure letters. Most of it sits in older systems, in inconsistent formats, and in very large numbers of Word documents. This page describes the problems these organizations bring to DataMystic, how TextPipe Pro and WordPipe are applied, and what results to expect.

The challenge

Courts, prosecutors, police commissions and law firms share three recurring problems.

  • Legacy data that cannot be reused. Years of records live in software that is no longer supported. Re-keying them is slow and introduces errors, but leaving them behind loses the history investigators rely on.
  • Inconsistent source data. Case numbers, names, statute citations and dates arrive from several systems in different layouts, so searches miss related records.
  • Document sets that change in bulk. A change in a statute citation, court address or firm name has to be reflected in thousands of precedent documents and case file templates, and a missed file can mean a filing is rejected.

The solution approach

The approach has two parts, matched to the type of data.

Structured and exported data. TextPipe takes the raw export, applies a saved filter list and writes a clean file for the target system. Typical steps are renaming fields to consistent conventions, expanding abbreviations into searchable words, removing control characters and unused fields, and standardizing dates and case numbers. The Crime Stoppers of Wellington County project used exactly this method to move years of tip history into an askSam database, where full-text searching connected incidents that had never been linked.

Word documents. WordPipe applies the same find-and-replace logic across whole folders of .doc and .docx files. A firm can update a statute reference, replace an outdated court address or refresh a disclaimer in every file in one run, with the original files kept for audit. See mass update of case file templates, legal disclaimer updates and batch redaction for worked examples.

Example scenario: converting a case tracking archive

The figures below describe a typical engagement of this kind. They are illustrative and not a single named client.

A county agency holds 14 years of case notes exported from an unsupported system: about 120,000 records in a 380 MB text file. The export uses abbreviations such as "SUSP" and "VEH", mixes two date formats, and includes screen formatting characters. One filter list in TextPipe expands the abbreviations, converts all dates to a single format, strips the formatting and drops five unused fields. Processing takes minutes, where manual editing would have taken weeks. Because the filter list is saved, the same cleaning is applied to monthly updates, and a reviewer can read every rule that touched the data.

Measured outcomes

  • Time: a conversion that would take several weeks of manual editing runs in minutes, and can be repeated at no extra effort.
  • Accuracy: every record goes through the same rules, so formatting errors from manual re-entry are removed.
  • Findability: consistent field names and spelled-out terms make full-text search return related incidents, as in the Crime Stoppers "red parka and blue Taurus" example.
  • Auditability: a saved filter list documents the transformation, which supports chain-of-custody and records-management requirements.

Where to go next

If you work with large collections of case or tip data, read the data conversion solution and the data mining solution. For document-heavy practices, the content management solution explains how to keep large document libraries consistent. TextPipe's extraction features help pull case numbers, names and dates out of free text. Related industry stories are in the government case study, and more customer comments are in testimonials and customer uses for TextPipe Pro.

A selection of our customers

DataMystic has more than 2000 customers in 56 countries, across industries including Banking and Finance, Telecommunications, Utilities, Medicine, Law, Government, Publishing, Consulting and Manufacturing. Legal and law enforcement customers include:

  • www.konsulenza.com - used to extract, prepare and unify technical data from many unstructured sources on the regulations governing transport of hazardous material
  • Crime Stoppers Program of Wellington County
  • 18th Judicial District - KS, USA
  • CourtStats - WI, USA
  • Court Services and Offender Supervision Agency, USA
  • Court of Queen's Bench for Saskatchewan
  • Legal Software Services, USA
  • Minter Ellison - Australia
  • National Drug Intelligence Center - PA, USA
  • Police Integrity Commission - Australia