You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am trying to use this function but it seems that it does not consider these kind of examples:
from textacy import extract as ex
doc=nlp(" Kurds are pitted against Kurds , Iraqis against Kurds , Turks against Kurds -- and the American planes just circle overhead without intervening , " the minister said)
ex.direct_quotations(doc)
Is there any example to show how this function works?
thanks
The text was updated successfully, but these errors were encountered:
Hi, I just discovered this feature and tried to use it too. With some additional string formatting I got this to work:
from textacy import extract as ex
doc=nlp(" \"Kurds are pitted against Kurds , Iraqis against Kurds , Turks against Kurds -- and the American planes just circle overhead without intervening , \" the minister said")
a=ex.direct_quotations(doc)
for item in a: print (item)
(minister, said, "Kurds are pitted against Kurds , Iraqis against Kurds , Turks against Kurds -- and the American planes just circle overhead without intervening , ")
Hello,
I am trying to use this function but it seems that it does not consider these kind of examples:
Is there any example to show how this function works?
thanks
The text was updated successfully, but these errors were encountered: