Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.8.0
-
None
Description
GeneratorFactory.extractArtifactSerializerMappings does not support Dictionaries.
E.g.
feature.xml
<generators>
<cache>
<generators>
...
<dictionary dict="locations.dict"/>
</generators>
</cache>
</generators>
running opennlp TokenNameFinderTrainer.brat
-resources /my/resources
-featuregen feature.xml
results in:
FeatureGeneratorCreationError: opennlp.tools.util.InvalidFormatException: No dictionary resource for key: locations.dict
Even though the file is present in the resources folder.
Attachments
Issue Links
- links to