[Python] Keyword/phrase extraction from free text using NLTK and Python for structured queries

Discussão em 'Python' iniciado por Stack, Dezembro 8, 2024.

  1. Stack

    Stack Membro Participativo

    I want to interpret specific keywords from a free text such as "I want to order boiled eggs and spinach soup from nearest restaurants' and use them to search content from my database. For e.g i want to extract following specific keyword(s) and want an output similar to following like a tuple of (Keyword type , Keyword value). e.g ('Food Item','Boiled Eggs') , ('Food Item','Spinach Soup') , ('Location','Nearest Restaurants') etc.

    Need to use these values and types to further refine and to query my tables in database.

    I was trying hard to find answer using various techniques using python and NLTK but need help to point me to right direction. Am i using the right techniques / frameworks?

    Continue reading...

Compartilhe esta Página