Created
June 28, 2020 19:53
-
-
Save DanKaplanSES/402e9175eabe729818ce1586c6d62ba4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"contraction <text> will": | |
R(Text("%(text)s'll ")), | |
"cap contraction <text> will": | |
R(Function(lambda text:Text(text.capitalize() + "'ll ").execute())), | |
"contraction <text> have": | |
R(Text("%(text)s've ")), | |
"cap contraction <text> have": | |
R(Function(lambda text:Text(text.capitalize() + "'ve ").execute())), | |
"contraction <text> are": | |
R(Text("%(text)s're ")), | |
"cap contraction <text> are": | |
R(Function(lambda text:Text(text.capitalize() + "'re ").execute())), | |
"contraction <text> is": | |
R(Text("%(text)s's ")), | |
"cap contraction <text> is": | |
R(Function(lambda text:Text(text.capitalize() + "'s ").execute())), | |
"contraction <text> not": | |
R(Text("%(text)s't ")), | |
"cap contraction <text> not": | |
R(Function(lambda text:Text(text.capitalize() + "'t ").execute())), | |
"contraction <text> (do|would)": | |
R(Text("%(text)s'd ")), | |
"cap contraction <text> (do|would)": | |
R(Function(lambda text:Text(text.capitalize() + "'d ").execute())), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes it does! sr for typo