diff options
author | dmg <dmg@uvic.ca> | 2011-02-03 16:01:07 +0900 |
---|---|---|
committer | dmg <dmg@uvic.ca> | 2011-02-03 16:01:07 +0900 |
commit | e78b5422fb36628a196ba1b0e62de8957817a6ca (patch) | |
tree | f3cd8926b6d1fdef43ddec170388f79e2eecb722 | |
parent | 0028f6af59306bd72003dd8029419aacd73195c7 (diff) | |
download | ninka-e78b5422fb36628a196ba1b0e62de8957817a6ca.tar.gz |
Fixed a minor bug and reduced false positives in filter
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | filter/Makefile | 2 | ||||
-rwxr-xr-x | filter/criticalword.dict | 7 | ||||
-rwxr-xr-x | matcher/rules.dict | 2 |
4 files changed, 14 insertions, 4 deletions
@@ -1,3 +1,10 @@ +2011-02-03 <dmg@uvic.ca> + + * matcher/rules.dict: Fixed a bug in the sunRPM license. It wasn't detected. + + * filter/criticalword.dict: strenghten some rules to avoid some + false positives in good sentences. + 2011-01-28 <dmg@uvic.ca> * senttok/senttok.pl (Normalize_GPL): Fixed a bug in the parsing diff --git a/filter/Makefile b/filter/Makefile index c285c93..eb1ffea 100644 --- a/filter/Makefile +++ b/filter/Makefile @@ -1,4 +1,4 @@ default: cp ../senttok/licensesentence.dict /tmp/test.sentences ./filter.pl /tmp/test.sentences - diff /dev/null /tmp/test.badsent + diff -w -B /dev/null /tmp/test.badsent diff --git a/filter/criticalword.dict b/filter/criticalword.dict index 08e0c3e..a2228bf 100755 --- a/filter/criticalword.dict +++ b/filter/criticalword.dict @@ -8,7 +8,7 @@ # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License @@ -100,7 +100,9 @@ use this software restriction all rights royalty -see the +, see the revision +, see the included +see the copyright.txt for details all intellectual property rights sale @@ -125,3 +127,4 @@ to permit this exception suitability computer program whose purpose disclaims copyright +software is covered diff --git a/matcher/rules.dict b/matcher/rules.dict index d87bbb4..b06a4fe 100755 --- a/matcher/rules.dict +++ b/matcher/rules.dict @@ -224,7 +224,7 @@ CPLv0.5:CPLv0.5 #------- -sunRPC:sunRPCLic1,sunRPCLic2sunRCPnoWarranty,sunRCPnoSupport +sunRPC:sunRPCLic1,sunRPCLic2,sunRCPnoWarranty,sunRCPnoSupport #------------- # This is created by senttok |