joelniklaus commited on
Commit
c421b95
1 Parent(s): c225ea1

made fine grained labels upper case as well because of problems with seqeval otherwise

Browse files
Files changed (1) hide show
  1. lextreme.py +45 -45
lextreme.py CHANGED
@@ -3950,51 +3950,51 @@ _MAPA_FINE = {
3950
  **_MAPA_COARSE,
3951
  "label_col": "fine_grained",
3952
  "label_classes": [
3953
- 'o',
3954
- 'b-day',
3955
- 'i-day',
3956
- 'b-month',
3957
- 'i-month',
3958
- 'b-year',
3959
- 'i-year',
3960
- 'b-title',
3961
- 'i-title',
3962
- 'b-family name',
3963
- 'i-family name',
3964
- 'b-initial name',
3965
- 'i-initial name',
3966
- 'b-age',
3967
- 'i-age',
3968
- 'b-value',
3969
- 'i-value',
3970
- 'b-unit',
3971
- 'i-unit',
3972
- 'b-country',
3973
- 'i-country',
3974
- 'b-city',
3975
- 'i-city',
3976
- 'b-place',
3977
- 'i-place',
3978
- 'b-territory',
3979
- 'i-territory',
3980
- 'b-role',
3981
- 'i-role',
3982
- 'b-profession',
3983
- 'i-profession',
3984
- 'b-marital status',
3985
- 'i-marital status',
3986
- 'b-url',
3987
- 'i-url',
3988
- 'b-ethnic category',
3989
- 'i-ethnic category',
3990
- 'b-standard abbreviation',
3991
- 'i-standard abbreviation',
3992
- 'b-type',
3993
- 'i-type',
3994
- 'b-building',
3995
- 'i-building',
3996
- 'b-nationality',
3997
- 'i-nationality',
3998
  ],
3999
  }
4000
 
 
3950
  **_MAPA_COARSE,
3951
  "label_col": "fine_grained",
3952
  "label_classes": [
3953
+ 'O',
3954
+ 'B-BUILDING',
3955
+ 'I-BUILDING',
3956
+ 'B-CITY',
3957
+ 'I-CITY',
3958
+ 'B-COUNTRY',
3959
+ 'I-COUNTRY',
3960
+ 'B-PLACE',
3961
+ 'I-PLACE',
3962
+ 'B-TERRITORY',
3963
+ 'I-TERRITORY',
3964
+ 'I-UNIT',
3965
+ 'B-UNIT',
3966
+ 'B-VALUE',
3967
+ 'I-VALUE',
3968
+ 'B-YEAR',
3969
+ 'I-YEAR',
3970
+ 'B-STANDARD ABBREVIATION',
3971
+ 'I-STANDARD ABBREVIATION',
3972
+ 'B-MONTH',
3973
+ 'I-MONTH',
3974
+ 'B-DAY',
3975
+ 'I-DAY',
3976
+ 'B-AGE',
3977
+ 'I-AGE',
3978
+ 'B-ETHNIC CATEGORY',
3979
+ 'I-ETHNIC CATEGORY',
3980
+ 'B-FAMILY NAME',
3981
+ 'I-FAMILY NAME',
3982
+ 'B-INITIAL NAME',
3983
+ 'I-INITIAL NAME',
3984
+ 'B-MARITAL STATUS',
3985
+ 'I-MARITAL STATUS',
3986
+ 'B-PROFESSION',
3987
+ 'I-PROFESSION',
3988
+ 'B-ROLE',
3989
+ 'I-ROLE',
3990
+ 'B-NATIONALITY',
3991
+ 'I-NATIONALITY',
3992
+ 'B-TITLE',
3993
+ 'I-TITLE',
3994
+ 'B-URL',
3995
+ 'I-URL',
3996
+ 'B-TYPE',
3997
+ 'I-TYPE',
3998
  ],
3999
  }
4000