xles / hyphenator

Automatically exported from code.google.com/p/hyphenator
GNU General Public License v3.0
0 stars 0 forks source link

Documentation on charSubstitution #167

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As described in our discussion please include charSubstitution in documentation 
of API.

Is there a way to use equivalents of letters like in translate.txt in patgen. 
Especially I demand to be é treated like e in english text.

Comment by project member mathiasn...@gmail.com, Sep 12 (2 days ago)

@jomamoto

Yes, there is. Add the following entry to the pattern object in en.js:

    charSubstitution : {

        'é' : 'e' 

    } 

This should do the trick.

Regards, Mathias

Original issue reported on code.google.com by jomam...@gmail.com on 15 Sep 2012 at 6:05

GoogleCodeExporter commented 9 years ago

Original comment by mathiasn...@gmail.com on 21 Sep 2012 at 1:42

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/hyphenator/wiki/en_PatternFilesFormat

Original comment by mathiasn...@gmail.com on 26 Sep 2012 at 6:29