Obscura.Recognizer.NER (obscura v0.1.0)

Copy Markdown View Source

Explicit NER recognizer for open-class entities.

Summary

Functions

Analyzes many texts with a batch-capable serving when available.

Returns optional PHI-like entities supported by the label map.

Functions

analyze_many(texts, opts)

@spec analyze_many(
  [String.t()],
  keyword()
) :: {:ok, [[Obscura.Analyzer.Result.t()]]} | {:error, term()}

Analyzes many texts with a batch-capable serving when available.

phi_entities()

@spec phi_entities() :: [atom()]

Returns optional PHI-like entities supported by the label map.