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 details)

Uploaded Source

File details

Details for the file compound-word-splitter-0.4.tar.gz.

File metadata

File hashes

Hashes for compound-word-splitter-0.4.tar.gz
Algorithm Hash digest
SHA256 274a0597e51db499472e1131d3465b9a8975cd50c37c29a284e8cd16af77cf6a
MD5 44069f43785e0bcf2a60390a3eb3c545
BLAKE2b-256 7b0c62c1ff670016291bd7c24ebed9476ad3cc165eda571ba8442628c636cac1

See more details on using hashes here.

Supported by

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