diff --git a/scispacy/candidate_generation.py b/scispacy/candidate_generation.py index d4b42c0..6ff6190 100644 --- a/scispacy/candidate_generation.py +++ b/scispacy/candidate_generation.py @@ -244,7 +244,7 @@ def __init__( [ann_index, tfidf_vectorizer, ann_concept_aliases_list, kb] ): raise ValueError( - "You cannot pass both a name argument and other constuctor arguments." + "You cannot pass both a name argument and other constructor arguments." ) # Set the name to the default, after we have checked diff --git a/scispacy/hearst_patterns.py b/scispacy/hearst_patterns.py index 992b7a4..c28b16a 100644 --- a/scispacy/hearst_patterns.py +++ b/scispacy/hearst_patterns.py @@ -492,7 +492,7 @@ {"LEMMA": "which"}, {"LEMMA": "look"}, {"LEMMA": "like"}, - hyponym, + hypernym, ], "position": "last", },