From b532386a60e17de9b26b24d1de3fad4eead9e665 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Fri, 22 Mar 2019 18:36:17 +0100 Subject: [PATCH] Fix typo [ci skip] --- website/docs/usage/rule-based-matching.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/usage/rule-based-matching.md b/website/docs/usage/rule-based-matching.md index 4f58a4d3a..37626f6a4 100644 --- a/website/docs/usage/rule-based-matching.md +++ b/website/docs/usage/rule-based-matching.md @@ -404,7 +404,7 @@ class BadHTMLMerger(object): for match_id, start, end in matches: spans.append(doc[start:end]) with doc.retokenize() as retokenizer: - for span in spans: + for span in hashtags: retokenizer.merge(span) for token in span: token._.bad_html = True # Mark token as bad HTML