rasa/nlu/featurizers/dense_featurizer/lm_featurizer.py
File lm_featurizer.py
has 579 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
from __future__ import annotations
import numpy as np
import logging
from typing import Any, Text, List, Dict, Tuple, Type
Function _get_model_features_for_batch
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _get_model_features_for_batch(
Function _validate_sequence_lengths
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _validate_sequence_lengths(