Comments (4)
第一个问题,用依存树分析直接分析主谓宾是否就能满足需求
尝试下LTP的demo:
第二个问题
一定程度上也可以用依存树 + 规则来解决
依存树是这样,一般句子主要动词作为根,这里“不是”和“不喜欢”都相当于对作为“根”的“喜欢”这个词的描述,那两个否定描述就代表肯定,这是可以作为规则处理的
如果要从统计角度处理就只能积攒预料了
以上是我的看法
from conversationalrobotdesign.
嗯嗯 谢谢解答!也尝试过依存句法判断主谓宾的方法,主要问题在于闲聊中口语化的句子经常省略主语等成分(一句话实际上是两句很短的话,但是中间都不带标点,这种情况也不少),有无标点也对依存句法分析结果有影响,所以分析结果不可控...
from conversationalrobotdesign.
猜测,根据不同情况建立规则吧,有标点、无标点,如果出现的可能性并不高的话,应该还是可以提高不少召回率的
from conversationalrobotdesign.
嗯嗯 谢谢!只能慢慢trial and error了。
from conversationalrobotdesign.
Related Issues (3)
- Add example
- 模型启动失败 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conversationalrobotdesign.