in reply to Re^2: Lingua: Transform "wasn't" into "was not"
in thread Lingua: Transform "wasn't" into "was not"
Apart from those cases, every other English contraction has a distinct full form.
If you're just trying to see whether two strings are identical except for contracted vs. uncontracted forms, it should work if you normalize both strings by applying contraction wherever possible, then seeing if they match.
I suppose there's a way to do it by expanding the contractions instead, but that's a lot more complicated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Lingua: Transform "wasn't" into "was not"
by LanX (Saint) on Apr 16, 2014 at 07:19 UTC | |
by choroba (Cardinal) on Apr 16, 2014 at 08:34 UTC | |
by LanX (Saint) on Apr 16, 2014 at 09:19 UTC | |
by graff (Chancellor) on Apr 17, 2014 at 03:15 UTC |