In a given document, i need to change the hyphenation pattern off words.
For a document with language English:USA , a separate word list (with different hyphenation) is given to me.
1. If the same word exists in user dictionary, the previous hyphenation has to be offed and word should have new hyphenation defined in text document.
2. If word is not in user dictionary, it has to be added with hyphenation.
I can add a new word with hyphenation, but i am not sure how to check if a particular
word is new one or existing one.
Export your English:USA list to text (in the User Dictionary dialog), remove the words that also occur in the separate word list you received, then combine the two lists. Finally, import that list back into InDesign.
Thanks for reply.
I am working with cs4 and i could not export the English:USA list to text.
(you mean all the dictionary words in English USA language).
I think only externally added words can be exported. But here,
I need to change hyphenation for existing words in English:USA language.
how to do this.
Sorry it seemed as if I suggested you could export the whole dictionary -- small misunderstanding. It is not possible to replace the hyphenation pattern of internal words (many words are hyphenated by algorithm anyway, I would think). The list of added words is used to override the internal hyphenation rules, so just add the words you received after placing the correct hyphenation points. This in effect replaces the word in the main dictionary.