Barrier Analyzer
Bases: ABC
Class for identifying language barriers.
Source code in src/limes/analyzers/interfaces.py
supported_barriers
abstractmethod
property
A list of all types of barriers that this analyzer can detect.
__init__(simplify_explanations=True)
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
simplify_explanations
|
bool
|
If True, use simplified barrier descriptions; otherwise use standard descriptions. Defaults to True. |
True
|
Source code in src/limes/analyzers/interfaces.py
__call__(sentence)
Automatically identify and run all public detection functions of the Analyzer. Overwrite this with concrete registration of all relevant callables for minor overhead reduction.