diff --git a/examples/multi_word_matches.py b/examples/multi_word_matches.py index 25a34096e..06cc313a9 100644 --- a/examples/multi_word_matches.py +++ b/examples/multi_word_matches.py @@ -90,5 +90,6 @@ def main(): for token in doc: print(token.text, token.ent_type_) + if __name__ == '__main__': plac.call(main)