Skip to content

BlackBugz/nlpEx5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 

Repository files navigation

nlpEx5

First Result:

 Pos-Tag	precision	recall	F-measure
 I-MISC	0.7947178871548619	0.7282728272827282	0.7600459242250287
 B-LOC	0.0	0.0	0.0
 I-PER	0.84688995215311	0.8945848375451263	0.8700842696629214
 I-LOC	0.8509280742459396	0.7664576802507836	0.8064870808136338
 B-MISC	0.0	0.0	0.0
 I-ORG	0.6677442528735632	0.7474869320466425	0.7053690001897173
 B-ORG	0.0	0.0	0.0
 O	0.9858478249516947	0.9815676589106981	0.9837030861222203
 Accuracy: 	0.9496832384838398
 Precision:	0.5182659989223962
 Recall:   	0.5147962420044974
 F-Measure:	0.5157111701266902

Second Result: (added ContainsHyphenFeatureFunction, checks if in the token there is a hypen)

 Pos-Tag   precision recall    F-measure
 B-LOC     0.0  0.0  0.0
 I-LOC     0.8524781341107872  0.7638453500522466  0.8057316065031689
 B-MISC    0.0  0.0  0.0
 I-ORG     0.667262969588551   0.7498994772818657  0.706171904581598
 O    0.9861804122364743  0.9814116729494345  0.9837902637339727
 B-ORG     0.0  0.0  0.0
 I-MISC    0.7847058823529411  0.7337733773377337  0.7583854462762933
 I-PER     0.8458646616541353  0.8935018050541517  0.8690308988764045
 Accuracy:      0.9496188124127564
 Precision:     0.5170615074928612
 Recall:        0.515303960334429
 F-Measure:     0.5153887649964297
 Time: 213123ms

Third Result: (added Ngram in ContextTextExtracto, it consides the current word, the previous and the following)

 Pos-Tag   precision recall    F-measure
 B-LOC     0.0  0.0  0.0
 I-LOC     0.8510762070971495  0.764367816091954   0.8053949903660886
 B-MISC    0.0  0.0  0.0
 I-ORG     0.6597421203438395  0.7406513872135102  0.6978594430763402
 O    0.9856148977350002  0.9796958273755362  0.9826464491062464
 B-ORG     0.0  0.0  0.0
 I-MISC    0.7964497041420119  0.7403740374037404  0.7673888255416191
 I-PER     0.8373109243697479  0.8992779783393502  0.8671888598781549
 Accuracy:      0.9482014388489208
 Precision:     0.5162742317109685
 Recall:        0.5155458808030114
 F-Measure:     0.5150598209960561
 Time: 579515ms

Trained with eng.list and without ngrams

 Pos-Tag   precision recall    F-measure
 B-LOC     0.0  0.0  0.0
 I-LOC     0.45714285714285713 0.008359456635318705     0.016418676244227808
 B-MISC    0.0  0.0  0.0
 I-ORG     0.1066943322048706  0.39284278246883797 0.16781174854002062
 O    0.0  0.0  0.0
 B-ORG     0.0  0.0  0.0
 I-PER     0.3409090909090909  0.016245487364620937     0.031013094417643
 I-MISC    0.021293735399156844     0.8723872387238724  0.04157273918741809
 Accuracy:      0.039321378717921185
 Precision:     0.11575500195699694
 Recall:        0.16122937064908124
 F-Measure:     0.03210203229866369
 Time: 64945ms

Trained with eng.list and with ngrams

 Pos-Tag   precision recall    F-measure
 B-LOC     0.0  0.0  0.0
 I-LOC     0.45161290322580644 0.0073145245559038665    0.014395886889460155
 B-MISC    0.0  0.0  0.0
 I-ORG     0.10154589371980677 0.42259750703659027 0.16374542338552622
 O    0.0  0.0  0.0
 B-ORG     0.0  0.0  0.0
 I-PER     0.32608695652173914 0.016245487364620937     0.030949105914718014
 I-MISC    0.02161127448260556 0.856985698569857   0.04215938303341902
 Accuracy:      0.040566949425534196
 Precision:     0.11260712849374474
 Recall:        0.1628929021908715
 F-Measure:     0.031406224902890426
 Time: 82490ms

Trained with eng.list and without context

 Pos-Tag   precision recall    F-measure
 B-LOC     0.0  0.0  0.0
 I-LOC     0.3870967741935484  0.006269592476489028     0.012339331619537276
 B-MISC    0.0  0.0  0.0
 I-ORG     0.14044213263979194 0.17370325693606756 0.15531188207801547
 O    0.0  0.0  0.0
 B-ORG     0.0  0.0  0.0
 I-PER     0.32830882352941176 0.3223826714801444  0.32531876138433513
 I-MISC    0.020619568952820463     0.9240924092409241  0.040339040026892696
 Accuracy:      0.046751852249543646
 Precision:     0.10955841241444657
 Recall:        0.17830599126670313
 F-Measure:     0.06666362688859757
 Time: 53022ms

Fourth result (used pattern recognition in standard pos)

 Pos-Tag   precision recall    F-measure
 B-LOC     0.0  0.0  0.0
 I-LOC     0.8314606741573034  0.6959247648902821  0.757679180887372
 B-MISC    0.0  0.0  0.0
 I-ORG     0.588495575221239   0.6417370325693607  0.6139642238892095
 O    0.9808130251550925  0.9741323280904719  0.9774612615432776
 B-ORG     0.0  0.0  0.0
 I-MISC    0.6812080536912751  0.66996699669967    0.6755407653910149
 I-PER     0.7228915662650602  0.8231046931407943  0.7697501688048616
 Accuracy:      0.9296037796628369
 Precision:     0.4756086118112463
 Recall:        0.4756082269238224
 F-Measure:     0.47429945006446694
 Time: 136896ms

5th without ngrams and hypen

 Pos-Tag   precision recall    F-measure
 B-LOC     0.0  0.0  0.0
 I-LOC     0.8314606741573034  0.6959247648902821  0.757679180887372
 B-MISC    0.0  0.0  0.0
 I-ORG     0.588495575221239   0.6417370325693607  0.6139642238892095
 O    0.9808130251550925  0.9741323280904719  0.9774612615432776
 B-ORG     0.0  0.0  0.0
 I-MISC    0.6812080536912751  0.66996699669967    0.6755407653910149
 I-PER     0.7228915662650602  0.8231046931407943  0.7697501688048616
 Accuracy:      0.9296037796628369
 Precision:     0.4756086118112463
 Recall:        0.4756082269238224
 F-Measure:     0.47429945006446694
 Time: 129782ms

6th without ngrams but with hypens hypen

 Pos-Tag   precision recall    F-measure
 B-LOC     0.0  0.0  0.0
 I-LOC     0.8314606741573034  0.6959247648902821  0.757679180887372
 B-MISC    0.0  0.0  0.0
 I-ORG     0.588495575221239   0.6417370325693607  0.6139642238892095
 O    0.9808130251550925  0.9741323280904719  0.9774612615432776
 B-ORG     0.0  0.0  0.0
 I-MISC    0.6812080536912751  0.66996699669967    0.6755407653910149
 I-PER     0.7228915662650602  0.8231046931407943  0.7697501688048616
 Accuracy:      0.9296037796628369
 Precision:     0.4756086118112463
 Recall:        0.4756082269238224
 F-Measure:     0.47429945006446694
 Time: 129893ms

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages