Multi-options for replacement

  • Thread starter Thread starter B.A.H
  • Start date Start date
B

B.A.H

I'm wondering if there's a way for Word to show me a multi-option replacement
box (or anything similar) when I search for a certain character. For example,
when searching for character "a", can Word show me a box with the following
options: "à", "å", "ä", or "a" (if I need to keep it as it is), and when
clicking on one of the options Word moves to the next occurrence of "a" and
shows me the same box? PS: My text language isn't Roman; this is only a
"localized" example. A spell checker won't do the job for that language.
 
Hi BAH

B.A.H said:
I'm wondering if there's a way for Word to show me a multi-option replacement
box (or anything similar) when I search for a certain character. For example,
when searching for character "a", can Word show me a box with the following
options: "à", "å", "ä", or "a" (if I need to keep it as it is), and when
clicking on one of the options Word moves to the next occurrence of "a" and
shows me the same box? PS: My text language isn't Roman; this is only a
"localized" example. A spell checker won't do the job for that language.

well, if it isn't Roman/Latin alphabet, what is it then? I mean, in a
different alphabet, what would the corresponding "values" of "a", "à",
"ä", etc. be?

See the "Tips for advanced users" in
Finding and replacing characters using wildcards (by Graham Mayor, with
thanks also to Klaus Linke)
http://word.mvps.org/FAQs/General/UsingWildcards.htm

HTH
Robert
 
Hi Robert

In a matter of fact, there's no one set of values on my mind. What I have in
mind should apply to a number of cases. I only gave the example of the
different a's hoping that I would be able to replace the a's in the code with
what I want. The text I'm working with is Arabic, and what I have in mind
includes diacritics, something a bit confusing for non-Arabic speaking
people. That's why I gave the "a" example. Besides, spell checkers do not
take the diacritics into consideration in Arabic because it's SO complicated.
I can now, if this would be of any help to you, simplify things by
disregarding this diacritics thing and give you the Unicode codes of one
example: the case of Arabic alef. The alef has mutiple forms but a basic form
is commonly used for all of them:
main form: 0627
other forms: 0623, 0625, 0671.

PS: If this is still confusing since it's not a native language of the users
of this community, please forget about it.
 
B.A.H said:
In a matter of fact, there's no one set of values on my mind. What I have in
mind should apply to a number of cases. I only gave the example of the
different a's hoping that I would be able to replace the a's in the code with
what I want. The text I'm working with is Arabic, and what I have in mind
includes diacritics, something a bit confusing for non-Arabic speaking
people. That's why I gave the "a" example. Besides, spell checkers do not
take the diacritics into consideration in Arabic because it's SO complicated.
I can now, if this would be of any help to you, simplify things by
disregarding this diacritics thing and give you the Unicode codes of one
example: the case of Arabic alef. The alef has mutiple forms but a basic form
is commonly used for all of them:
main form: 0627
other forms: 0623, 0625, 0671.

well, and this is covered in the article I mentioned, you can certainly
search/replace Unicode values themselves. But if spellcheckers don't
have a concept of the language's intricacies, you won't find direct help
from Word itself on which of the varying Unicode characters is
"near/like" to another.

That doesn't mean what you're aiming for can't be done, but you'd have
to program it yourself, I reckon.

HTH
Robert
 
Back
Top