javascript - 刚刚看了篇文章,计算机识别语义怎么做到的?
文章如下
Free robot lawyer created by 19-year-old programmer is saving people a lot of money in legal fees
英国19岁程序员发明世界上第一个律师机器人
British programmer Joshua Browder is helping people save a lot of money on legal fees with his latest project – the world’s first robot lawyer. The 19-year-old developed a free service that allows users to ask any kind of legal question and receive relevant answers autogenerated by bots.
英国程序员约书亚•布劳德只有19岁,他的新项目——世界上第一个律师机器人,能帮人们省下不少法律费用。用户询问的任何法律问题,机器人程序都可以自动生成相关答案,而且此项服务是免费的。
Browder first started the project last summer as a free website to help people appeal unfair parking tickets. He came up with the idea after getting a series of tickets himself for “trivial reasons”. Having wasted several hours on writing appeals to these tickets, he realised that many people do not have the time, legal knowledge or even the energy to appeal. So he decided to create an automatic appeal generator, using previously successful letters as a template. He aptly named the service DoNotPay, given that the legal fees involved in challenging tickets could mount up to sizable amounts between $400 to $900.
这个项目去年夏天刚开始启动,当时布劳德只是想做一个免费网站,帮助人们对不公平的停车罚单进行上诉。他萌生出这个想法是因为他自己就因“无关紧要的原因”被开了一连串的罚单。在浪费了几个小时写上诉书后,他意识到很多人并没有时间、法律知识、甚至精力对这些罚单进行上诉。所以他决定做一个自动申诉生成器,以之前成功的申诉书为模板。鉴于对罚单进行上诉的法律费用可以达到400至900美元之多,他恰当地给这项服务命名为“不要付钱”。
DoNotPay was a huge success, and the tech genius has now gone a step further with the website, converting it into a full fledged robo lawyer equipped to help with a range of legal issues. “I realised that the best way to help people would be to create a computer program that could talk to users, generate appeals, and answer questions like a human,” he told Mashable. “The robot can currently handle parking ticket appeals, payment protection insurance (PPI) claims and delayed flights/trains. It can also answer some general legal questions like ‘I can’t afford my ticket. What do I do?’”
“不要付钱”取得了巨大的成功,这个科技天才在网站的基础上又向前迈出了一步,把网站转化成一个受过充分训练的机器人律师,可以帮助人们解决许多法律问题。他对新闻网站Mashable说:“我意识到帮助人们的最好方式就是创造一个电脑程序,这个程序可以与人对话、生成上诉书、回答问题,就像人一样。目前,这个机器人可以处理停车罚单上诉问题、支付保护保险(PPI)索赔问题和飞机、火车延误问题。它还可以解答一些基本的法律问题,比如‘我付不起罚单,该怎么办?’”
“I am ultimately looking to give it as much functionality as possible in the spirit of trying to replace the large group of exploitative lawyers,” he added. To use the service, users need to go to the website donotpay.co.uk and sign up for free. Once signed in, the robot will ask the user a series of questions about their situation. When it has collected enough information, and if the person has legal grounds for an appeal, the robot will then generate a letter for the person to use.
他还说:“秉着设法避免被大批律师剥削的精神,我总是尽可能地给它多添加功能”。使用这项服务,用户需要到网站donotpay.co.uk免费注册。注册成功后,机器人会向他们询问一系列有关自身情况的问题。收集到足够信息后,如果用户的申诉有法律依据,机器人就会生成上诉书。
Browder told Mashable that he received good advice from his professors at Stanford University, where he is currently a freshman. “Initially, I thought the best way to go about it was to create lots of individual rules for it to follow,” he explained. “However, I quickly failed with this approach because there are thousands of ways to say the same thing and it would be impossible to catch every one. The breakthrough came when I learned how to create a way for the robot to learn and compare phrases itself, so that it doesn’t matter how the user phrases his or her requests.”
现在布劳德在斯坦福大学读大一,他告诉Mashable说教授给了他很好的建议。他解释说:“一开始,我认为做这个程序最好的方法就是设定许多规则让它遵守。但是,很快我就放弃了这个方法,因为表达同一件事有几千种方式,我不可能为每种方式都设定规则。当我学会如何让机器人自身去学习和分辨措辞时,这才有了突破。这样一来用户提问的方式就不成问题了。”
So he programmed the robot to use text comparison that includes keywords, word order and pronouns. And the more that people use the robot, the better the algorithm gets. But there are situations where the robot can’t help, there’s a response ready for that too. “If the robot can’t answer, it provides generic and helpful message offering the user some sample phrases or the option of contacting me directly,” Browder said. “On the backend, whenever the robot can’t answer, I get notified and I work as quickly as possible to add functionality for any future requests of a similar nature.”
因此他给机器人装上了文本对比程序,包括对比关键词、词序和代词。并且使用机器人的用户越多,这套算法就越完善。但是总会有机器人无法解答的问题,对此他也有对策。布劳德说:“如果机器人不能回答某个问题,他就会给用户提供一些通用的、有用的信息,比如一些样本措辞,或者选择直接与我联系。在后台,一旦机器人遇到不会回答的问题,我都会得到通知,然后我就会尽快为它补充相关功能,这样以后遇到类似问题它就可以解决了。”
回复内容:
文章如下
Free robot lawyer created by 19-year-old programmer is saving people a lot of money in legal fees
英国19岁程序员发明世界上第一个律师机器人
British programmer Joshua Browder is helping people save a lot of money on legal fees with his latest project – the world’s first robot lawyer. The 19-year-old developed a free service that allows users to ask any kind of legal question and receive relevant answers autogenerated by bots.
英国程序员约书亚•布劳德只有19岁,他的新项目——世界上第一个律师机器人,能帮人们省下不少法律费用。用户询问的任何法律问题,机器人程序都可以自动生成相关答案,而且此项服务是免费的。
Browder first started the project last summer as a free website to help people appeal unfair parking tickets. He came up with the idea after getting a series of tickets himself for “trivial reasons”. Having wasted several hours on writing appeals to these tickets, he realised that many people do not have the time, legal knowledge or even the energy to appeal. So he decided to create an automatic appeal generator, using previously successful letters as a template. He aptly named the service DoNotPay, given that the legal fees involved in challenging tickets could mount up to sizable amounts between $400 to $900.
这个项目去年夏天刚开始启动,当时布劳德只是想做一个免费网站,帮助人们对不公平的停车罚单进行上诉。他萌生出这个想法是因为他自己就因“无关紧要的原因”被开了一连串的罚单。在浪费了几个小时写上诉书后,他意识到很多人并没有时间、法律知识、甚至精力对这些罚单进行上诉。所以他决定做一个自动申诉生成器,以之前成功的申诉书为模板。鉴于对罚单进行上诉的法律费用可以达到400至900美元之多,他恰当地给这项服务命名为“不要付钱”。
DoNotPay was a huge success, and the tech genius has now gone a step further with the website, converting it into a full fledged robo lawyer equipped to help with a range of legal issues. “I realised that the best way to help people would be to create a computer program that could talk to users, generate appeals, and answer questions like a human,” he told Mashable. “The robot can currently handle parking ticket appeals, payment protection insurance (PPI) claims and delayed flights/trains. It can also answer some general legal questions like ‘I can’t afford my ticket. What do I do?’”
“不要付钱”取得了巨大的成功,这个科技天才在网站的基础上又向前迈出了一步,把网站转化成一个受过充分训练的机器人律师,可以帮助人们解决许多法律问题。他对新闻网站Mashable说:“我意识到帮助人们的最好方式就是创造一个电脑程序,这个程序可以与人对话、生成上诉书、回答问题,就像人一样。目前,这个机器人可以处理停车罚单上诉问题、支付保护保险(PPI)索赔问题和飞机、火车延误问题。它还可以解答一些基本的法律问题,比如‘我付不起罚单,该怎么办?’”
“I am ultimately looking to give it as much functionality as possible in the spirit of trying to replace the large group of exploitative lawyers,” he added. To use the service, users need to go to the website donotpay.co.uk and sign up for free. Once signed in, the robot will ask the user a series of questions about their situation. When it has collected enough information, and if the person has legal grounds for an appeal, the robot will then generate a letter for the person to use.
他还说:“秉着设法避免被大批律师剥削的精神,我总是尽可能地给它多添加功能”。使用这项服务,用户需要到网站donotpay.co.uk免费注册。注册成功后,机器人会向他们询问一系列有关自身情况的问题。收集到足够信息后,如果用户的申诉有法律依据,机器人就会生成上诉书。
Browder told Mashable that he received good advice from his professors at Stanford University, where he is currently a freshman. “Initially, I thought the best way to go about it was to create lots of individual rules for it to follow,” he explained. “However, I quickly failed with this approach because there are thousands of ways to say the same thing and it would be impossible to catch every one. The breakthrough came when I learned how to create a way for the robot to learn and compare phrases itself, so that it doesn’t matter how the user phrases his or her requests.”
现在布劳德在斯坦福大学读大一,他告诉Mashable说教授给了他很好的建议。他解释说:“一开始,我认为做这个程序最好的方法就是设定许多规则让它遵守。但是,很快我就放弃了这个方法,因为表达同一件事有几千种方式,我不可能为每种方式都设定规则。当我学会如何让机器人自身去学习和分辨措辞时,这才有了突破。这样一来用户提问的方式就不成问题了。”
So he programmed the robot to use text comparison that includes keywords, word order and pronouns. And the more that people use the robot, the better the algorithm gets. But there are situations where the robot can’t help, there’s a response ready for that too. “If the robot can’t answer, it provides generic and helpful message offering the user some sample phrases or the option of contacting me directly,” Browder said. “On the backend, whenever the robot can’t answer, I get notified and I work as quickly as possible to add functionality for any future requests of a similar nature.”
因此他给机器人装上了文本对比程序,包括对比关键词、词序和代词。并且使用机器人的用户越多,这套算法就越完善。但是总会有机器人无法解答的问题,对此他也有对策。布劳德说:“如果机器人不能回答某个问题,他就会给用户提供一些通用的、有用的信息,比如一些样本措辞,或者选择直接与我联系。在后台,一旦机器人遇到不会回答的问题,我都会得到通知,然后我就会尽快为它补充相关功能,这样以后遇到类似问题它就可以解决了。”
~~ 当然是通过文本分析了,文章里面也说了
比如说
<code>你好! 你好吗?</code>
明显这两句可以通过文本分析得到不同的结果,从而做出相应的回答,跟这方面相关的就是人工智能了,有一种东西叫做状态机可以了解了解 。。

热AI工具

Undresser.AI Undress
人工智能驱动的应用程序,用于创建逼真的裸体照片

AI Clothes Remover
用于从照片中去除衣服的在线人工智能工具。

Undress AI Tool
免费脱衣服图片

Clothoff.io
AI脱衣机

AI Hentai Generator
免费生成ai无尽的。

热门文章

热工具

记事本++7.3.1
好用且免费的代码编辑器

SublimeText3汉化版
中文版,非常好用

禅工作室 13.0.1
功能强大的PHP集成开发环境

Dreamweaver CS6
视觉化网页开发工具

SublimeText3 Mac版
神级代码编辑软件(SublimeText3)

本教程演示了如何使用PHP有效地处理XML文档。 XML(可扩展的标记语言)是一种用于人类可读性和机器解析的多功能文本标记语言。它通常用于数据存储

字符串是由字符组成的序列,包括字母、数字和符号。本教程将学习如何使用不同的方法在PHP中计算给定字符串中元音的数量。英语中的元音是a、e、i、o、u,它们可以是大写或小写。 什么是元音? 元音是代表特定语音的字母字符。英语中共有五个元音,包括大写和小写: a, e, i, o, u 示例 1 输入:字符串 = "Tutorialspoint" 输出:6 解释 字符串 "Tutorialspoint" 中的元音是 u、o、i、a、o、i。总共有 6 个元

Java 8引入了Stream API,提供了一种强大且表达力丰富的处理数据集合的方式。然而,使用Stream时,一个常见问题是:如何从forEach操作中中断或返回? 传统循环允许提前中断或返回,但Stream的forEach方法并不直接支持这种方式。本文将解释原因,并探讨在Stream处理系统中实现提前终止的替代方法。 延伸阅读: Java Stream API改进 理解Stream forEach forEach方法是一个终端操作,它对Stream中的每个元素执行一个操作。它的设计意图是处

在Docker环境中使用PECL安装扩展时报错的原因及解决方法在使用Docker环境时,我们常常会遇到一些令人头疼的问�...

静态绑定(static::)在PHP中实现晚期静态绑定(LSB),允许在静态上下文中引用调用类而非定义类。1)解析过程在运行时进行,2)在继承关系中向上查找调用类,3)可能带来性能开销。

Spring Boot简化了可靠,可扩展和生产就绪的Java应用的创建,从而彻底改变了Java开发。 它的“惯例惯例”方法(春季生态系统固有的惯例),最小化手动设置

在 C 语言中,char 类型在字符串中用于:1. 存储单个字符;2. 使用数组表示字符串并以 null 终止符结束;3. 通过字符串操作函数进行操作;4. 从键盘读取或输出字符串。

堆栈是遵循LIFO(最后,首先)原理的数据结构。换句话说,我们添加到堆栈中的最后一个元素是第一个要删除的元素。当我们将(或推)元素添加到堆栈中时,它们就会放在顶部;即最重要的
