estnltk.clausesegmenter module

Wrapper class around Java-based clause segmenter (Osalausestaja). Allows to process results sentence by sentence.

class estnltk.clausesegmenter.ClauseSegmenter(**kwargs)[source]

Wrapper class around Java-based clause segmenter (Osalausestaja). Allows to process results sentence by sentence.

Methods

annotate_indices(sentence) Add clause indexes to already annotated sentence.
detect_annotations(sentence)
mark_annotations(sentence)
prepare_sentence(sentence) Prepare the sentence for segment detection.
process_line(line) Process a line of data.
rename_annotations(sentence) Function that renames and restructures clause information.
tag(text)
annotate_indices(sentence)[source]

Add clause indexes to already annotated sentence.

prepare_sentence(sentence)[source]

Prepare the sentence for segment detection.

rename_annotations(sentence)[source]

Function that renames and restructures clause information.