qe-team / marmot

MARMOT - the open source framework for feature extraction and machine learning, designed to estimate the quality of Machine Translation output
ISC License
21 stars 7 forks source link

add feature names to feature extractors #1

Closed chrishokamp closed 9 years ago

chrishokamp commented 9 years ago

a feature extractor should be able to output a list of strings describing its features

i.e.

> feature_extractor.feature_names()
['source_token_count', 'target_token_count', ...]

this will help us to prune features and map more easily to .csv and related formats for data exchange.

chrishokamp commented 9 years ago

Adding a method to the feature_extractor base class: https://github.com/qe-team/marmot/blob/master/marmot/features/feature_extractor.py

chrishokamp commented 9 years ago

2a6bff193224b778d6015ce0b656c523b4a404bf