Skip to main content

Splits compound words, like German "Effektivitätsberechnung

Project description

https://travis-ci.org/TimKam/compound-word-splitter.svg?branch=master

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

compound-word-splitter-0.4.tar.gz (2.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page