|
10 | 10 | __version__ = pkg_resources.resource_string( |
11 | 11 | 'pointofview', 'VERSION').decode('utf-8').strip() |
12 | 12 |
|
| 13 | +# Constants for use in comparisons |
| 14 | +FIRST = 'first' |
| 15 | +SECOND = 'second' |
| 16 | +THIRD = 'third' |
| 17 | +NONE = None |
| 18 | + |
13 | 19 | # NOTE: |
14 | 20 | # Words are expected to be in lower case. |
15 | 21 | # |
|
18 | 24 | # Second person PoV can also contain third person words. |
19 | 25 | # Third person PoV can only contain third person words. |
20 | 26 | POV_WORDS = OrderedDict([ |
21 | | - ('first', |
| 27 | + (FIRST, |
22 | 28 | ["i", "i'm", "i'll", "i'd", "i've", "me", "mine", "myself", "we", |
23 | 29 | "we're", "we'll", "we'd", "we've", "us", "ours", "ourselves"]), |
24 | | - ('second', |
| 30 | + (SECOND, |
25 | 31 | ["you", "you're", "you'll", "you'd", "you've", |
26 | 32 | "your", "yours", "yourself", "yourselves"]), |
27 | | - ('third', |
| 33 | + (THIRD, |
28 | 34 | ["he", "he's", "he'll", "he'd", "him", "his", "himself", "she", "she's", |
29 | 35 | "she'll", "she'd", "her", "hers", "herself", "it", "it's", "it'll", |
30 | 36 | "it'd", "itself", "they", "they're", "they'll", "they'd", "they've", |
|
0 commit comments