Splits compound words, like German "Effektivitätsberechnung
Project description
Splits words that are not recognized by pyenchant (spell checker) into largest possible compounds.
Installation
pip install compound-word-splitter
Usage
import splitter
splitter.split('artfactory')
returns
['art', 'factory']
If the word cannot be split into compounds pyenchant recognizes as words, the splitter returns an empty string.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for compound-word-splitter-0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 274a0597e51db499472e1131d3465b9a8975cd50c37c29a284e8cd16af77cf6a |
|
MD5 | 44069f43785e0bcf2a60390a3eb3c545 |
|
BLAKE2b-256 | 7b0c62c1ff670016291bd7c24ebed9476ad3cc165eda571ba8442628c636cac1 |