Quote:
Originally Posted by lpxxfaintxx
Ooh, interesting. More info please?
|
Instead of breaking down and analyzing the content and structure of the text a la computer linguistics, I wrote a long set of individual rules that were applied to the text. I was delighted with how well it worked. A very basic example is a rule that rewrites phrases like "left or right" to read "right or left" (not that phrase specifically - all phrases of that nature). Another basic example is a rule that rewrites sentences like "If your dog is barking tonight, I'm going to call the police" to read "I'm going to call the police if your dog is barking tonight" (not that sentence specifically - all sentences of that nature). Another example is reasonable use of synonyms - I have many rules for that.
I'm not saying it is easy - it's not. But now that I've done the work, I have it as a basis for any future project.