찾다
백엔드 개발PHP 튜토리얼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>

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

성명
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.
세션과 관련된 크로스 사이트 스크립팅 (XSS) 공격으로부터 어떻게 보호 할 수 있습니까?세션과 관련된 크로스 사이트 스크립팅 (XSS) 공격으로부터 어떻게 보호 할 수 있습니까?Apr 23, 2025 am 12:16 AM

세션 관련 XSS 공격으로부터 응용 프로그램을 보호하려면 다음 조치가 필요합니다. 1. 세션 쿠키를 보호하기 위해 Httponly 및 Secure 플래그를 설정하십시오. 2. 모든 사용자 입력에 대한 내보내기 코드. 3. 스크립트 소스를 제한하기 위해 컨텐츠 보안 정책 (CSP)을 구현하십시오. 이러한 정책을 통해 세션 관련 XSS 공격을 효과적으로 보호 할 수 있으며 사용자 데이터가 보장 될 수 있습니다.

PHP 세션 성능을 어떻게 최적화 할 수 있습니까?PHP 세션 성능을 어떻게 최적화 할 수 있습니까?Apr 23, 2025 am 12:13 AM

PHP 세션 성능을 최적화하는 방법 : 1. 지연 세션 시작, 2. 데이터베이스를 사용하여 세션을 저장, 3. 세션 데이터 압축, 4. 세션 수명주기 관리 및 5. 세션 공유 구현. 이러한 전략은 높은 동시성 환경에서 응용의 효율성을 크게 향상시킬 수 있습니다.

SESSION.GC_MAXLIFETIME 구성 설정은 무엇입니까?SESSION.GC_MAXLIFETIME 구성 설정은 무엇입니까?Apr 23, 2025 am 12:10 AM

THESESSION.GC_MAXLIFETIMESETTINGINSTTINGTINGSTINGTERMINESTERMINESTERSTINGSESSIONDATA, SETINSECONDS.1) IT'SCONFIGUDEDINPHP.INIORVIAINI_SET ()

PHP에서 세션 이름을 어떻게 구성합니까?PHP에서 세션 이름을 어떻게 구성합니까?Apr 23, 2025 am 12:08 AM

PHP에서는 Session_Name () 함수를 사용하여 세션 이름을 구성 할 수 있습니다. 특정 단계는 다음과 같습니다. 1. Session_Name () 함수를 사용하여 Session_Name ( "my_session")과 같은 세션 이름을 설정하십시오. 2. 세션 이름을 설정 한 후 세션을 시작하여 세션을 시작하십시오. 세션 이름을 구성하면 여러 응용 프로그램 간의 세션 데이터 충돌을 피하고 보안을 향상시킬 수 있지만 세션 이름의 독창성, 보안, 길이 및 설정 타이밍에주의를 기울일 수 있습니다.

세션 ID를 얼마나 자주 재생해야합니까?세션 ID를 얼마나 자주 재생해야합니까?Apr 23, 2025 am 12:03 AM

세션 ID는 로그인시, 민감한 작업 전에 및 30 분마다 정기적으로 재생되어야합니다. 1. 세션 고정 공격을 방지하기 위해 로그인 할 때 세션 ID를 재생합니다. 2. 안전성을 향상시키기 위해 민감한 작업 전에 재생성. 3. 정기적 인 재생은 장기 활용 위험을 줄이지 만 사용자 경험을 평가해야합니다.

PHP에서 세션 쿠키 매개 변수를 어떻게 설정합니까?PHP에서 세션 쿠키 매개 변수를 어떻게 설정합니까?Apr 22, 2025 pm 05:33 PM

Session_SET_COOKIE_PARAMS () 함수를 통해 PHP에서 세션 쿠키 매개 변수 설정을 달성 할 수 있습니다. 1)이 기능을 사용하여 만료 시간, 경로, 도메인 이름, 보안 플래그 등과 같은 매개 변수를 설정하십시오. 2) call session_start ()를 호출하려면 매개 변수를 발효시킵니다. 3) 사용자 로그인 상태와 같은 요구에 따라 매개 변수를 동적으로 조정합니다. 4) 보안을 향상시키기 위해 안전하고 httponly 플래그 설정에주의를 기울이십시오.

PHP에서 세션을 사용하는 주요 목적은 무엇입니까?PHP에서 세션을 사용하는 주요 목적은 무엇입니까?Apr 22, 2025 pm 05:25 PM

PHP에서 세션을 사용하는 주요 목적은 다른 페이지간에 사용자의 상태를 유지하는 것입니다. 1) 세션은 Session_Start () 함수를 통해 시작되어 고유 한 세션 ID를 생성하고 사용자 쿠키에 저장합니다. 2) 세션 데이터는 서버에 저장되므로 로그인 상태 및 쇼핑 카트 컨텐츠와 같은 다른 요청간에 데이터를 전달할 수 있습니다.

하위 도메인에서 세션을 어떻게 공유 할 수 있습니까?하위 도메인에서 세션을 어떻게 공유 할 수 있습니까?Apr 22, 2025 pm 05:21 PM

하위 도메인 간의 세션을 공유하는 방법? 공통 도메인 이름에 대한 세션 쿠키를 설정하여 구현. 1. 세션 쿠키 도메인을 서버 측에서 .example.com으로 설정하십시오. 2. 메모리, 데이터베이스 또는 분산 캐시와 같은 적절한 세션 저장 방법을 선택하십시오. 3. 쿠키를 통해 세션 ID를 전달하면 서버는 ID를 기반으로 세션 데이터를 검색하고 업데이트합니다.

See all articles

핫 AI 도구

Undresser.AI Undress

Undresser.AI Undress

사실적인 누드 사진을 만들기 위한 AI 기반 앱

AI Clothes Remover

AI Clothes Remover

사진에서 옷을 제거하는 온라인 AI 도구입니다.

Undress AI Tool

Undress AI Tool

무료로 이미지를 벗다

Clothoff.io

Clothoff.io

AI 옷 제거제

Video Face Swap

Video Face Swap

완전히 무료인 AI 얼굴 교환 도구를 사용하여 모든 비디오의 얼굴을 쉽게 바꾸세요!

뜨거운 도구

SublimeText3 Linux 새 버전

SublimeText3 Linux 새 버전

SublimeText3 Linux 최신 버전

VSCode Windows 64비트 다운로드

VSCode Windows 64비트 다운로드

Microsoft에서 출시한 강력한 무료 IDE 편집기

MinGW - Windows용 미니멀리스트 GNU

MinGW - Windows용 미니멀리스트 GNU

이 프로젝트는 osdn.net/projects/mingw로 마이그레이션되는 중입니다. 계속해서 그곳에서 우리를 팔로우할 수 있습니다. MinGW: GCC(GNU Compiler Collection)의 기본 Windows 포트로, 기본 Windows 애플리케이션을 구축하기 위한 무료 배포 가능 가져오기 라이브러리 및 헤더 파일로 C99 기능을 지원하는 MSVC 런타임에 대한 확장이 포함되어 있습니다. 모든 MinGW 소프트웨어는 64비트 Windows 플랫폼에서 실행될 수 있습니다.

Dreamweaver Mac版

Dreamweaver Mac版

시각적 웹 개발 도구

DVWA

DVWA

DVWA(Damn Vulnerable Web App)는 매우 취약한 PHP/MySQL 웹 애플리케이션입니다. 주요 목표는 보안 전문가가 법적 환경에서 자신의 기술과 도구를 테스트하고, 웹 개발자가 웹 응용 프로그램 보안 프로세스를 더 잘 이해할 수 있도록 돕고, 교사/학생이 교실 환경 웹 응용 프로그램에서 가르치고 배울 수 있도록 돕는 것입니다. 보안. DVWA의 목표는 다양한 난이도의 간단하고 간단한 인터페이스를 통해 가장 일반적인 웹 취약점 중 일부를 연습하는 것입니다. 이 소프트웨어는