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
So often I want to match word1word2 or phrase_1 phrase_2 phrase_2 and suggest replacing them with replacement. Because the spaCy matcher is token-based, this requires multiple match rules... that seems silly. e.g. "replace dumb, mute, or non-verbal with unable to speak.
Can we have a shorthand for this instead of having to have as many matches as different token counts?
The text was updated successfully, but these errors were encountered:
So often I want to match
word1
word2
orphrase_1 phrase_2 phrase_2
and suggest replacing them withreplacement
. Because the spaCy matcher is token-based, this requires multiple match rules... that seems silly. e.g. "replacedumb
,mute
, ornon-verbal
withunable to speak
.Can we have a shorthand for this instead of having to have as many matches as different token counts?
The text was updated successfully, but these errors were encountered: