简体   繁体   中英

Is it possible using NLP? Natural Language processing

I have a set of Project Names, a set of keywords and a set of paragraphs.

Now my task is, to check whether keywords match any project names , and keywords match any word in any paragraph.

If any set of paragraphs are matched with a keyword and any project matched with same keyword, then I have to assign these paragraphs to that project.

I have been using String Regex for this. But can this be implemented using Natural Language Processing concepts.

If yes... Please let me know how can it be implemented. It would be very helpful for me.

Thanks in advance.

There's no NLP involved in this as such.
No matter what you do, you must have to go through all the projects and all the paragraphs at least once.
Yes, you can optimize your process by using hashmaps or dictionaries but at the end of the day, you will be searching and matching strings no matter what.

您可以使用dictionaries来完成此操作,因为借助dictionaries可以轻松进行映射,并且正则表达式也将起作用。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM