Unstructured Text to Structured Data

前端 未结 4 1311
我寻月下人不归
我寻月下人不归 2021-02-02 03:23

I am looking for references (tutorials, books, academic literature) concerning structuring unstructured text in a manner similar to the google calendar quick add button.

相关标签:
4条回答
  • 2021-02-02 03:45

    After some researching I have found that this problem is commonly referred to as Information Extraction and have amassed a few papers and stored them in a Mendeley Collection

    http://www.mendeley.com/research-papers/collections/3237331/Information-Extraction/

    Also as Tai Weiss noted NLTK for python is a good starting point and this chapter of the book, looks specifically at information extraction

    0 讨论(0)
  • 2021-02-02 03:47

    You need to provide more information about the source of the text (the web? user input?), the domain (is it just clothes?), the potential formatting and vocabulary...

    Assuming worst case scenario you need to start learning NLP. A very good free book is the documentation of NLTK: http://www.nltk.org/book . It is also a very good introduction to Python and the SW is free (for various usages). Be warned: NLP is hard. It doesn't always work. It is not fun at times. The state of the art is no where near where you imagine it is.

    Assuming a better scenario (your text is semi-structured) - a good free tool is pyparsing. There is a book, plenty of examples and the resulting code is extremely attractive.

    I hope this helps...

    0 讨论(0)
  • 2021-02-02 03:50

    If you are only working for cases like the example you cited, you are better off using some manual rule-based that is 100% predictable and covers 90% of the cases it might encounter production..

    You could enumerable lists of all possible brands and categories and detect which is which in an input string cos there's usually very little intersection in these two lists..

    The other two could easily be detected and extracted using regular expressions. (1-3 digit numbers are always sizes, etc)

    Your problem domain doesn't seem big enough to warrant a more heavy duty approach such as statistical learning.

    0 讨论(0)
  • 2021-02-02 04:04

    Possibly look at "Collective Intelligence" by Toby Segaran. I seem to remember that addressing the basics of this in one chapter.

    0 讨论(0)
提交回复
热议问题