Skip to content
Discussion options

You must be logged in to vote

Hi @Romanang! Neither clause detection nor classification of conjuctions between subclauses are supported by spaCy out of the box.

(a) a detection of subclauses, i.e., each including subject, predicate, and object, then counting them and assigning a stage based on the number of clauses present

For clause detection I recommend having a look at https://spacy.io/universe/project/spacy-clausie/. I think you should be able to build on that to extract your subclauses - the counting step once you've done that should be trivial.

(b) a classification of conjunctions between subclauses.

Hm, so usual word embeddings aren't very useful for this task, as they don't incorporate any syntactic inform…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by adrianeboyd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usage General spaCy usage feat / matcher Feature: Token, phrase and dependency matcher
2 participants