Skip to content

jaki2012/compound-word-splitter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

compound-word-splitter

image

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.

About

A compound word splitter for Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%