Skip to content

Commit dd5de6e

Browse files
committed
Do not detect some words as NNP
This makes copyright detection more specific Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent 00a9abc commit dd5de6e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/cluecode/copyrights.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1278,6 +1278,17 @@ def build_detection_from_node(
12781278
(r'^Convert$', 'NN'),
12791279
(r'^Compute$', 'NN'),
12801280
(r'^Case$', 'NN'),
1281+
(r'^Hessian$', 'NN'),
1282+
(r'^Include', 'NN'),
1283+
(r'^Downstream', 'NN'),
1284+
(r'^Distributions?', 'NN'),
1285+
(r'^Volumes?', 'NN'),
1286+
(r'^Manuals?.?', 'NN'),
1287+
(r'^Update.?', 'NN'),
1288+
(r'^[Ff]ormatting.?', 'JUNK'),
1289+
(r'^Lexers?.?', 'NN'),
1290+
(r'^Symbols?.?', 'NN'),
1291+
(r'^Tokens?.?', 'NN'),
12811292

12821293
(r'^END$', 'NN'),
12831294
(r'^Entity$', 'NN'),

0 commit comments

Comments
 (0)