由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - NLP problem - How to distinguish these two kinds of texts??
相关主题
我也开了一个Text Mining 的个人BlogRe: Do you want to contribute?1 Link per
有没有好的文章讲解ID和by statement?Dr. Lin Danyu
which route in SAS is faster?急!!! set up and carry out a test of the hypothesis λ1=λ2 based on an F-statistic.
请教 2 道SAS Adv 真题[合集] how to prove this problem ?
问题请教有没有办法取代SAS。
急!SAS adv的一道题,谢谢!请教个简单的统计问题~~
请教SAS ADV一道题!excel问题 求教
question about r code "order"请问2 smaples够用来算standard deviation或CV等吗?
相关话题的讨论汇总
话题: dog话题: hit话题: fox话题: texts
进入Statistics版参与讨论
1 (共1页)
S******y
发帖数: 1123
1
I would like to distinguish two kinds of texts -
1) something like - 'a little dog hit a big fox in his face'
2) something like - 'a little dog got a hit from a big fox'
of course, in reality, they can be all sorts of variations such as
'brown dog received a hit from fox' or 'a cute dog was hit by a fox' or
'a brave dog delivered a direct hit to the fox ', etc...
Currently, my computer code can only tell something like -
'... dog ...hit ...fox...'
But - I could not tell whether the poor little dog -
1) is actively
2) is passively
related to 'hit'.
Can somebody give some suggestion on how to differentiate it ?
Does Perl or Python Regular Expression have a solution to this?
Thanks.
l*******s
发帖数: 1258
2
In my opition, this is a ambiguity problem in parsing.
There are more than one parsing for each sentence you mentioned, then the
dog could be either active or passive.
If you have more context, you might be able to figure out active or passive.
However, just according to the independent sentences, it is almost
impossible.
about parser, you can try Stanford parser:
http://nlp.stanford.edu:8080/parser/
an online demo.
ps: I don't think RE can help, because this is not a string match problem
S******y
发帖数: 1123
3
Thanks!
That was very helpful!
1 (共1页)
进入Statistics版参与讨论
相关主题
请问2 smaples够用来算standard deviation或CV等吗?问题请教
quick question in R急!SAS adv的一道题,谢谢!
外行的问题:如何在R里plot differential equation请教SAS ADV一道题!
这句话对吗question about r code "order"
我也开了一个Text Mining 的个人BlogRe: Do you want to contribute?1 Link per
有没有好的文章讲解ID和by statement?Dr. Lin Danyu
which route in SAS is faster?急!!! set up and carry out a test of the hypothesis λ1=λ2 based on an F-statistic.
请教 2 道SAS Adv 真题[合集] how to prove this problem ?
相关话题的讨论汇总
话题: dog话题: hit话题: fox话题: texts