feat: custom word list
This commit is contained in:
@@ -8,10 +8,10 @@ import unidecode
|
||||
class WordList:
|
||||
__slots__ = ["__filepath", "__name", "logger", "words"]
|
||||
|
||||
def __init__(self, name: str, path: str, filename: str) -> None:
|
||||
def __init__(self, name: str, path: str) -> None:
|
||||
self.logger: logging.Logger = logging.getLogger(self.__class__.__name__)
|
||||
self.__name = name
|
||||
self.__filepath = pathlib.Path(__file__).parent / ".." / path / filename
|
||||
self.__filepath = pathlib.Path(__file__).parent / ".." / path
|
||||
self.words: list[str] = []
|
||||
|
||||
def open(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user