TimKam / compound-word-splitter

A compound word splitter for Python
MIT License
48 stars 15 forks source link

'Effektivitätsberechnung' returns empty string #4

Closed Make42 closed 6 years ago

Make42 commented 6 years ago

Even the example word from https://pypi.python.org/pypi/compound-word-splitter/0.4 does not work, returning an empty string:

import splitter
splitter.split('Effektivitätsberechnung')
Make42 commented 6 years ago

Ok, got it after reading the source:

splitter.split('Effektivitätsberechnung', language='de_GE')