EthiopicStrategy#
- class scikitplot.corpus.EthiopicStrategy[source]#
Ethiopic (Amharic, Tigrinya) segmentation strategy.
Sentence boundary:
።(U+1362 Ethiopic Full Stop). Word boundary: Unicode whitespace.- Parameters:
- (none)
- segment(span, config)[source]#
Segment Ethiopic span by sentence or word.
- Parameters:
- spanScriptSpan
Ethiopic script span.
- configWritingSystemAdapterConfig
Adapter configuration.
- Returns:
- list[Chunk]
Sentence or word chunks.
- Parameters:
span (ScriptSpan)
config (WritingSystemAdapterConfig)
- Return type: