Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
egliette committed Jul 15, 2023
1 parent e0a8437 commit 5122027
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ def detokenize(self, tokens):

class EnTokenizer(BaseTokenizer):

def __init__(self, **kwargs):
super().__init__(**kwargs)
def __init__(self, **args):
super().__init__(**args)
self.spacy_en = spacy.load('en_core_web_sm')

def tokenize(self, sentence):
Expand Down

0 comments on commit 5122027

Please sign in to comment.