Datasets:

Languages:
English
License:

Make taxonomy identification case insensitive

#3
Files changed (1) hide show
  1. gnormplus.py +1 -1
gnormplus.py CHANGED
@@ -100,7 +100,7 @@ class GnormplusDataset(datasets.GeneratorBasedBuilder):
100
 
101
  DEFAULT_CONFIG_NAME = "gnormplus_source"
102
 
103
- _re_tax_id = re.compile(r"(?P<db_id>\d+)\(Tax:(?P<tax_id>\d+)\)")
104
 
105
  def _info(self) -> datasets.DatasetInfo:
106
  if self.config.schema == "source":
 
100
 
101
  DEFAULT_CONFIG_NAME = "gnormplus_source"
102
 
103
+ _re_tax_id = re.compile(r"(?P<db_id>\d+)\([tT]ax:(?P<tax_id>\d+)\)")
104
 
105
  def _info(self) -> datasets.DatasetInfo:
106
  if self.config.schema == "source":