Metadata-Version: 1.0
Name: PyHyphen
Version: 0.7
Summary: The hyphenation library of OpenOffice and FireFox wrapped for Python
Home-page: http://pyhyphen.googlecode.com
Author: Dr. Leo
Author-email: fhaxbox66@googlemail.com
License: UNKNOWN
Description: PyHyphen is a wrapper around the high quality hyphenation library hnj_hyphen-2.3.1 (Feb 2008) that ships
        with OpenOffice.org and Mozilla products. Consequently, all dictionaries compatible with OpenOffice can be used.
        
        It compiles and runs at least on Windows and Linux with Python 2.4 and 2.5, maybe also with Python 2.3.
        
        
        The PyHyphen project is now hosted at http://pyhyphen.googlecode.com. In order to obtain the latest sources,
        you will need Subversion (www.tigris.org).
        
        Code example:
        
        from hyphen import hyphenator
        from hyphen.dictools import *
        
        # Download and install some dictionaries in the default directory using the derault
        # repository, usually the OpenOffice website
        for lang in ['de_DE', 'fr_FR', 'en_UK', 'hu_HU']:
        if not is_installed(lang): install(lang)
        
        # Create some hyphenators
        h_de = hyphenator('de_DE')
        h_en = hyphenator('en_US')
        h_hu = hyphenator('hu_HU')
        
        # Now hyphenate some words
        
        print h_hu.inserted(u'asszonnyal')
        'asz=szony=nyal'
        
        print h_en.pairs('beautiful')
        [[u'beau', u'tiful'], [u'beauti', u'ful']]
        
        print h_en.wrap('beautiful', 6)
        [u'beau-', u'tiful']
        
        print h_en.wrap('beautiful', 7)
        [u'beauti-', u'ful']
        
        from textwrap import fill
        print fill('very long text...', width = 40, use_hyphens = h_en)
        
        
        See the history of changes at http://pyhyphen.googlecode.com.
        
        
        .
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Text Processing
