TibetanStrategy#

class scikitplot.corpus.TibetanStrategy[source]#

Tibetan segmentation strategy.

Word boundary: tsek · (U+0F0B Tibetan Mark Intersyllabic Tsheg). Sentence boundary: shad ། (U+0F0D Tibetan Mark Shad).

Parameters:
(none)
segment(span, config)[source]#

Segment Tibetan span by tsek (word) or shad (sentence).

Parameters:
spanScriptSpan

Tibetan script span.

configWritingSystemAdapterConfig

Adapter configuration.

Returns:
list[Chunk]

Syllable, word, or sentence chunks.

Parameters:
Return type:

list[Chunk]