Locked History Actions

Diff for "Segment"

Differences between revisions 10 and 12 (spanning 2 versions)
Revision 10 as of 2012-05-17 19:57:58
Size: 905
Editor: MichalLenart
Comment:
Revision 12 as of 2012-05-17 19:59:30
Size: 1023
Editor: MichalLenart
Comment:
Deletions are marked like this. Additions are marked like this.
Line 24: Line 24:
 * Some notes on sentence splitting tests (in Polish): http://morfologik.blogspot.com/2010/03/testy-segmentacji.html

Segment

Segment program is used to split text into segments (sentences, paragraphs, words). Split rules are read from file in XML based Segmentation Rules Exchange (SRX) standard format. Can be used as a programming library.
Homepage: http://sourceforge.net/projects/segment/

Documentation

For detailed info see the docs directory in the Segment package file.

Using as sentence splitter for Polish

In segment main directory:

./bin/segment -l pl -s sample.srx

This way the program will read text from stdin and write sentences to stdout - each one in separate line.

Recommended resources: