Error in loading configuration file


#1

Hello,
When I tried to run the following code.

config = “”"stop-words = “C:/KDD_17/hands on tutorials/MeTA_ModErn_Text_Analysis/lemur-stopwords.txt”

with open(‘C:/KDD_17/hands on tutorials/MeTA_ModErn_Text_Analysis/config.toml’, ‘w’) as f:
f.write(config)
ana = metapy.analyzers.load(‘C:/KDD_17/hands on tutorials/MeTA_ModErn_Text_Analysis/config.toml’)

Then, the following error message comes out.

RuntimeError Traceback (most recent call last)
in ()
5
6 # We can now load an analyzer from this configuration file like so:
----> 7 ana = metapy.analyzers.load(‘C:/KDD_17/hands on tutorials/MeTA_ModErn_Text_Analysis/config.toml’)

RuntimeError: missing feature id mapping: crf/feature.mapping.gz

Please help.