Skip to content

Commit 0a5d579

Browse files
committed
Do not tag all words starting with Are as NN
This creates problem in copyright detction otherwise if a name starts with Are. Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent 4280d4a commit 0a5d579

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cluecode/copyrights.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -787,8 +787,8 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False):
787787

788788
(r'^Activation\.?$', 'NN'),
789789
(r'^Act[\.,]?$', 'NN'),
790-
(r'^Added', 'NN'),
791-
(r'^Are', 'NN'),
790+
(r'^Added$', 'NN'),
791+
(r'^Are$', 'NN'),
792792
(r'^Additional$', 'NN'),
793793
(r'^AGPL.?$', 'NN'),
794794
(r'^Agreements?\.?$', 'NN'),

0 commit comments

Comments
 (0)