Open vinodhian opened 1 year ago
active English sentences are SVO (Subject on the left of the Verb, then the Object after the verb). So LHS = S and RHS = O. Passive sentences reverse this. This was originally written with Spacy 1.x - so it's well possible that the spacy people changed all that.
@rock3125 Thank you. If you could let me know the intention behind checking the "SUB" dependency, I will try to find the equivalent in the current spacy version.
I found this list https://github.com/clir/clearnlp-guidelines/blob/master/md/specifications/dependency_labels.md Here "DEP" is an unclassified dependency. Not sure why I picked that ...
Hi, In the algorithm used,
subs = [tok for tok in head.lefts if tok.dep_ == "SUB"]
However, there is no dependency relationship called "SUB" in spacy. Am I missing anything in this?Thanks, Vinodhkumar