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.
Release files for compound-word-splitter 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| compound-word-splitter-0.4.tar.gz | 2.1 kB | Details |
Release files / compound-word-splitter-0.4.tar.gz
| Download URL | compound-word-splitter-0.4.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
274a0597e51db499472e1131d3465b9a8975cd50c37c29a284e8cd16af77cf6a
|
|
BLAKE2b-256 checksum How to use checksums |
7b0c62c1ff670016291bd7c24ebed9476ad3cc165eda571ba8442628c636cac1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |