daltonfury42 / truecase

A python true casing utility that restores case information for texts
Apache License 2.0
87 stars 16 forks source link

Case of wanNA, gonNa and ... #26

Open rbehzadan opened 2 years ago

rbehzadan commented 2 years ago

Informal spoken American English words like WANNA and GONNA are converted to wanNa and gonNa.

>>> import truecase
>>> truecase.get_true_case("I DON'T WANNA GO TO SCHOOL.")
"I don't wanNA go to school."