Skip navigation
jortolafont
Currently Being Moderated

non-standard hyphenation with Hunspell

Aug 29, 2011 4:58 PM

The use of the Hunspell dictionaries to InDesign has been a great addition. However, I've encountered one problem (a bug in the plugin?). The non-standard hyphenation rules as described here

 

http://sunet.dl.sourceforge.net/project/hunspell/Hyphen/documentation/ tb87nemeth.pdf

 

doesn't work properly.

 

In the Catalan hyphenation dictionary, for example, we have these rules:

 

 

% patrons per a la ela geminada

l·3l/=,2,1

ŀ3l/l=,1,1

 

I.e., the middot disappears if a hyphen is inserted.

 

I get nonsense results in words with a middot, and the middot doesn't disappear in the text:

intel~~·l~~igè~~ncia

 

It should be something like:

intel~~·li~~gèn~~cia

 

Is this happening in other languages? Is there a bug in the Hunspell plugin?

 
Replies
  • Currently Being Moderated
    Aug 30, 2011 2:42 AM   in reply to jortolafont

    I can't answer your question, but I've moved your post from Feature Requests to the general discusions area where you might find someone with some experience.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 30, 2011 5:42 AM   in reply to jortolafont

    jortolafont wrote:

     

    I expect the answer to come from the developers of the Adobe Hunspell Plugin.

     

    You're only talking to other InDesign users here. You should contact the plugin developers directly, but please post anything you learn here for the benefit of other users facing the same issues.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 30, 2011 6:46 AM   in reply to Peter Spier

    I aasume he's talking about the Hunspell support in CS5.5.

     

    I don't know wnything about the hyphenation rules you are talking about. Does it work correctly in OpenOffice using the same dictionary?

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 1, 2011 2:44 AM   in reply to jortolafont

    Hello,

     

    Our third party hyphenation product, MindHyph, can handle this. It adds support for the Hunspell Hyphen library for CS3-CS5.5

     

    http://www.mindsteam.com/products/mindhyph/index.html

     

    In the intel·ligència example, it's not possible to truly represent the hyphenation behavior in the edit box since it depends on where the word breaks.

     

    With this example we have 3 hyphen points. In the first break, we strip the  · character, in the second two leave the symbol. Like so,

     

    intel-ligència

    intel·li-gència

    intel·ligèn-cia

     

    Here's a screen shot illustrating this in InDesign.

     

    mindhyph_ca.png

     

    Best regards,

    Heath Horton

    Mindsteam Software

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points