Hi, thanks for your reply
I try to implement hyphenation in abiword(an opensource word-processor similar with MS WORD)
so it need support multi-languages. Abiword have eight types of backend for spell-check including HSpell
After long time of thinking, compare Aspell Ispell mySpell(hunspell) USpell Hspell Zemberek Voikko appleSpell
mySpell(hunspell): support hyphenation
USpell : Yiddish dont need hyphenation
Hspell : Hebrew dont need hyphenation
Zemberek: we have implemented it !
Voikko: we have implemented it !
so we can focus on mySpell(hunspell) to implement hyphenation. I notice that Hunspell support Hyphenation.
The hyphenator Hyphen needs one file:
Dic-tionary File with .DIC ex-ten-sion (e.g. hyph_en_us.dic)
To dis-tin-guish be-tween Hun-spell and Hyphen dic-tio-nar-ies, the Hyphen dic-tio-nary names start with 'hyph_' by con-ven-tion.
/usr/share/hyphen/hyph_es_AR.dic
/usr/share/hyphen/hyph_es_BO.dic
/usr/share/hyphen/hyph_es_CL.dic
/usr/share/hyphen/hyph_es_CO.dic
/usr/share/hyphen/hyph_es_CR.dic
/usr/share/hyphen/hyph_es_CU.dic
/usr/share/hyphen/hyph_es_DO.dic
/usr/share/hyphen/hyph_es_EC.dic
/usr/share/hyphen/hyph_es_ES.dic
/usr/share/hyphen/hyph_es_GT.dic
/usr/share/hyphen/hyph_es_HN.dic
/usr/share/hyphen/hyph_es_MX.dic
/usr/share/hyphen/hyph_es_NI.dic
/usr/share/hyphen/hyph_es_PA.dic
/usr/share/hyphen/hyph_es_PE.dic
/usr/share/hyphen/hyph_es_PR.dic
/usr/share/hyphen/hyph_es_PY.dic
/usr/share/hyphen/hyph_es_SV.dic
/usr/share/hyphen/hyph_es_US.dic
/usr/share/hyphen/hyph_es_UY.dic
/usr/share/hyphen/hyph_es_VE.dic
Best Regards~
Chen Xiajian
2011-06-22
chenxiajian1985
发件人: Kevin Atkinson
发送时间: 2011-06-22 14:36:49
收件人: chenxiajian1985
抄送: aspell-user
主题: Re: [Aspell-user] implement hyphenation using Aspell
On Tue, 21 Jun 2011, chenxiajian1985 wrote:
Please do not cross post, this is not a question for the devel list. This
is also your third post. One is generally enough. If no one answers,
than perhapses a second post is appropriate in around a week, but never
two within a day of each other.
> Is there some imformation or API that can be used for hyphenation using Aspell? thanks
If by hyphenation you mean finding points to break a long word by
inserting hyphens, such as "defining" => "def-in-ing". Than no. Aspell
does not provide hyphenation support functionality. There are other
libraries which do this, but I do not know of any offhand.
> I noticed that there is "pspell_manager_check" for spell-checking~
> or others: pspell_manager_suggest pspell_word_list_elements..
Those are outdated functions only there for backwards compatibility with
Pspell, which is no longer maintained.
_______________________________________________
Aspell-user mailing list
Aspell-***@gnu.org
https://lists.gnu.org/mailman/listinfo/aspell-us