I made these rules up to match spacy subjects.
and also to match subjects that have a regular sentence followed bya large
space and then a nonsense word.

Commets,questions, improvements?

#lucas albers
header SPACY_SUBJECT1           Subject =~ /  /i
describe SPACY_SUBJECT1         Subject: Has 2 spaces in subject
score SPACY_SUBJECT1            .1
header SPACY_SUBJECT2           Subject =~ /\t/i
describe SPACY_SUBJECT2         Subject: Has tab in subject
score SPACY_SUBJECT2            .1

header SPACY_SUBJECT3          Subject =~ /\s{3,}\S+$/i
describe SPACY_SUBJECT         Subject: has multiple space and garbage
word at subject end
score SPACY_SUBJECT3            .1



-- 
Luke Computer Science System Administrator
Security Administrator,College of Engineering
Montana State University-Bozeman,Montana

Reply via email to