Latvian sentence segmentation model for detecting sentence boundaries in written Latvian text.
This model is part of the Ortix release by Baltrix. It is intended for document cleanup, corpus processing, retrieval preprocessing, and other Latvian text-processing pipelines where sentence boundaries need to be recovered reliably.
The base variant is a 6-layer token-classification model tuned for Latvian sentence-boundary detection.
1from ortix.seg import SentenceSegmenter
2
3segmenter = SentenceSegmenter.from_pretrained("Baltrix-AI/ortix-seg-lv-base")
4spans = segmenter.segment("Pirmais teikums. Otrais teikums.")