SYMBOL INDEX (365 symbols across 39 files) FILE: sage/evaluation/ruerrant_wrapper/classifier.py function edit_to_tuple (line 10) | def edit_to_tuple(edit: Edit, idx: int = 0) -> tuple[int, int, str, str,... function classify (line 15) | def classify(edit: Edit) -> list[Edit]: function get_edit_info (line 34) | def get_edit_info(toks): function get_one_sided_type (line 49) | def get_one_sided_type(o_toks, c_toks): function get_two_sided_type (line 57) | def get_two_sided_type(o_toks, c_toks) -> dict[str, str]: function classify_char_edits (line 90) | def classify_char_edits(char_edits, source_w, correct_w): function get_edit_strings (line 111) | def get_edit_strings(source: str, correction: str, FILE: sage/evaluation/ruerrant_wrapper/merger.py function get_rule_edits (line 12) | def get_rule_edits(alignment: Alignment) -> list[Edit]: function group_alignment (line 35) | def group_alignment(alignment: Alignment, mode: str = "default") -> list... function process_seq (line 81) | def process_seq(seq: list[tuple], alignment: Alignment) -> list[tuple]: function is_punct (line 166) | def is_punct(token) -> bool: function char_cost (line 170) | def char_cost(a: str, b: str) -> float: function merge_edits (line 176) | def merge_edits(seq: list[tuple]) -> list[tuple]: FILE: sage/evaluation/ruerrant_wrapper/scorer.py function update_spacy_tokenizer (line 28) | def update_spacy_tokenizer(nlp): class RuErrantScorer (line 45) | class RuErrantScorer: method __init__ (line 48) | def __init__(self, spacy_model: str) -> None: method annotate_errors (line 54) | def annotate_errors(self, orig: str, cor: str, merging: str = "rules")... method evaluate (line 70) | def evaluate(self, FILE: sage/evaluation/ruspelleval.py class TimeOutValidation (line 18) | class TimeOutValidation(Exception): function extract_words (line 22) | def extract_words(line, make_lower=True, split_by_dots=False): function levenstein_dist (line 48) | def levenstein_dist(source, correct, allow_transpositions=False, function make_levenstein_table (line 56) | def make_levenstein_table(source, correct, allow_transpositions=False, function extract_best_alignment (line 110) | def extract_best_alignment(backtraces): function extract_basic_alignment_paths (line 157) | def extract_basic_alignment_paths(paths_in_alignments, source, correct): function extract_levenstein_alignments (line 181) | def extract_levenstein_alignments(source, correct, replace_cost=1.0): function get_partition_indexes (line 198) | def get_partition_indexes(first, second): function align_sents (line 263) | def align_sents(source, correct, return_only_different=False, replace_co... function make_corrections_data (line 343) | def make_corrections_data(source_sents, correct_sents, answer_sents): function measure_quality (line 364) | def measure_quality(etalon_corrections, answer_corrections): function output_differences (line 376) | def output_differences(diff_file, source_sents, correct_sents, answer_se... function evaluation (line 415) | def evaluation( FILE: sage/evaluation/scorer.py class Scorer (line 11) | class Scorer: method __init__ (line 23) | def __init__(self, load_errant=True, spacy_model="ru_core_news_lg") ->... method score (line 29) | def score(self, sources: Iterable[str], corrections: Iterable[str], an... FILE: sage/pipeline/augmenters.py class Augmenter (line 7) | class Augmenter(ABC): method augment (line 9) | def augment(self, text: str) -> str: class CharAugmenter (line 21) | class CharAugmenter(Augmenter): method __init__ (line 22) | def __init__(self, config: CharAugConfig): method augment (line 25) | def augment(self, text: str) -> str: class WordAugmenter (line 29) | class WordAugmenter(Augmenter): method __init__ (line 30) | def __init__(self, config: WordAugConfig): method augment (line 33) | def augment(self, text: str) -> str: class SBSCorruptor (line 37) | class SBSCorruptor(Augmenter): method __init__ (line 38) | def __init__(self, config: SBSCConfig): method augment (line 41) | def augment(self, text: str) -> str: FILE: sage/pipeline/config.py class PipelineConfig (line 5) | class PipelineConfig: method __init__ (line 6) | def __init__(self, lang: str = 'rus'): method set_char_params (line 18) | def set_char_params(self, min_aug: int, max_aug: int, unit_prob: float): method set_word_params (line 23) | def set_word_params(self, min_aug: int, max_aug: int, unit_prob: float): method set_sbsc_params (line 28) | def set_sbsc_params(self, lang: str, dataset_name_or_path: str, datase... method __set_language (line 33) | def __set_language(self, lang: str): method char_params (line 48) | def char_params(self): method word_params (line 57) | def word_params(self): method sbsc_params (line 66) | def sbsc_params(self): FILE: sage/pipeline/pipeline.py class AugmentationPipeline (line 8) | class AugmentationPipeline: method __init__ (line 9) | def __init__(self, config: PipelineConfig = PipelineConfig(), shuffle:... method _add_all_augmenters (line 23) | def _add_all_augmenters(self): method _shuffle_augmenters (line 31) | def _shuffle_augmenters(self): method add_char_augmenter (line 37) | def add_char_augmenter(self): method add_word_augmenter (line 48) | def add_word_augmenter(self): method add_sbsc_augmenter (line 59) | def add_sbsc_augmenter(self): method remove_augmenter (line 70) | def remove_augmenter(self, augmenter_type): method set_order (line 79) | def set_order(self, order: List[int]): method augment (line 88) | def augment(self, text: str) -> str: FILE: sage/spelling_correction/corrector.py class AvailableCorrectors (line 45) | class AvailableCorrectors(enum.Enum): class Corrector (line 59) | class Corrector(metaclass=ABCMeta): method from_pretrained (line 64) | def from_pretrained(cls, model_name_or_path: Union[str, os.PathLike]): method correct (line 67) | def correct(self, sentence: str, prefix: Optional[str] = "", **generat... method evaluate (line 82) | def evaluate( method batch_correct (line 160) | def batch_correct( method train (line 169) | def train(self, config_path: str): FILE: sage/spelling_correction/corruptors/identity.py class IdentityCorruptor (line 1) | class IdentityCorruptor: method __init__ (line 2) | def __init__(self): method corrupt (line 5) | def corrupt(self, x): method __call__ (line 8) | def __call__(self, x, tokenizer): FILE: sage/spelling_correction/corruptors/randomchar.py class RandomCharAug (line 8) | class RandomCharAug(CharAug, IdentityCorruptor): method __init__ (line 9) | def __init__( method _typo (line 25) | def _typo(self, char: str) -> str: method _shift (line 30) | def _shift(self, char: str) -> str: method _orfo (line 35) | def _orfo(self, char: str) -> str: method _delete (line 45) | def _delete(self) -> str: method _insert (line 48) | def _insert(self, char: str) -> str: method _multiply (line 51) | def _multiply(self, char: str) -> str: method augment (line 58) | def augment(self, text: str): method _get_random_idx (line 128) | def _get_random_idx(self, inputs, aug_count, rng): method __call__ (line 134) | def __call__(self, text, tokenizer): class RandomCharPuncAug (line 138) | class RandomCharPuncAug(RandomCharAug): method __init__ (line 139) | def __init__( method _punc_indexing (line 154) | def _punc_indexing(self, inputs): method __augs_count (line 167) | def __augs_count(self, size: int, rate: float) -> int: method augment (line 174) | def augment(self, text: str): class PuncAug (line 266) | class PuncAug(RandomCharAug): method __init__ (line 267) | def __init__( method _punc_indexing (line 281) | def _punc_indexing(self, inputs, rng): method augment (line 298) | def augment(self, text: str, seed: int = 42, rng: np.random.default_rn... FILE: sage/spelling_correction/m2m_correctors.py class RuM2M100ModelForSpellingCorrection (line 20) | class RuM2M100ModelForSpellingCorrection(Corrector): method __init__ (line 23) | def __init__(self, model_name_or_path: Union[str, os.PathLike]): method from_pretrained (line 36) | def from_pretrained(cls, model_name_or_path: Union[str, os.PathLike]): method batch_correct (line 53) | def batch_correct( FILE: sage/spelling_correction/models/t5/encoder_task.py class Seq2SeqLMEncoderOutput (line 10) | class Seq2SeqLMEncoderOutput(ModelOutput): class T5ForConditionalGenerationEncoderTask (line 24) | class T5ForConditionalGenerationEncoderTask(T5ForConditionalGeneration): method __init__ (line 25) | def __init__(self, config): method forward (line 28) | def forward( method compute_encoder_loss (line 150) | def compute_encoder_loss( FILE: sage/spelling_correction/models/t5/multiclass.py class T5ForConditionalGenerationTokenMulticlass (line 6) | class T5ForConditionalGenerationTokenMulticlass(T5ForConditionalGenerati... method __init__ (line 7) | def __init__(self, config): method compute_encoder_loss (line 11) | def compute_encoder_loss( FILE: sage/spelling_correction/models/t5/multilabel.py class T5ForConditionalGenerationTokenMultilabel (line 6) | class T5ForConditionalGenerationTokenMultilabel(T5ForConditionalGenerati... method __init__ (line 7) | def __init__(self, config): method compute_encoder_loss (line 11) | def compute_encoder_loss( FILE: sage/spelling_correction/models/t5/multilabel_lm.py class T5ForConditionalGenerationTokenMultilabelLM (line 7) | class T5ForConditionalGenerationTokenMultilabelLM(T5ForConditionalGenera... method compute_encoder_loss (line 8) | def compute_encoder_loss( class T5ForConditionalGenerationLM (line 41) | class T5ForConditionalGenerationLM(T5ForConditionalGenerationEncoderTask): method compute_encoder_loss (line 42) | def compute_encoder_loss( FILE: sage/spelling_correction/t5_correctors.py class T5ModelForSpellingCorruption (line 21) | class T5ModelForSpellingCorruption(Corrector): method __init__ (line 24) | def __init__(self, model_name_or_path: Union[str, os.PathLike]): method from_pretrained (line 38) | def from_pretrained(cls, model_name_or_path: Union[str, os.PathLike]): method batch_correct (line 54) | def batch_correct( FILE: sage/spelling_correction/training/data_processor.py class TextCollatorWithPadding (line 21) | class TextCollatorWithPadding: method __init__ (line 22) | def __init__(self, tokenizer, model): method __call__ (line 26) | def __call__(self, features): class TextProcessor (line 42) | class TextProcessor: method __init__ (line 43) | def __init__(self, max_length, tokenizer, source_col, correct_col, cor... method add_prefix (line 60) | def add_prefix(self, text, lang): method add_suffix (line 69) | def add_suffix(text): method get_len_target_from_inputs (line 74) | def get_len_target_from_inputs(self, input_ids, mask, lang): method get_encoder_lm_labels (line 92) | def get_encoder_lm_labels(self, source, correct, mapping, tokenizer): method get_custom_mask (line 126) | def get_custom_mask(self, inputs, targets, langs): method __call__ (line 132) | def __call__(self, examples): function get_tokenized_datasets (line 186) | def get_tokenized_datasets(tokenizer, FILE: sage/spelling_correction/training/data_utils.py function get_levenshtein_mask (line 6) | def get_levenshtein_mask(source, correct, error2idx): function make_ner_multiclass (line 47) | def make_ner_multiclass(num_tokens, num_classes, char_mask, mapping): function make_ner_multilabel (line 61) | def make_ner_multilabel(num_tokens, num_classes, char_mask, mapping): function make_ner_multilabel_delete (line 74) | def make_ner_multilabel_delete(num_tokens, num_classes, char_mask, mappi... function get_datasets (line 94) | def get_datasets(format, data_files): FILE: sage/spelling_correction/training/trainer.py class AverageMeter (line 17) | class AverageMeter: method __init__ (line 18) | def __init__(self): method reset (line 24) | def reset(self): method update (line 29) | def update(self, val, n=1): class SageTrainer (line 35) | class SageTrainer: method __init__ (line 36) | def __init__(self, method init_optimizer (line 86) | def init_optimizer(self): method init_scheduler (line 102) | def init_scheduler(self): method init_progress_bar (line 111) | def init_progress_bar(self): method save_model (line 115) | def save_model(self, folder, name): method fit (line 120) | def fit(self): method train_epoch (line 130) | def train_epoch(self, epoch): method valid_epoch (line 153) | def valid_epoch(self, epoch): FILE: sage/spelling_corruption/configuration_corruptor.py class BaseConfig (line 29) | class BaseConfig: class WordAugConfig (line 42) | class WordAugConfig(BaseConfig): class CharAugConfig (line 68) | class CharAugConfig(WordAugConfig): class SBSCConfig (line 85) | class SBSCConfig(BaseConfig): FILE: sage/spelling_corruption/corruptor.py class Corruptor (line 31) | class Corruptor(metaclass=ABCMeta): method __init__ (line 42) | def __init__(self): method from_config (line 46) | def from_config(cls, config: Union[WordAugConfig, CharAugConfig, SBSCC... method from_default_config (line 63) | def from_default_config(cls): method corrupt (line 75) | def corrupt(self, sentence: str, action: Optional[str] = None) -> str: method batch_corrupt (line 79) | def batch_corrupt( method get_default_config (line 85) | def get_default_config(): class AugCorruptor (line 89) | class AugCorruptor(Corruptor, metaclass=ABCMeta): method corrupt (line 92) | def corrupt(self, sentence: str, action: Optional[str] = None) -> str: method batch_corrupt (line 95) | def batch_corrupt( class WordAugCorruptor (line 100) | class WordAugCorruptor(AugCorruptor): method get_default_config (line 104) | def get_default_config(): class CharAugCorruptor (line 108) | class CharAugCorruptor(AugCorruptor): method get_default_config (line 112) | def get_default_config(): class SBSCCorruptor (line 116) | class SBSCCorruptor(Corruptor): method corrupt (line 119) | def corrupt(self, sentence: str, action: Optional[str] = None) -> str: method batch_corrupt (line 122) | def batch_corrupt(self, sentences: List[str], action: Optional[str] = ... method get_default_config (line 127) | def get_default_config(): FILE: sage/spelling_corruption/sbsc/base_classes.py function register_misspelling (line 20) | def register_misspelling(cls): class Distribution (line 24) | class Distribution: method __init__ (line 27) | def __init__(self, evidences: List[int], exclude_zero: bool): method sample (line 33) | def sample(self, rng: np.random.default_rng): class Typo (line 40) | class Typo(metaclass=ABCMeta): method __init__ (line 48) | def __init__(self): method description (line 53) | def description(): method desc (line 60) | def desc(self): method apply (line 66) | def apply( method adjust_position (line 80) | def adjust_position( method _fallback (line 108) | def _fallback(self, skip_if_position_not_found: bool) -> Callable: method _default_fallback_strategy (line 113) | def _default_fallback_strategy(self, used_positions: List[int], lang: ... method _skip_fallback_strategy (line 135) | def _skip_fallback_strategy(used_positions: List[int], lang: str, most... class Fabric (line 143) | class Fabric: method __init__ (line 150) | def __init__(self): method finish (line 153) | def finish(self, pos: int, typo: str) -> None: method get_handler (line 165) | def get_handler(typo: str) -> Typo: class Insertion (line 170) | class Insertion(Typo): method description (line 182) | def description(): method desc (line 186) | def desc(self): method apply (line 189) | def apply( class Deletion (line 200) | class Deletion(Typo): method description (line 212) | def description(): method desc (line 216) | def desc(self): method apply (line 219) | def apply( class Transposition (line 228) | class Transposition(Typo): method description (line 239) | def description(): method desc (line 243) | def desc(self): method apply (line 246) | def apply( class Substitution (line 255) | class Substitution(Typo): method description (line 266) | def description(): method desc (line 270) | def desc(self): method apply (line 273) | def apply( class ExtraSeparator (line 285) | class ExtraSeparator(Typo): method description (line 296) | def description(): method desc (line 300) | def desc(self): method apply (line 303) | def apply( class MissingSeparator (line 312) | class MissingSeparator(Typo): method description (line 323) | def description(): method desc (line 327) | def desc(self): method apply (line 330) | def apply( FILE: sage/spelling_corruption/sbsc/labeler.py class TyposTypes (line 16) | class TyposTypes(enum.Enum): function make_levenshtein_table (line 27) | def make_levenshtein_table(source, correct, allow_transpositions=False, ... function process_group (line 49) | def process_group(source: str, correction: str, levenshtein_table: np.ar... function process_mistypings (line 138) | def process_mistypings( FILE: sage/spelling_corruption/sbsc/model.py class Model (line 18) | class Model: method __init__ (line 43) | def __init__( method validate_inputs (line 89) | def validate_inputs(cls, stats: Dict[str, Dict[str, List[float]]], con... method _register_distribution (line 130) | def _register_distribution( method _factorization_scheme (line 137) | def _factorization_scheme(self, interval_idx: int, sequence_length: in... method transform (line 151) | def transform(self, sentence: str): FILE: sage/spelling_corruption/sbsc/sbsc.py class StatisticBasedSpellingCorruption (line 39) | class StatisticBasedSpellingCorruption: method __init__ (line 46) | def __init__( method show_reference_datasets_available (line 125) | def show_reference_datasets_available(): method corrupt (line 128) | def corrupt(self, sentence: str) -> str: method batch_corrupt (line 131) | def batch_corrupt(self, sentences: List[str]) -> List[str]: FILE: sage/spelling_corruption/sbsc/typings_positions_conditions.py class Condition (line 12) | class Condition(metaclass=ABCMeta): method condition (line 17) | def condition(pos: int, used_positions: List[int], sentence: str, lang... method alter_positions (line 32) | def alter_positions(pos: int, used_positions: List[int]): class InsertionConditions (line 44) | class InsertionConditions(Condition): method condition (line 46) | def condition(pos: int, used_positions: List[int], sentence: str, lang... method alter_positions (line 50) | def alter_positions(pos: int, used_positions: List[int]): class DeletionConditions (line 55) | class DeletionConditions(Condition): method condition (line 57) | def condition(pos: int, used_positions: List[int], sentence: str, lang... method alter_positions (line 62) | def alter_positions(pos: int, used_positions: List[int]): class TranspositionConditions (line 67) | class TranspositionConditions(Condition): method condition (line 69) | def condition(pos: int, used_positions: List[int], sentence: str, lang... method alter_positions (line 75) | def alter_positions(pos: int, used_positions: List[int]): class SubstitutionConditions (line 79) | class SubstitutionConditions(Condition): method condition (line 81) | def condition(pos: int, used_positions: List[int], sentence: str, lang... method alter_positions (line 86) | def alter_positions(pos: int, used_positions: List[int]): class ExtraSeparatorConditions (line 90) | class ExtraSeparatorConditions(Condition): method condition (line 92) | def condition(pos: int, used_positions: List[int], sentence: str, lang... method alter_positions (line 97) | def alter_positions(pos: int, used_positions: List[int]): class MissingSeparatorConditions (line 102) | class MissingSeparatorConditions(Condition): method condition (line 104) | def condition(pos: int, used_positions: List[int], sentence: str, lang... method alter_positions (line 108) | def alter_positions(pos: int, used_positions: List[int]): function initialize_conditions (line 113) | def initialize_conditions(): FILE: sage/utils/data_load_utils.py class DatasetsAvailable (line 10) | class DatasetsAvailable(enum.Enum): function load_available_dataset_from_hf (line 27) | def load_available_dataset_from_hf( FILE: sage/utils/lang_utils.py class InsertionOptions (line 8) | class InsertionOptions(namedtuple("insertion_options", AVAILABLE_LANG_CO... class SubstitutionOptions (line 12) | class SubstitutionOptions(namedtuple("substitution_options", AVAILABLE_L... FILE: sage/utils/utils.py function _draw_distributions_with_spines (line 10) | def _draw_distributions_with_spines( function draw_and_save_errors_distributions_comparison_charts (line 23) | def draw_and_save_errors_distributions_comparison_charts( FILE: tests/corruptor_api_unittests.py class CorruptorApiTests (line 14) | class CorruptorApiTests(unittest.TestCase): method _draw_generated_distributions (line 21) | def _draw_generated_distributions(self, corruptor, file_name): method _test_generation_correct (line 33) | def _test_generation_correct(self, corruptor): method test_word_augmenter (line 40) | def test_word_augmenter(self): method test_char_augmenter (line 55) | def test_char_augmenter(self): method test_sbsc_corruptor (line 72) | def test_sbsc_corruptor(self): method test_sbsc_corruptor_batch_corrupt (line 188) | def test_sbsc_corruptor_batch_corrupt(self): method test_word_aug_batch_corrupt (line 285) | def test_word_aug_batch_corrupt(self): FILE: tests/sbsc_corruptor_unittests.py class SbscCorruptorTests (line 13) | class SbscCorruptorTests(unittest.TestCase): method test_custom_stats (line 14) | def test_custom_stats(self): method test_from_file_txt (line 47) | def test_from_file_txt(self): method test_from_file_csv (line 57) | def test_from_file_csv(self): method test_partial_custom_stats (line 68) | def test_partial_custom_stats(self): method test_wrong_config (line 162) | def test_wrong_config(self): method test_corrupt (line 333) | def test_corrupt(self): method test_from_hf_ruspellru (line 343) | def test_from_hf_ruspellru(self): method test_from_hf_multidomain_gold (line 363) | def test_from_hf_multidomain_gold(self): method test_from_hf_github_typo_corpus (line 383) | def test_from_hf_github_typo_corpus(self): method test_from_hf_med_spellchecker (line 404) | def test_from_hf_med_spellchecker(self): FILE: tests/test_evaluate.py class TestEvaluationKit (line 6) | class TestEvaluationKit(unittest.TestCase): method test_scorer_errant_only (line 14) | def test_scorer_errant_only(self): method test_scorer_ruspelleval_only (line 24) | def test_scorer_ruspelleval_only(self): method test_scorer_errant_ruspelleval (line 28) | def test_scorer_errant_ruspelleval(self): method test_empty_errant (line 39) | def test_empty_errant(self): FILE: tests/test_metrics.py class TestRuErrantErrorAnnotation (line 7) | class TestRuErrantErrorAnnotation(unittest.TestCase): method test_1w_spell_only (line 11) | def test_1w_spell_only(self): method test_1w_spell_case (line 19) | def test_1w_spell_case(self): method test_1w_spell_case_yo (line 28) | def test_1w_spell_case_yo(self): method test_1w_spell_case_same_char (line 38) | def test_1w_spell_case_same_char(self): method test_1w_spell_case_2x (line 47) | def test_1w_spell_case_2x(self): method test_inn_punct_hyphen2space (line 56) | def test_inn_punct_hyphen2space(self): method test_inn_punct_space2hyphen (line 64) | def test_inn_punct_space2hyphen(self): method test_inn_punct_joint2space (line 72) | def test_inn_punct_joint2space(self): method test_inn_punct_space2joint (line 80) | def test_inn_punct_space2joint(self): method test_inn_punct_joint2hyphen (line 88) | def test_inn_punct_joint2hyphen(self): method test_inn_punct_hyphen2joint (line 96) | def test_inn_punct_hyphen2joint(self): method test_inn_punct_hyphen2comma (line 104) | def test_inn_punct_hyphen2comma(self): method test_inn_punct_comma2hyphen (line 112) | def test_inn_punct_comma2hyphen(self): method test_dot2multidot (line 120) | def test_dot2multidot(self): method test_multidot2dot (line 128) | def test_multidot2dot(self): method test_2w_spell_case (line 136) | def test_2w_spell_case(self): method test_2w_spell_case_punct1 (line 145) | def test_2w_spell_case_punct1(self): method test_2w_spell_case_punct2 (line 155) | def test_2w_spell_case_punct2(self): method test_sent1 (line 165) | def test_sent1(self): method test_sent2 (line 177) | def test_sent2(self): method test_sent3 (line 185) | def test_sent3(self): method test_sent4 (line 191) | def test_sent4(self): method test_sent5 (line 200) | def test_sent5(self): method test_sent6 (line 209) | def test_sent6(self): method test_sent7 (line 217) | def test_sent7(self): method test_sent8 (line 223) | def test_sent8(self): method test_sent9 (line 237) | def test_sent9(self): method test_sent10 (line 245) | def test_sent10(self): method test_sent11 (line 254) | def test_sent11(self): method test_sent12 (line 262) | def test_sent12(self): method test_md_links (line 274) | def test_md_links(self): method test_md_links_long (line 283) | def test_md_links_long(self): method test_gh1 (line 295) | def test_gh1(self): method test_gh2 (line 306) | def test_gh2(self): method test_gh4 (line 333) | def test_gh4(self): class TestScorerLoadingAndRunning (line 347) | class TestScorerLoadingAndRunning(unittest.TestCase): method test_score_metrics_format_exception1 (line 351) | def test_score_metrics_format_exception1(self): method test_score_metrics_format_exception2 (line 356) | def test_score_metrics_format_exception2(self): method test_score_metrics_format_exception3 (line 361) | def test_score_metrics_format_exception3(self): method test_score_metrics_format_exception4 (line 366) | def test_score_metrics_format_exception4(self): class TestScorerEvaluation (line 372) | class TestScorerEvaluation(unittest.TestCase): method test_evaluation_empty (line 376) | def test_evaluation_empty(self): method test_evaluation_words (line 380) | def test_evaluation_words(self): method test_evaluation_errant_spell_case (line 389) | def test_evaluation_errant_spell_case(self): method test_evaluation_errant_spell_case_punct (line 407) | def test_evaluation_errant_spell_case_punct(self): method test_evaluation_errant_spell_case_punct_yo (line 429) | def test_evaluation_errant_spell_case_punct_yo(self): method test_different_answer (line 451) | def test_different_answer(self): method test_different_answer_punct (line 473) | def test_different_answer_punct(self): method test_sent13 (line 495) | def test_sent13(self): FILE: tests/test_pipeline.py class TestAugmentationPipeline (line 6) | class TestAugmentationPipeline(unittest.TestCase): method setUp (line 7) | def setUp(self): method test_char_augmentation (line 16) | def test_char_augmentation(self): method test_word_augmentation (line 24) | def test_word_augmentation(self): method test_sbsc_augmentation (line 32) | def test_sbsc_augmentation(self): method test_all_augmentations (line 40) | def test_all_augmentations(self): FILE: tests/test_ruspelleval.py class TestRuSpellEval (line 7) | class TestRuSpellEval(unittest.TestCase): method test_ruspelleval_edge_cases (line 9) | def test_ruspelleval_edge_cases(self): method test_ruspelleval_general_case (line 18) | def test_ruspelleval_general_case(self): FILE: tests/test_utils.py class TestUtils (line 19) | class TestUtils(unittest.TestCase): method test_load_datasets_from_hf (line 20) | def test_load_datasets_from_hf(self): FILE: tests/tests.py class AugmenterTests (line 20) | class AugmenterTests(unittest.TestCase): method test_labeler_empty (line 24) | def test_labeler_empty(self): method test_labeler_insertion_in_beginning (line 59) | def test_labeler_insertion_in_beginning(self): method test_labeler_deletion_in_beginning (line 113) | def test_labeler_deletion_in_beginning(self): method test_labeler_single (line 167) | def test_labeler_single(self): method test_labeler_batch (line 232) | def test_labeler_batch(self): method test_mistypings (line 339) | def test_mistypings(self): method test_transform_empty_string (line 561) | def test_transform_empty_string(self): method test_transform_single (line 597) | def test_transform_single(self): method test_transform_short_string (line 647) | def test_transform_short_string(self): method test_factorization_scheme (line 692) | def test_factorization_scheme(self): method test_wrong_stats_format (line 721) | def test_wrong_stats_format(self): method test_transform_several_strings (line 989) | def test_transform_several_strings(self): FILE: tests/tests_english.py class AugmenterTests (line 19) | class AugmenterTests(unittest.TestCase): method test_labeler_empty (line 23) | def test_labeler_empty(self): method test_labeler_insertion_in_beginning (line 58) | def test_labeler_insertion_in_beginning(self): method test_labeler_deletion_in_beginning (line 112) | def test_labeler_deletion_in_beginning(self): method test_labeler_single (line 166) | def test_labeler_single(self): method test_labeler_batch (line 231) | def test_labeler_batch(self): method test_mistypings (line 337) | def test_mistypings(self): method test_transform_empty_string (line 559) | def test_transform_empty_string(self): method test_transform_single (line 595) | def test_transform_single(self): method test_transform_short_string (line 645) | def test_transform_short_string(self): method test_factorization_scheme (line 690) | def test_factorization_scheme(self): method test_wrong_stats_format (line 719) | def test_wrong_stats_format(self): method test_transform_several_strings (line 987) | def test_transform_several_strings(self):