目录
回复内容:
首页 后端开发 php教程 javascript - 刚刚看了篇文章,计算机识别语义怎么做到的?

javascript - 刚刚看了篇文章,计算机识别语义怎么做到的?

Jun 06, 2016 pm 08:10 PM
c# c++ java javascript php

文章如下

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>
登录后复制

明显这两句可以通过文本分析得到不同的结果,从而做出相应的回答,跟这方面相关的就是人工智能了,有一种东西叫做状态机可以了解了解 。。

本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn

热AI工具

Undresser.AI Undress

Undresser.AI Undress

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

AI Clothes Remover

AI Clothes Remover

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

Undress AI Tool

Undress AI Tool

免费脱衣服图片

Clothoff.io

Clothoff.io

AI脱衣机

Video Face Swap

Video Face Swap

使用我们完全免费的人工智能换脸工具轻松在任何视频中换脸!

热工具

记事本++7.3.1

记事本++7.3.1

好用且免费的代码编辑器

SublimeText3汉化版

SublimeText3汉化版

中文版,非常好用

禅工作室 13.0.1

禅工作室 13.0.1

功能强大的PHP集成开发环境

Dreamweaver CS6

Dreamweaver CS6

视觉化网页开发工具

SublimeText3 Mac版

SublimeText3 Mac版

神级代码编辑软件(SublimeText3)

热门话题

Java教程
1657
14
CakePHP 教程
1415
52
Laravel 教程
1309
25
PHP教程
1257
29
C# 教程
1230
24
C#作为多功能.NET语言:应用程序和示例 C#作为多功能.NET语言:应用程序和示例 Apr 26, 2025 am 12:26 AM

C#在企业级应用、游戏开发、移动应用和Web开发中均有广泛应用。1)在企业级应用中,C#常用于ASP.NETCore开发WebAPI。2)在游戏开发中,C#与Unity引擎结合,实现角色控制等功能。3)C#支持多态性和异步编程,提高代码灵活性和应用性能。

C的未来:改编和创新 C的未来:改编和创新 Apr 27, 2025 am 12:25 AM

C 的未来将专注于并行计算、安全性、模块化和AI/机器学习领域:1)并行计算将通过协程等特性得到增强;2)安全性将通过更严格的类型检查和内存管理机制提升;3)模块化将简化代码组织和编译;4)AI和机器学习将促使C 适应新需求,如数值计算和GPU编程支持。

讨论可能需要在Java中编写平台特定代码的情况。 讨论可能需要在Java中编写平台特定代码的情况。 Apr 25, 2025 am 12:22 AM

在Java中编写平台特定代码的原因包括访问特定操作系统功能、与特定硬件交互和优化性能。1)使用JNA或JNI访问Windows注册表;2)通过JNI与Linux特定硬件驱动程序交互;3)通过JNI使用Metal优化macOS上的游戏性能。尽管如此,编写平台特定代码会影响代码的可移植性、增加复杂性、可能带来性能开销和安全风险。

说明如何使用会话进行用户身份验证。 说明如何使用会话进行用户身份验证。 Apr 26, 2025 am 12:04 AM

会话通过服务器端的状态管理机制实现用户认证。1)会话创建并生成唯一ID,2)ID通过cookies传递,3)服务器存储并通过ID访问会话数据,4)实现用户认证和状态管理,提升应用安全性和用户体验。

如何理解C  中的ABI兼容性? 如何理解C 中的ABI兼容性? Apr 28, 2025 pm 10:12 PM

C 中的ABI兼容性是指不同编译器或版本生成的二进制代码能否在不重新编译的情况下兼容。1.函数调用约定,2.名称修饰,3.虚函数表布局,4.结构体和类的布局是主要涉及的方面。

为什么Java是开发跨平台桌面应用程序的流行选择? 为什么Java是开发跨平台桌面应用程序的流行选择? Apr 25, 2025 am 12:23 AM

javaispopularforcross-platformdesktopapplicationsduetoits“ writeonce,runanywhere”哲学。1)itusesbytbytybytecebytecodethatrunsonanyjvm-platform.2)librarieslikeslikeslikeswingingandjavafxhelpcreatenative-lookingenative-lookinguisis.3)

C  中的chrono库如何使用? C 中的chrono库如何使用? Apr 28, 2025 pm 10:18 PM

使用C 中的chrono库可以让你更加精确地控制时间和时间间隔,让我们来探讨一下这个库的魅力所在吧。C 的chrono库是标准库的一部分,它提供了一种现代化的方式来处理时间和时间间隔。对于那些曾经饱受time.h和ctime折磨的程序员来说,chrono无疑是一个福音。它不仅提高了代码的可读性和可维护性,还提供了更高的精度和灵活性。让我们从基础开始,chrono库主要包括以下几个关键组件:std::chrono::system_clock:表示系统时钟,用于获取当前时间。std::chron

怎样在C  中测量线程性能? 怎样在C 中测量线程性能? Apr 28, 2025 pm 10:21 PM

在C 中测量线程性能可以使用标准库中的计时工具、性能分析工具和自定义计时器。1.使用库测量执行时间。2.使用gprof进行性能分析,步骤包括编译时添加-pg选项、运行程序生成gmon.out文件、生成性能报告。3.使用Valgrind的Callgrind模块进行更详细的分析,步骤包括运行程序生成callgrind.out文件、使用kcachegrind查看结果。4.自定义计时器可灵活测量特定代码段的执行时间。这些方法帮助全面了解线程性能,并优化代码。

See all articles