Skip to content

Question about part 3 #10

Answered by pitkant
jomiwa asked this question in Q&A
Apr 1, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

It's enough if you have only two items in the dep_rule list, RIGHT_ID and 1 LEFT_ID. It's also sufficient to just look for the lemma of the word without caring (at least in this case) if it has the 'POS': 'VERB' pattern.

Looking at spaCy pattern formats manual page and examples helped me as well: https://spacy.io/api/matcher#patterns

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jomiwa
Comment options

Answer selected by jomiwa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants