寻找将标准句子转换为疑问句的代码 [英] Finding a code that transforms standard sentences into interrogative sentences

查看:70
本文介绍了寻找将标准句子转换为疑问句的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建一个将标准句子转换为疑问句的代码。我想知道这些代码或类似的代码是否已经存在。

我正在寻找的代码会这样做:



EX :天空是蓝色的 - >天蓝色了吗?



我非常喜欢编程,所以欢迎任何建议和提示。

I'm trying to create a code that would transform standard sentences into interrogative sentence. I'm wondering if such code or a similar code already exists.
The code I'm looking for would do this:

EX: The sky is blue --> Is the sky blue?

I’m very novice to programming, so any suggestions and tips will be welcome.

推荐答案

你的问题的答案不仅仅是编程。它是自然语言处理(NLP)领域,是人工智能与计算机科学交叉研究的人工智能领域。简而言之,如何让机器理解人类(自然)语言。最初,它开始于硬编码的基于规则的(语法)机器学习,它需要有关语言的知识和大量的语言资源,如字典;然后转向统计方法,其中使用某种相似性度量来推断文本的含义和接近程度。

了解详情: turing-test-revisited [ ^ ]
The answer to your question lies beyond programming. It is the area of Natural Language Processing (NLP), an AI field of studies overarching intersection of linguistic with computer science. Simply put it, how to make machines understand human (natural) languages. Initially, it started with hard-coded rule-based (grammars) machine learning which requires knowledge of the language concerned and large linguistic resources such as dictionary; it then moved on to statistical approaches where some sort of similarity measures are used to infer the meaning and closeness of texts.
Read more: turing-test-revisited[^]


这篇关于寻找将标准句子转换为疑问句的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆