SPOClab-ca / COVFEFE

COre Variable Feature Extraction Feature Extractor
Apache License 2.0
30 stars 10 forks source link

Fix bug that causes lex default.conf to throw an error #12

Closed lucky-bai closed 5 years ago

lucky-bai commented 5 years ago

The default.conf file has more than 4 lines, so this line causes it to error.

daniyall commented 5 years ago

Thanks for the fix. One consequence of this is that previously, due to the error it would default to extracting all available features. Now, it only extracts a small subset of them. To maintain the old behaviour, we should change default.conf to

all # Lexical features go on the first line. Everything after the '#' is ignored.
all # Pragmatic features go on the second line
all # Semantic features on the third line. If you write 'all', then all semantic features will be extracted.
all # Syntactic features on the fourth line. If you write nothing, then no syntactic features will be extracted.

# Extra lines are ignored.
# Possible values:
# Lexical features: wordnet, cosine_distance, fillers, vocab_richness, mpqa, readability, stanford_sentiment, pos_counts, pos_ratios, freq_norms, image_norms, anew_norms, warringer_norms, density
# Pragmatic features: lda, rst
# Semantic features: wordnet
# Syntactic features: lu_complexity, parsetrees
lucky-bai commented 5 years ago

Ok, done. I'm still having trouble running the pipeline for some of the features though -- not sure if it's a configuration problem.