Menu

#118 Spell check dictionary

open
5
2008-07-03
2008-02-12
No

I've been spell-checking the language lessons I'm putting online and of course there are a lot of special words that I want the dictionary to recognize when I'm checking a file for the second and subsequent times.

I haven't investigated this properly, and so I think I must be able to add words or create a user dictionary.

It would be useful if that were an action in the Spelling dialog -- Add to user dictionary.

Also, since the text I'm using has characters from Basic Latin, Latin Extended A, IPA extension, IPA supplement and Khmer code pages, there aren't any good fonts to display everything I need.

Whatever font is used in the Spelling dialog doesn't contain the IPA characters I've got in the text, and of course those words constitute the bulk of the "errors" it finds.

I guess I'd like to be able to change the font used so as to be able to see what these words are.

Thanks,

Roger

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Oh dear that is very serious indeed. Must push out a fix ASAP. Have used the check often and for a long time but never come across this problem.

    I wonder if the parser can't handle the Khmer code pages.

    I think the solution will be the following:

    - grab text
    - lex textual content using a primitive state machine
    - identify problem terms by offset
    - fix as appropriate
    - refresh document window
    - don't let the parser anywhere near the document!!!

    Gerald
    (Sorry to post anonymously - sf no longer have a persistent login.)

     
  • Nobody/Anonymous

    Logged In: NO

    Thanks Roger - while the spellcheck is actually moving entities around (I'm glad you pointed that out - very scary) I'm going to have pause work on user dictionaries. That said, aspell should have good support for user dictionaries. (It was easy until the last release: you could have just added terms to the XML dictionary, but aspell has its own binary format.)

    -Gerald

     
  • gnschmidt

    gnschmidt - 2008-07-03
    • assigned_to: nobody --> gnschmidt
     

Log in to post a comment.