Discussion:
[Aspell-user] implement hyphenation using Aspell
chenxiajian1985
2011-06-21 14:51:42 UTC
Permalink
Hi, recenly I read much about Aspell
I try to implement hyphenation using Aspell.

Is there some imformation or API that can be used for hyphenation using Aspell? thanks

I noticed that there is "pspell_manager_check" for spell-checking~
or others: pspell_manager_suggest pspell_word_list_elements..


Thanks very much

Best Regards~

chen xiajian
Kevin Atkinson
2011-06-22 06:35:32 UTC
Permalink
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.
chenxiajian1985
2011-06-22 09:41:20 UTC
Permalink
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
Kevin Atkinson
2011-06-22 16:41:03 UTC
Permalink
On Wed, 22 Jun 2011, chenxiajian1985 wrote:

> mySpell(hunspell): support hyphenation

This is incorrect. Hunspell is a spell checker, it in and of itself does
not support hyphenation. That is a separate library. If you download the
Hunspell sourcecode http://hunspell.sourceforge.net/ you will not find any
hyphenation support.

> Zemberek: we have implemented it !
> Voikko: we have implemented it !

Both of these are more than just a spell checker.
chenxiajian1985
2011-06-23 02:38:47 UTC
Permalink
hi, thanks for your reply

http://sourceforge.net/projects/hunspell/files/Hyphen/

this is the hyphenation project in hunspell. we need add other dic (hyph_en_us.dic) to support hyphenation.


Best Regrads~
chen xiajian


2011-06-23



chenxiajian1985



发件人: Kevin Atkinson
发送时间: 2011-06-23 00:41:07
收件人: chenxiajian1985
抄送: aspell-user
主题: Re: [Aspell-user] implement hyphenation using Aspell

On Wed, 22 Jun 2011, chenxiajian1985 wrote:
> mySpell(hunspell): support hyphenation
This is incorrect. Hunspell is a spell checker, it in and of itself does
not support hyphenation. That is a separate library. If you download the
Hunspell sourcecode http://hunspell.sourceforge.net/ you will not find any
hyphenation support.
> Zemberek: we have implemented it !
> Voikko: we have implemented it !
Both of these are more than just a spell checke
Kevin Atkinson
2011-06-23 19:54:27 UTC
Permalink
On Thu, 23 Jun 2011, chenxiajian1985 wrote:

> hi, thanks for your reply
>
> http://sourceforge.net/projects/hunspell/files/Hyphen/
>
> this is the hyphenation project in hunspell. we need add other dic (hyph_en_us.dic) to support hyphenation.

This is closely related to Hunspell but it is not part of Hunspell. It is
a separate library.
Loading...