On-going develpment idaes for term replacement software
Some thoughts on new features needed:
Differentiating between words at the left of a page and in
the middle of text
Need some means of handling words that can occur at the left of a page or
in the middle of text. The difference here is that a word at the left of
the page will not have a space before it, whereas a word placed somewhere
else in the page will have a space before it. It might be a good idea to
use a regular expression here.
Problems associated with gradually replacing German terms with
English ones during a replacement run
Problems of having English terms mixed throughout the text as the replacement
run is progressing. This means that pure German context will not be picked
up sometimes as it will have English words mixed in with it.
Some ways of getting round this difficulty could be:
-
Don't actually replace any words until the end of the complete run. This
is not such a good idea because the use of priorities during the run would
be lost.
-
Another way would be not to replace the terms during the run, but to put
them in a list to be replaced at the end of the run. The list could be searched
every time a word is found for replacement to see if the word has already
been picked up, thus continuing to apply priorities to different subject
matters during the run.
-
Another approach would be to mark or color the terms instead of replacing
them as you go along. This would mean that you would have all German text
during the compete replacement run. All the marked or colored words could
then be replaced at the end of the complete replacement run.
Use of regular expressions
Use regular expressions to allow any number of characters between target
term and context term, e.g.
target term*context term
Also, be able to use spaces to make sure a context term is not just part
of a word.
Case and capitalization
Method to recognize "case" and "capitalization" for a context term.
Back to
main "Term Replacement" page
Like more
details
on the author?