Class: TopSecret::NullModel
- Inherits:
-
Object
- Object
- TopSecret::NullModel
- Defined in:
- lib/top_secret/null_model.rb
Overview
A null object implementation that provides a no-op interface compatible with Mitie::NER. Used when NER filtering is disabled (model_path is nil) to eliminate conditional checks throughout the codebase.
Defined Under Namespace
Classes: NullDoc
Instance Method Summary collapse
-
#doc(input) ⇒ NullDoc
Creates a null document that returns empty entities.