1
Fork 0
mirror of https://github.com/Steffo99/unimore-bda-6.git synced 2024-11-21 23:44:19 +00:00

Document and fix imports in .tokenizer

This commit is contained in:
Steffo 2023-02-10 03:19:17 +01:00
parent 1294335da0
commit 48ac00b548
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -1,15 +1,9 @@
from .base import BaseTokenizer """
from .nltk_word_tokenize import NLTKWordTokenizer This module contains all implemented tokenizers.
from .potts import PottsTokenizer, PottsTokenizerWithNegation """
from .plain import PlainTokenizer
from .lower import LowercaseTokenizer
from .base import *
__all__ = ( from .nltk_word_tokenize import *
"BaseTokenizer", from .potts import *
"NLTKWordTokenizer", from .plain import *
"PottsTokenizer", from .lower import *
"PottsTokenizerWithNegation",
"PlainTokenizer",
"LowercaseTokenizer",
)