danielnaber / jwordsplitter

small Java library for splitting German compound words
Other
62 stars 11 forks source link

Implemented new feature for remembering split positions #3

Closed kraftb closed 1 year ago

kraftb commented 10 years ago

Instead of calling "splitWord" the method "splitWordIntoParts" can get used. This method will return a list of "WordPart" objects instead of plain strings. A "WordPart" object does still contain the original string of which the current piece got splitted and also the start and end offset of the piece in the original.