other versions
- wheezy 1.3.2-4
- jessie 1.3.3-3
- testing 1.4.1-2+b2
- unstable 1.4.1-2+b2
- experimental 1.6.1-1
conflicting packages
ISPELLAFF2MYSPELL(1) | User Contributed Perl Documentation | ISPELLAFF2MYSPELL(1) |
NAME¶
ispellaff2myspell - A program to convert ispell affix tables to myspell format.SYNOPSIS¶
ispellaff2myspell [options] <affixfile> --myheader your_header Options: --affixfile=s Affix file --bylocale Use current locale setup for upper/lowercase conversion --charset=s Use specified charset for upper/lowercase conversion (defaults to latin1) --debug Print debugging info --extraflags=s Allow some non alphabetic flags --lowercase=s Lowercase string --myheader=s Header file --printcomments Print commented lines in output --replacements=s Replacements file --split=i Split flags with more that i entries --uppercase=s Uppercase string
DESCRIPTION¶
ispellaff2myspell is a script that will convert ispell affix tables to myspell format in a more or less successful way. This script does not create the dict file. Something like ( echo `cat mydict.words+ | wc -l`; cat mydict.words+ ) > mydict.dict should do the work, with mydict.words+ being the munched wordlistOPTIONS¶
- --affixfile=s
- Affix file. You can put it directly in the command line.
- --bylocale
- Use current locale setup for upper/lowercase conversion. Make sure that the selected locale match the dictionary one, or you might get into trouble.
- --charset=s
- Use specified charset for upper/lowercase conversion (defaults to latin1). Currently allowed values for charset are: latin0, latin1, latin2, latin3.
- --debug
- Print some debugging info.
- --extraflags:s
- Allows some non alphabetic flags.
- --lowercase=s
- Lowercase string. Manually set the string of lowercase chars. This requires --uppercase having exactly that string but uppercase.
- --myheader=s
- Header file. The myspell aff header. You need to write it manually. This can contain everything you want to be before the affix table
- --printcomments
- Print commented lines in output.
- --replacements=file
- Add a pre-defined replacements table taken from 'file' to the .aff file. Will skip lines not beginning with REP, and set the replacements number appropriately.
- --split=i
- Split flags with more that i entries. This can be of interest for flags having a lot of entries. Will split the flag in chunks containing i entries.
- --uppercase=s
- Uppercase string. Manually set the sring of uppercase chars. This requires --lowercase having exactly that string but lowercase.
$lowercase='a-zaaaa~aeaaaeceeeeeiiiied`n~oooo~oeouuuueyp'; $uppercase='A-ZAAAA~AeAaCEEEEeIIIIeD‐N~OOOO~OeOUUUUeYP';
SEE ALSO¶
The OpenOffice.org Lingucomponent Project home page <http://lingucomponent.openoffice.org/index.html> and the document <http://lingucomponent.openoffice.org/affix.readme> that provides information about the basics of the myspell affix file format. You can also take a look at/usr/share/doc/libmyspell-dev/affix.readme.gz /usr/share/doc/libmyspell-dev/README.compoundwords /usr/share/doc/libmyspell-dev/README.replacetablein your Debian system.
AUTHORS¶
Agustin Martin <agustin.martin@hispalinux.es>2011-07-25 | perl v5.12.4 |