Module: RedactNer

Defined in:
lib/redact_ner.rb,
lib/redact_ner/version.rb

Defined Under Namespace

Classes: Recognizer, Result

Constant Summary collapse

VERSION =
"0.1.1"

Class Method Summary collapse

Class Method Details

.from_file(path) ⇒ Object

Convenience constructor: RedactNer.from_file(“model.onnx”)



49
50
51
# File 'lib/redact_ner.rb', line 49

def from_file(path)
  Recognizer.from_file(path.to_s)
end