什么是需要的NLP?NLP

2023-09-11 04:26:39 作者:煙熏妝丶偽裝

假设我什么都不知道的一切,而我开始编程今天你怎么说,有必要对我来说,学习,以开始与自然语言处理工作?

assuming that I know nothing about everything and that I'm starting in programming TODAY what do you say would be necessary for me to learn in order to start working with Natural Language Processing?

我一直挣扎着一些字符串分析方法,但到目前为止它只是讨厌我,让我产生难看code。我正在寻找关于如何创建一个记住牛奶API要分析用户的输入,以提供未基于字段,但在简单的在线快速的数据输入的输入表单一些新鲜的新思路短语代替。

I've been struggling with some string parsing methods but so far it is just annoying me and making me create ugly code. I'm looking for some fresh new ideas on how to create a Remember The Milk API like to parse user's input in order to provide an input form for fast data entry that are not based on fields but in simple one line phrases instead.

修改:RTM是待办事项列表系统。因此,为了进入你不需要在每一个字段中键入内容来填充值(任务名称,到期日期,地点等)的任务。你可以简单地输入这样的短语牙医约好星期一2PM在WhateverPlace,它会分析它,并填写所有字段你。

EDIT: RTM is todo list system. So in order to enter a task you don't need to type in each field to fill values (task name, due date, location, etc). You can simply type in a phrase like "Dentist appointment monday at 2PM in WhateverPlace" and it will parse it and fill all fields for you.

我没有任何一种技术的限制,因为这将是一个个人项目,但我更熟悉的.NET世界中。其实,我不知道这是语言的问题,但如果有必要,我更愿意去学习一门新语言来做到这一点。

I don't have any kind of technical constraints since it's going to be a personal project but I'm more familiar with .NET world. Actually, I'm not sure this is a matter of language but if it's necessary I'm more than willing to learn a new language to do it.

我的项目是关系到个人财务这样的短语是更喜欢咖啡昨晚花10USD和我的女朋友,这将填补位置,为$$$,标签和其他的东西量。

My project is related to personal finances so the phrases are more like "Spent 10USD on Coffee last night with my girlfriend" and it would fill location, amount of $$$, tags and other stuff.

非常感谢任何种类的方向,你可以给我!

Thanks a lot for any kind of directions that you might give me!

推荐答案

看一看NLTK,其初级程序员感兴趣的NLP一个很好的资源。 http://www.nltk.org/ 它是用Python编写的这是更简单的编程语言之一。

Have a look at NLTK, its a good resource for beginner programmers interested in NLP. http://www.nltk.org/ It is written in python which is one of the easier programming languages.

现在,我明白你的问题,这里是我的解决方案:

Now that I understand your problem, here is my solution:

您可以开发出一种受限制的词汇,所有款项必须结束难熬$标志或任何时间必须在形式上的00:00和/或带AM / PM结束,有关检测项目,您可以使用列表从本体论的对象,如开放式天幕。开放式天幕可以为您提供所有的对象,啤酒,咖啡,面包和牛奶等,这将帮助您检测的短语对象的列表。不过这将是一个非常模糊的做法。

You can develop a kind of restricted vocabulary, in which all amounts must end witha $ sign or any time must be in form of 00:00 and/or end with AM/PM, regarding detecting items, you can use list of objects from ontology such as Open Cyc. Open Cyc can provide you with list of all objects such beer, coffee, bread and milk etc. this will help you to detect objects in the short phrase. Still it would be a very fuzzy approach.

 
精彩推荐
图片推荐