codeprep/api/corpus.py
Function basic
has 14 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def basic(path: str, extensions: Optional[str] = None, split_numbers: bool = False, ronin = False, stem: bool = False,
Function bpe
has 11 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def bpe(path: str, bpe_codes_id: str, extensions: Optional[str] = None, no_spaces: bool = False,
Function nosplit
has 11 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def nosplit(path: str, extensions: Optional[str] = None, no_spaces: bool = False, no_unicode: bool = False,
Function chars
has 10 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def chars(path: str, extensions: Optional[str] = None, no_spaces: bool = False, no_unicode: bool = False,
Function preprocess_corpus
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def preprocess_corpus(path: str, prep_config: PrepConfig, bpe_codes_id: Optional[str]=None,