rockt / ChemSpot

ChemSpot is a named entity recognition tool for identifying mentions of chemicals in natural language texts, including trivial names, drugs, abbreviations, molecular formulas and IUPAC entities. Since the different classes of relevant entities have rather different naming characteristics, ChemSpot uses a hybrid approach combining a Conditional Random Field with a dictionary. ChemSpot is released under the Common Public License 1.0.

Home Page:https://www.informatik.hu-berlin.de/forschung/gebiete/wbi/resources/chemspot/chemspot/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Loading resources from within the jar fails

rockt opened this issue · comments

It seems that some resources are not properly loaded from within the jar, i.e.,
resources/chebi/chebi_ontology_fulldepth.txt
resources/prefixes.txt
resources/phare.txt
resources/suffixes-filtered.txt

Use this.getClass().getClassLoader().getResource(PATH TO FILE) to access them.