summaryrefslogtreecommitdiff
path: root/brandrules.txt
diff options
context:
space:
mode:
authorMaurice Laveaux <m.laveaux@student.tue.nl>2014-05-19 11:11:22 +0200
committerMaurice Laveaux <m.laveaux@student.tue.nl>2014-05-19 11:11:22 +0200
commit058ef3d39029da492477c3c59f1e405193ca3013 (patch)
treeb12d095895b5fd09b98b3d18cd66251a550d5d72 /brandrules.txt
parentb91387ded4d27fd92f76df61d08896a0317fb4b1 (diff)
downloadGoldfarmer-058ef3d39029da492477c3c59f1e405193ca3013.tar.gz
Updated the brandchecker code and rules.
* Changed the brandrules.txt ruleset to conform the new parsing of rules. * Brandchecker now doesn't count multiple equal words. * Updated the testcases, which don't work for others.
Diffstat (limited to 'brandrules.txt')
-rwxr-xr-xbrandrules.txt102
1 files changed, 53 insertions, 49 deletions
diff --git a/brandrules.txt b/brandrules.txt
index ae7d6f9..f89cddd 100755
--- a/brandrules.txt
+++ b/brandrules.txt
@@ -1,54 +1,58 @@
-galaxy s5 - tablet tab
-galaxy s4 - tablet tab
-galaxy s3
-galaxy K zoom
-galaxy note
-samsung note
-samsung zoom
+galaxy - galaxy - s5,s4,s3,zoom,note
+galaxy s5 - galaxy,s5
+galaxy s4 - galaxy,s4
+galaxy s3 - galaxy,s3
+galaxy K-Zoom - galaxy,k,zoom
+galaxy note - galaxy,note
-iphone 5
-iphone 5c
-iphone 5s
-iphone 4
-iphone 4s
+iphone - iphone - 4,4s,5,5s,5c
+iphone 4 - iphone,4
+iphone 4s - iphone,4s
+iphone 5 - iphone,5
+iphone 5s - iphone,5s
+iphone 5c - iphone,5c
-huawei ascend
-huawei p6
-huawei p7
-huawei mini
-huawei y300
-huawei y530
-huawei mate
-huawei g700
-huawei g510
-huawei g6
-huawei g525
+huawei - huawei - ascend,p6,p7,mini,y300,y530,mate,g700,g510,g6,g525
+huawei ascend - huawei,ascend
+huawei p6 - huawei,p6
+huawei p7 - huawei,p7
+huawei mini - huawei,mini
+huawei y300 - huawei,y300
+huawei y530 - huawei,y530
+huawei mate - huawei,mate
+huawei g700 - huawei,g700
+huawei g510 - huawei,g510
+huawei g6 - huawei,g6
+huawei g525 - huawei,g525
-sony xperia
-sony L
-sony E1
-sony Z
-sony Z1
-sony Z2
-sony compact
-sony ZR
-sony M
+sony - sony - xperia,L,E1,Z,Z1,Z2,compact,ZR,M
+sony xperia - sony,xperia
+sony L - sony,L
+sony E1 - sony,E1
+sony Z - sony,Z
+sony Z1 - sony,Z1
+sony Z2 - sony,Z2
+sony compact - sony,compact
+sony ZR - sony,ZR
+sony M - sony,M
-HTC one - phone
-HTC M8
-HTC mini
-HTC desire
-HTC X dual
-HTC SV
+HTC - htc - one,m8,mini,desire,dual,x,sv
+HTC one - htc,one
+HTC M8 - htc,m8
+HTC mini - htc,mini
+HTC desire - htc,desire
+HTC X dual - htc,x,dual
+HTC SV - htc,sv
-LG Nexus 5
-LG G2
-LG L70
-LG L90
-LG L40
-LG G flex
-LG mini
-LG L9
-LG L7
-LG L5
-LG L3
+LG - lg - nexus,g2,l70,l90,flex,mini,l9,l7,l5,l3
+LG Nexus 5 - nexus,5
+LG G2 - lg,g2
+LG L70 - lg,l70
+LG L90 - lg,l90
+LG L40 - lg,l40
+LG G flex - lg,g,flex
+LG mini - lg,mini
+LG L9 - lg,l9
+LG L7 - lg,l7
+LG L5 - lg,l5
+LG L3 - lg,l3