negation modifier
Closed this issue · 4 comments
Shasetty commented
Hi sir,
Can i get the complete list of words, which are considered in negation modifier.
List
advmod : never , n’t , not
det : no
Thanks in advance.
Regards
Shankar
AngledLuffa commented
In what context, dependencies?
The NOT pattern is:
EnglishPatterns.java line 104
// match "not", "n't", "nt" (for informal writing), or "never" as_complete_ string
public static final String NOT_PAT_WORD = "^(?i:n[o'’]?t|never)$";
…On Sat, Jan 27, 2024 at 4:55 PM Shasetty ***@***.***> wrote:
Hi sir,
Can i get the complete list of words, which are considered in negation
modifier.
*List*
advmod : never , n’t , not
det : no
Thanks in advance.
Regards
Shankar
—
Reply to this email directly, view it on GitHub
<#1410>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA2AYWL75JMHO7WZG6SBFH3YQWOYFAVCNFSM6AAAAABCNX72VCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYDGOBZGMYDGOI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
Shasetty commented
Under basic dependencies of Stanford typed dependencies,
I need all the list of words, which are considered as negation modifiers.
example text
Bill is not a scientist. neg(scientist-5, not-3)
Bill is no scientist. neg(scientist-4, no-3)
Bill does n't drive. neg(drive-4, n't-3)
thanks in advance.
AngledLuffa commented
What I just sent is the regex used by the dependencies
https://github.com/stanfordnlp/CoreNLP/blob/f8838d2639589f684cbaa58964cb29db5f23df7f/src/edu/stanford/nlp/trees/EnglishPatterns.java#L104
…On Sun, Jan 28, 2024 at 12:53 AM Shasetty ***@***.***> wrote:
Under basic dependencies of Stanford typed dependencies,
I need all the list of words, which are considered as negation modifiers.
*example text*
Bill is not a scientist. neg(scientist-5, not-3)
Bill is no scientist. neg(scientist-4, no-3)
Bill does n't drive. neg(drive-4, n't-3)
thanks in advance.
—
Reply to this email directly, view it on GitHub
<#1410 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA2AYWKK3KAFY4AVTD4WYJDYQYGW7AVCNFSM6AAAAABCNX72VCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTGUZDAMBUGA>
.
You are receiving this because you commented.Message ID:
***@***.***>
Shasetty commented
Thank You Sir.