Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>G'day,</p> <p>This is one of those cases where you could invest an inordinate amount of time tracking down the automatic solution and finish up with a result that you're going to have to check through anyway.</p> <p>I'd suggest making your script insert a piece of text that will really stand out at every instance of "her" and would be easily searchable. Maybe even make the script insert both "him" and "his" strings so that you only need to delete one of them after you've seen the context?</p> <p>You're going to save a lot of time and effort this way. Not to mention blood, sweat and tears even! (-:</p> <p>Coming up with a fully automatic solution is no mean feat as it will involve scanning a massive corpus of words to determine if the following word is an object.</p> <p>Sometimes gaining that extra 5 or 10 percent improvement is just not worth the extra effort involved. Except of course as an "it is left as an interesting exercise for the reader..." type problem that some text books seem to love.</p> <p><strong>Edit:</strong> I forgot to mention that finding this "tipping point" is a true art. Definitely one skill that only comes with experience. (-:</p> <p><strong>Edit: Part II - The Revenge</strong> I also forgot to mention that you can eliminate one edge case though. If the word "him" is followed by punctuation, e.g. "... to her.", "... for her," etc. then you can eliminate the uncertainty for those cases and just replace them with "him". Similarly if the word is followed by a class of words, e.g. "... for her to" can have the "her" easily be replaced with "him". <strong>Edit 3:</strong> This is not a full list of exceptions but is merely intended as a suggestion for a starting point of the list of items you'll need to look for.</p> <p>HTH</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload