ai & machine learning · natural language processing

Stop re-reading claims notes, emails and contracts. Turn them into fields you can query.

Somewhere in your systems there's a column of free text that people still read one row at a time, usually adjuster notes, support emails or contract clauses. We turn that column into structured data you can search, count and route.

platforms
ai-machine-learning / natural-language-processing 6 platforms
01 · INBOUND TEXT 02 · PREPARATION 03 · NLP PIPELINE 04 · SYSTEMS OF RECORD Emails and tickets: shared inbox · case queue Emails and tickets shared inbox · casequeue Documents: PDFs · forms · contracts Documents PDFs · forms ·contracts OCR and parsing: layout · tables OCR and parsing layout · tables Redaction: PII · PHI fields Redaction PII · PHI fields Model router: LLM · fine-tuned model · rules Model router LLM · fine-tuned model· rules Large language model: Claude · OpenAI API Large language model Claude · OpenAI API Labeled test set: accuracy per field Labeled test set accuracy per field CRM: Salesforce · Dynamics 365 CRM Salesforce · Dynamics365 Data platform: Snowflake · Databricks Data platform Snowflake · Databricks
01 · INBOUND TEXT02 · PREPARATION03 · NLP PIPELINE04 · SYSTEMS OF RECORD Emails and tickets: shared inbox · case queue Emails andtickets shared inbox ·case queue Documents: PDFs · forms · contracts Documents PDFs · forms ·contracts OCR and parsing: layout · tables OCR and parsing layout · tables Redaction: PII · PHI fields Redaction PII · PHI fields Model router: LLM · fine-tuned model · rules Model router LLM ·fine-tunedmodel · rules Large language model: Claude · OpenAI API Largelanguagemodel Claude · OpenAIAPI Labeled test set: accuracy per field Labeled testset accuracy perfield CRM: Salesforce · Dynamics 365 CRM Salesforce ·Dynamics 365 Data platform: Snowflake · Databricks Data platform Snowflake ·Databricks © Cohash · cohash.com
Anthropic ClaudeOpenAI APIDatabricksSnowflake
in short·20-second read

Natural language processing pulls meaning out of text.

It sorts documents, picks out entities and fields, summarizes, translates and searches by meaning. Cohash builds NLP pipelines from large language models, smaller fine-tuned models and plain rules, picking each by accuracy, cost and how sensitive the data is. Every pipeline is measured against a labeled test set, with sensitive fields redacted where needed, before results go back to your CRM or data platform.

you probably need this if
  • Someone still reads every inbound email or ticket by hand just to decide where it goes.
  • Fields from forms, claims or contracts get re-typed into a system of record. Every re-key is a chance for a typo.
  • Search only works if people guess the exact words in the document. Try a synonym and you often miss the document.
terms on this page RulesdefinitionThe JavaScript snippets Auth0 used to run at login. Someone would write one to add a role to the token or block a sign-in, and each one ran after the last.explained in a field note →
Ask an engineer facts checked 2026-10-20
how it runs
  1. 01Sample and label
  2. 02Baseline
  3. 03Improve
  4. 04Integrate and monitor
you keep
  • Labeling guide and labeled evaluation set
  • Accuracy report per field or class
  • Extraction or classification pipeline code
+ 2 more documents
who does it
NLP engineerLLM application engineerSearch and retrieval engineer
platforms
the story · natural language processing

From the first call to a setup your own team can run.

Here's what usually prompts a call about your Natural Language Processing, what we do about it and in which order, and where you end up.

  1. chapter 01 · where it hurts

    Why teams reach out

    • Someone still reads every inbound email or ticket by hand just to decide where it goes.
    • Fields from forms, claims or contracts get re-typed into a system of record. Every re-key is a chance for a typo.
    • Search only works if people guess the exact words in the document. Try a synonym and you often miss the document.
  2. chapter 02 · what we change

    How we solve it

    • Classification and routing
    • Field extraction to a schema
    • Document processing
    • Semantic search
    • Sensitive data handling
    • The right model for the job
  3. chapter 03 · how it runs

    Our approach

    • Sample and label
    • Baseline
    • Improve
    • Integrate and monitor
  4. chapter 04 · where you end up

    What changes

    • Every routing decision now carries a confidence score, and an email the model isn't sure about goes to a person instead of the wrong queue.
    • Renewal terms for every contract now sit in structured fields that point back to the source page.
    • Labeling guide and labeled evaluation set
    • Accuracy report per field or class
what we do

Where we spend the hours

6 areas of work, each one done by an engineer who has run it in production.

  1. We read emails, tickets and notes for intent, urgency or product and route each one to the right queue in Salesforce or Dynamics 365, with a confidence score attached, so a shaky guess doesn't look like a sure one.

  2. We pull dates, amounts, parties, clause types and codes into a fixed schema and validate them. The output loads straight into a table, so nobody has to read a paragraph to find the number.

  3. Scanned forms and PDFs get OCR and layout analysis before anything else. We treat tables and checkboxes as tables and checkboxes. Flatten them into text and you lose which box was ticked.

  4. We set up embeddings plus hybrid keyword search over policies, contracts and knowledge bases. Document permissions still apply at query time, so people only find what they're allowed to open.

  5. Personal and health data is found and redacted or tokenized before any text leaves your environment. We test the redaction itself for misses, because a step that quietly misses a format gives false comfort.

  6. We use a large model for messy, low-volume text and a small fine-tuned model for high-volume narrow tasks, and plain rules where rules work. Then we compare all three on cost per thousand documents.

capability 01 / 06in production

Classification and routing

We read emails, tickets and notes for intent, urgency or product and route each one to the right queue in Salesforce or Dynamics 365, with a confidence score attached, so a shaky guess doesn't look like a sure one.

capability 02 / 06in production

Field extraction to a schema

We pull dates, amounts, parties, clause types and codes into a fixed schema and validate them. The output loads straight into a table, so nobody has to read a paragraph to find the number.

capability 03 / 06in production

Document processing

Scanned forms and PDFs get OCR and layout analysis before anything else. We treat tables and checkboxes as tables and checkboxes. Flatten them into text and you lose which box was ticked.

capability 04 / 06in production

Semantic search

We set up embeddings plus hybrid keyword search over policies, contracts and knowledge bases. Document permissions still apply at query time, so people only find what they're allowed to open.

capability 05 / 06in production

Sensitive data handling

Personal and health data is found and redacted or tokenized before any text leaves your environment. We test the redaction itself for misses, because a step that quietly misses a format gives false comfort.

capability 06 / 06in production

The right model for the job

We use a large model for messy, low-volume text and a small fine-tuned model for high-volume narrow tasks, and plain rules where rules work. Then we compare all three on cost per thousand documents.

typical situations

Situations we walk into

We pieced these together from Natural Language Processing situations that come up a lot. They're patterns. You won't find a specific client in them.

case file 01

Support mailbox routed by keyword rules nobody will edit

composite · not a client story
  1. Beforethe situation

    Thousands of emails a week hit a shared support mailbox. Queue assignment runs on a keyword rule set someone built years ago. It misroutes often enough that agents forward messages by hand, and nobody wants to touch the rules in case something else breaks.

  2. What we dothe work

    First we label a sample of recent emails against today's queue list, misrouted ones included, and test an LLM classifier against the existing rules on that sample. Once accuracy per queue is agreed, we distill to a smaller model to cut cost. Anything below the confidence threshold lands in a triage queue.

  3. Afterwhere you end up

    Every routing decision now carries a confidence score, and an email the model isn't sure about goes to a person instead of the wrong queue. Adding a queue means labeling some examples, so nobody has to edit keyword rules again.

case file 02

Renewal terms stuck inside 8,000 scanned supplier contracts

composite · not a client story
  1. Beforethe situation

    Procurement has roughly 8,000 supplier contracts, all scanned PDFs. Renewal dates, notice periods and liability caps live in a spreadsheet that is partly stale. Auto-renewals keep sliding past their notice windows.

  2. What we dothe work

    Legal signs off the target fields: renewal date, notice period, auto-renewal flag, liability cap. OCR runs first. An LLM then pulls each field and cites the page it came from. We measure accuracy field by field on a labeled sample, and low-confidence results go to a reviewer before anything is written to the contract system.

  3. Afterwhere you end up

    Renewal terms for every contract now sit in structured fields that point back to the source page. Notice deadlines show up in the contract system while someone can still do something about them.

case studies

Natural Language Processing case studies

All case studies
AI rollout AI and agents

AI pilot to production with forward deployed engineers

Taking an AI pilot into production with forward deployed engineers who work with the business team, build evals, connect real systems and hand over cleanly.

read the case study
AI rollout AI and agents

Microsoft 365 Copilot or Gemini Enterprise rollout with real adoption

Rolling out Microsoft 365 Copilot or Gemini Enterprise with oversharing fixed first, use cases tied to real tasks and adoption measured past login counts.

read the case study
AI rollout AI and agents

Enterprise search and RAG that respects document permissions

Enterprise search and RAG that only return what each user may open. We capture source ACLs at ingestion, filter at query time and leak-test.

read the case study
implementation Industry platforms

Epic integrations, FHIR APIs and TEFCA connectivity

Building and governing the HL7 and FHIR integrations, SMART on FHIR apps and TEFCA exchange around Epic, with an interface catalog and scope reviews.

read the case study
AI rollout AI and agents

MCP servers for SAP, Salesforce, ServiceNow and internal APIs

We connect AI agents to SAP, Salesforce, ServiceNow and internal APIs through MCP servers, with OAuth, scoped tools, approval for writes and audit.

read the case study
upgrade AI and agents

OpenAI Assistants API to the Responses API and the Agents SDK

Getting apps off the shut-down OpenAI Assistants API onto the Responses and Conversations APIs or the Agents SDK, with history kept and outputs re-tested.

read the case study
architecture

How text goes from inbox to structured records

Text that needs redacting gets redacted first. Then it goes to an LLM, a smaller fine-tuned model or plain rules, whichever suits the task. We check extracted fields against a schema and a labeled test set before anything reaches the CRM or data platform.

How text goes from inbox to structured records Text that needs redacting gets redacted first. Then it goes to an LLM, a smaller fine-tuned model or plain rules, whichever suits the task. We check extracted fields against a schema and a labeled test set before anything reaches the CRM or data platform. 01 · INBOUND TEXT 02 · PREPARATION 03 · NLP PIPELINE 04 · SYSTEMS OF RECORD extract text clean text hard cases scores schema fields embeddings and labels Emails and tickets shared inbox · case queue Documents PDFs · forms · contracts OCR and parsing layout · tables Redaction PII · PHI fields Model router LLM · fine-tuned model ·rules Large languagemodel Claude · OpenAI API Labeled test set accuracy per field Sf CRM Salesforce ·Dynamics 365 Data platform Snowflake ·Databricks © Cohash · cohash.com
01 · INBOUND TEXT02 · PREPARATION03 · NLP PIPELINE04 · SYSTEMS OF RECORD Emails and tickets: shared inbox · case queue Emails andtickets shared inbox ·case queue Documents: PDFs · forms · contracts Documents PDFs · forms ·contracts OCR and parsing: layout · tables OCR and parsing layout · tables Redaction: PII · PHI fields Redaction PII · PHI fields Model router: LLM · fine-tuned model · rules Model router LLM ·fine-tunedmodel · rules Large language model: Claude · OpenAI API Largelanguagemodel Claude · OpenAIAPI Labeled test set: accuracy per field Labeled testset accuracy perfield CRM: Salesforce · Dynamics 365 CRM Salesforce ·Dynamics 365 Data platform: Snowflake · Databricks Data platform Snowflake ·Databricks extract text clean text schema fields embeddings and labels © Cohash · cohash.com
how it runs

A typical engagement

We don't start a step until the last one has produced something you can check.

  1. step 01

    Sample and label

    Your experts label a few hundred real documents. We write them a short labeling guide first, so two people looking at the same email pick the same label.

  2. step 02

    Baseline

    We score rules and an off-the-shelf model on the labeled set. That baseline is the number every later change has to beat.

  3. step 03

    Improve

    We add prompts, fine-tuning or extra rules until each field reaches the accuracy threshold we agreed. Until then the field isn't done, however good the rest look.

  4. step 04

    Integrate and monitor

    Results get written to your systems. Low-confidence cases go to a person for review, and we keep sampling them regularly so problems show up early.

you keep

What you're left with

We write these for your Natural Language Processing setup, and they're working documents. Your team should be able to keep things running from them long after we've gone.

  • guide01

    Labeling guide and labeled evaluation set

    yours to keep
  • report02

    Accuracy report per field or class

    yours to keep
  • code03

    Extraction or classification pipeline code

    yours to keep
  • tests04

    Redaction approach and test results

    yours to keep
  • report05

    Human review workflow for low-confidence results

    yours to keep
talent and delivery · natural language processing

Certified engineers, wherever you need them.

Some clients want a project team, some want a couple of engineers on theirs. Either works. Onsite, nearshore or offshore, with handovers across time zones that keep things moving.

Onsite

Engineers at your sites in the US

Nearshore

Overlapping hours with US teams

Offshore

Overnight progress on your backlog

All time zones

Coverage handed over across time zones

24-hour coverage · US Central time
OnsiteUS business hours
Nearshoreoverlapping US hours
Offshoreovernight progress
Combinedhandover, not hand-off
roles we staff
  • NLP engineer
  • LLM application engineer
  • Search and retrieval engineer
  • Data engineer for text pipelines
  • Model evaluation engineer
01Should we use an LLM or traditional NLP?

It depends on volume, variety and cost. LLMs cope well with varied, messy text and need little training data. For one narrow task at scale, a smaller model is cheaper and faster. We often prototype with an LLM and then distill to a smaller model once there's labeled data to train it on.

02How accurate will it be?

We can't promise a number before we've seen your documents. What we do is agree a target for each field, measure against your labeled set, and send uncertain cases to a person instead of letting the model guess.

03Can the text stay inside our cloud?

Usually, yes. Many commercial models are offered through the major cloud providers' AI services, and open-weight models can run on your own infrastructure. Your data rules narrow the choice, and a test on your own text shows which option is accurate enough.

04Does it work for languages other than English?

Many languages work, though accuracy moves around by language and domain. If some of your documents aren't in English, we add them to the test set so you know how they do before go-live.

05Our files include scanned documents and handwritten forms. Can you process them?

Scanned print, yes, with an OCR step before extraction. Handwriting is less reliable. It depends heavily on scan quality and on how people write. We test a sample of your real documents before anyone agrees what can be automated and what still needs a person.

related

Often paired with

Projects on Natural Language Processing usually end up touching one of these, so they're worth a look.

fact-checked Checked against vendor and official documentation last checked 2026-10-20 content fingerprint 17c6687b
  1. 01Book a 30-minute working sessionsenior engineer
  2. 02Talk to an engineer about your setupreply within 24 hours
  3. 03See how similar projects wentcase studies
Reviewed by the Cohash team Product names are trademarks of their owners. how we handle facts and data →
next step

Tell us what you're running. We'll tell you what we'd do first.

A 30-minute working session with a senior engineer. No slides.

useful to bring
  • The platform and the version you're on
  • Where you need to get to, and by when
  • What's custom: rules, plugins, integrations
  • Any audit finding or deadline driving it