Obscura.Analyzer (obscura v0.1.0)

Copy Markdown View Source

String analyzer facade for Obscura recognizers.

Summary

Functions

Analyzes text with the configured recognizer registry.

Analyzes multiple texts with the configured recognizer registry.

Functions

analyze(text, opts \\ [])

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

Analyzes text with the configured recognizer registry.

analyze_many(texts, opts \\ [])

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

Analyzes multiple texts with the configured recognizer registry.