/Key-Value-Extraction

Key-Value Pair Extraction from Unstructured Product Descriptions

Primary LanguagePython

Key-Value Pair Extraction from Unstructured Product Descriptions

The details of the baseline model being used here can be found at https://nlp.stanford.edu/software/CRF-NER.html.
The CRF sequence model provided here is inspired from:

Jenny Rose Finkel, Trond Grenager, and Christopher Manning. 2005. Incorporating Non-local Information into Information Extraction Systems by Gibbs Sampling. Proceedings of the 43nd Annual Meeting of the Association for Computational Linguistics (ACL 2005), pp. 363-370. http://nlp.stanford.edu/~manning/papers/gibbscrf3.pdf

For training a classifier use:

java -cp stanford-ner.jar edu.stanford.nlp.ie.crf.CRFClassifier -prop austen.prop

For testing a classifier use:

java -cp stanford-ner.jar edu.stanford.nlp.ie.crf.CRFClassifier -loadClassifier ner-model.ser.gz -testFile test.tsv