Karpnv/beamsearch1
<!-- pylint-output-strict-mode-false -->

beep boop 🤖: 🙏 The following files have warnings. In case you are familiar with these, please try helping us to improve the code base.

---

Your code was analyzed with PyLint. The following annotations have been identified:

```
************* Module speech_to_text_eval
examples/asr/speech_to_text_eval.py:16:0: C0301: Line too long (115/100) (line-too-long)
examples/asr/speech_to_text_eval.py:17:0: C0301: Line too long (119/100) (line-too-long)
examples/asr/speech_to_text_eval.py:19:0: C0301: Line too long (115/100) (line-too-long)
examples/asr/speech_to_text_eval.py:24:0: C0301: Line too long (114/100) (line-too-long)
examples/asr/speech_to_text_eval.py:28:0: C0301: Line too long (117/100) (line-too-long)
examples/asr/speech_to_text_eval.py:32:0: C0301: Line too long (118/100) (line-too-long)
examples/asr/speech_to_text_eval.py:37:0: C0301: Line too long (114/100) (line-too-long)
examples/asr/speech_to_text_eval.py:38:0: C0301: Line too long (119/100) (line-too-long)
examples/asr/speech_to_text_eval.py:49:0: C0301: Line too long (105/100) (line-too-long)
examples/asr/speech_to_text_eval.py:55:0: C0301: Line too long (115/100) (line-too-long)
examples/asr/speech_to_text_eval.py:56:0: C0301: Line too long (106/100) (line-too-long)
examples/asr/speech_to_text_eval.py:90:0: C0301: Line too long (109/100) (line-too-long)
examples/asr/speech_to_text_eval.py:126:0: C0301: Line too long (113/100) (line-too-long)
examples/asr/speech_to_text_eval.py:211:0: C0301: Line too long (117/100) (line-too-long)
examples/asr/speech_to_text_eval.py:70:0: E0401: Unable to import 'torch' (import-error)
examples/asr/speech_to_text_eval.py:72:0: E0401: Unable to import 'omegaconf' (import-error)
examples/asr/speech_to_text_eval.py:86:0: C0115: Missing class docstring (missing-class-docstring)
examples/asr/speech_to_text_eval.py:86:0: R0902: Too many instance attributes (10/7) (too-many-instance-attributes)
examples/asr/speech_to_text_eval.py:113:0: C0116: Missing function or method docstring (missing-function-docstring)
examples/asr/speech_to_text_eval.py:113:0: R0914: Too many local variables (16/15) (too-many-locals)
examples/asr/speech_to_text_eval.py:145:9: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
examples/asr/speech_to_text_eval.py:113:0: R0912: Too many branches (20/12) (too-many-branches)
examples/asr/speech_to_text_eval.py:113:0: R0915: Too many statements (65/50) (too-many-statements)
examples/asr/speech_to_text_eval.py:189:8: W0612: Unused variable 'samples_with_metrics' (unused-variable)
************* Module transcribe_speech
examples/asr/transcribe_speech.py:28:0: C0301: Line too long (102/100) (line-too-long)
examples/asr/transcribe_speech.py:32:0: C0301: Line too long (111/100) (line-too-long)
examples/asr/transcribe_speech.py:51:0: C0301: Line too long (102/100) (line-too-long)
examples/asr/transcribe_speech.py:78:0: C0301: Line too long (106/100) (line-too-long)
examples/asr/transcribe_speech.py:130:0: C0301: Line too long (103/100) (line-too-long)
examples/asr/transcribe_speech.py:134:0: C0301: Line too long (110/100) (line-too-long)
examples/asr/transcribe_speech.py:141:0: C0301: Line too long (111/100) (line-too-long)
examples/asr/transcribe_speech.py:171:0: C0301: Line too long (110/100) (line-too-long)
examples/asr/transcribe_speech.py:179:0: C0301: Line too long (139/100) (line-too-long)
examples/asr/transcribe_speech.py:184:0: C0301: Line too long (110/100) (line-too-long)
examples/asr/transcribe_speech.py:202:0: C0301: Line too long (106/100) (line-too-long)
examples/asr/transcribe_speech.py:236:0: C0301: Line too long (117/100) (line-too-long)
examples/asr/transcribe_speech.py:241:0: C0301: Line too long (105/100) (line-too-long)
examples/asr/transcribe_speech.py:253:0: C0301: Line too long (110/100) (line-too-long)
examples/asr/transcribe_speech.py:366:0: C0301: Line too long (131/100) (line-too-long)
examples/asr/transcribe_speech.py:369:0: C0301: Line too long (110/100) (line-too-long)
examples/asr/transcribe_speech.py:375:0: C0301: Line too long (108/100) (line-too-long)
examples/asr/transcribe_speech.py:389:0: C0301: Line too long (116/100) (line-too-long)
examples/asr/transcribe_speech.py:401:0: C0301: Line too long (105/100) (line-too-long)
examples/asr/transcribe_speech.py:402:0: C0301: Line too long (111/100) (line-too-long)
examples/asr/transcribe_speech.py:419:0: C0301: Line too long (134/100) (line-too-long)
examples/asr/transcribe_speech.py:504:0: C0301: Line too long (105/100) (line-too-long)
examples/asr/transcribe_speech.py:313:13: W0511: TODO: Support compute_langs in CTC eventually (fixme)
examples/asr/transcribe_speech.py:1:0: C0114: Missing module docstring (missing-module-docstring)
examples/asr/transcribe_speech.py:24:0: E0401: Unable to import 'pytorch_lightning' (import-error)
examples/asr/transcribe_speech.py:25:0: E0401: Unable to import 'torch' (import-error)
examples/asr/transcribe_speech.py:26:0: E0401: Unable to import 'omegaconf' (import-error)
examples/asr/transcribe_speech.py:50:0: W0105: String statement has no effect (pointless-string-statement)
examples/asr/transcribe_speech.py:116:0: C0115: Missing class docstring (missing-class-docstring)
examples/asr/transcribe_speech.py:123:0: C0115: Missing class docstring (missing-class-docstring)
examples/asr/transcribe_speech.py:123:0: R0902: Too many instance attributes (43/7) (too-many-instance-attributes)
examples/asr/transcribe_speech.py:219:0: C0116: Missing function or method docstring (missing-function-docstring)
examples/asr/transcribe_speech.py:219:0: R0914: Too many local variables (32/15) (too-many-locals)
examples/asr/transcribe_speech.py:395:21: W0613: Unused argument 'dtype' (unused-argument)
examples/asr/transcribe_speech.py:395:33: W0613: Unused argument 'enabled' (unused-argument)
examples/asr/transcribe_speech.py:414:13: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
examples/asr/transcribe_speech.py:466:7: C0123: Use isinstance() rather than type() for a typecheck. (unidiomatic-typecheck)
examples/asr/transcribe_speech.py:219:0: R0912: Too many branches (68/12) (too-many-branches)
examples/asr/transcribe_speech.py:219:0: R0915: Too many statements (185/50) (too-many-statements)
examples/asr/transcribe_speech.py:34:0: W0611: Unused GreedyBatchedRNNTInferConfig imported from nemo.collections.asr.parts.submodules.rnnt_greedy_decoding (unused-import)
************* Module nemo.collections.asr.models.hybrid_rnnt_ctc_models
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:49:0: C0301: Line too long (107/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:59:0: C0301: Line too long (108/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:61:0: C0301: Line too long (111/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:62:0: C0301: Line too long (102/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:82:0: C0301: Line too long (106/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:110:0: C0301: Line too long (102/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:115:0: C0301: Line too long (103/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:123:0: C0301: Line too long (266/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:124:0: C0301: Line too long (104/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:134:0: C0301: Line too long (108/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:223:0: C0301: Line too long (115/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:224:0: C0301: Line too long (120/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:225:0: C0301: Line too long (117/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:232:0: C0301: Line too long (106/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:233:0: C0301: Line too long (115/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:244:0: C0301: Line too long (111/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:248:0: C0301: Line too long (116/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:265:0: C0301: Line too long (119/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:273:0: C0301: Line too long (118/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:295:0: C0301: Line too long (118/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:303:0: C0301: Line too long (106/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:304:0: C0301: Line too long (104/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:305:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:306:0: C0301: Line too long (105/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:315:0: C0301: Line too long (107/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:323:0: C0301: Line too long (106/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:339:0: C0301: Line too long (102/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:354:0: C0301: Line too long (108/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:360:0: C0301: Line too long (103/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:379:0: C0301: Line too long (108/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:426:0: C0301: Line too long (113/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:471:0: C0301: Line too long (108/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:491:0: C0301: Line too long (108/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:502:0: C0301: Line too long (111/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:506:0: C0301: Line too long (112/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:528:0: C0301: Line too long (108/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:552:0: C0301: Line too long (113/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:663:0: C0301: Line too long (115/100) (line-too-long)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:466:9: W0511: TODO: add support for CTC decoding (fixme)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:1:0: C0114: Missing module docstring (missing-module-docstring)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:21:0: E0401: Unable to import 'torch' (import-error)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:22:0: E0401: Unable to import 'omegaconf' (import-error)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:23:0: E0401: Unable to import 'pytorch_lightning' (import-error)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:24:0: E0401: Unable to import 'tqdm.auto' (import-error)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:39:0: R0901: Too many ancestors (19/7) (too-many-ancestors)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:61:20: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:97:4: R0913: Too many arguments (10/5) (too-many-arguments)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:97:4: R0917: Too many positional arguments (10/5) (too-many-positional-arguments)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:169:17: R1735: Consider using '{"logits": logits, "encoded_len": encoded_len}' instead of a call to 'dict'. (use-dict-literal)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:297:4: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:342:4: R0914: Too many local variables (25/15) (too-many-locals)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:369:8: R1703: The if statement can be replaced with 'var = bool(test)' (simplifiable-if-statement)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:342:4: R0912: Too many branches (16/12) (too-many-branches)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:342:4: R0915: Too many statements (57/50) (too-many-statements)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:360:32: W0612: Unused variable 'states' (unused-variable)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:467:28: W0612: Unused variable 'transcript' (unused-variable)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:467:40: W0612: Unused variable 'transcript_len' (unused-variable)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:476:23: W0612: Unused variable 'all_hyp_text' (unused-variable)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:483:4: W0222: Signature differs from overridden 'validation_pass' method (signature-differs)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:483:4: R0914: Too many local variables (28/15) (too-many-locals)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:483:4: R0915: Too many statements (56/50) (too-many-statements)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:502:40: W0612: Unused variable 'states' (unused-variable)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:594:11: C0123: Use isinstance() rather than type() for a typecheck. (unidiomatic-typecheck)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:604:11: C0123: Use isinstance() rather than type() for a typecheck. (unidiomatic-typecheck)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:648:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:655:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:461:12: W0201: Attribute '_optim_normalize_txu' defined outside __init__ (attribute-defined-outside-init)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:16:0: W0611: Unused import json (unused-import)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:17:0: W0611: Unused import os (unused-import)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:18:0: W0611: Unused import tempfile (unused-import)
nemo/collections/asr/models/hybrid_rnnt_ctc_models.py:24:0: W0611: Unused tqdm imported from tqdm.auto (unused-import)
************* Module nemo.collections.asr.modules.flashlight_decoder
nemo/collections/asr/modules/flashlight_decoder.py:39:0: C0301: Line too long (116/100) (line-too-long)
nemo/collections/asr/modules/flashlight_decoder.py:72:0: C0301: Line too long (111/100) (line-too-long)
nemo/collections/asr/modules/flashlight_decoder.py:140:0: C0301: Line too long (107/100) (line-too-long)
nemo/collections/asr/modules/flashlight_decoder.py:141:0: C0301: Line too long (102/100) (line-too-long)
nemo/collections/asr/modules/flashlight_decoder.py:173:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/modules/flashlight_decoder.py:188:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/modules/flashlight_decoder.py:190:0: C0301: Line too long (116/100) (line-too-long)
nemo/collections/asr/modules/flashlight_decoder.py:193:0: C0301: Line too long (111/100) (line-too-long)
nemo/collections/asr/modules/flashlight_decoder.py:200:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/modules/flashlight_decoder.py:202:0: C0301: Line too long (116/100) (line-too-long)
nemo/collections/asr/modules/flashlight_decoder.py:234:0: C0301: Line too long (118/100) (line-too-long)
nemo/collections/asr/modules/flashlight_decoder.py:251:0: C0301: Line too long (103/100) (line-too-long)
nemo/collections/asr/modules/flashlight_decoder.py:72:16: W0511: ## Todo: fix AggregateTokenizer.token_to_id() missing 1 required positional argument: 'lang_id' (fixme)
nemo/collections/asr/modules/flashlight_decoder.py:1:0: C0114: Missing module docstring (missing-module-docstring)
nemo/collections/asr/modules/flashlight_decoder.py:19:0: E0401: Unable to import 'numpy' (import-error)
nemo/collections/asr/modules/flashlight_decoder.py:20:0: E0401: Unable to import 'torch' (import-error)
nemo/collections/asr/modules/flashlight_decoder.py:49:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/asr/modules/flashlight_decoder.py:53:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/asr/modules/flashlight_decoder.py:57:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/asr/modules/flashlight_decoder.py:61:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/asr/modules/flashlight_decoder.py:65:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/asr/modules/flashlight_decoder.py:69:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
nemo/collections/asr/modules/flashlight_decoder.py:76:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/asr/modules/flashlight_decoder.py:77:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
nemo/collections/asr/modules/flashlight_decoder.py:83:0: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/asr/modules/flashlight_decoder.py:85:8: W0622: Redefining built-in 'id' (redefined-builtin)
nemo/collections/asr/modules/flashlight_decoder.py:92:0: R0902: Too many instance attributes (12/7) (too-many-instance-attributes)
nemo/collections/asr/modules/flashlight_decoder.py:109:4: R0913: Too many arguments (13/5) (too-many-arguments)
nemo/collections/asr/modules/flashlight_decoder.py:109:4: R0917: Too many positional arguments (13/5) (too-many-positional-arguments)
nemo/collections/asr/modules/flashlight_decoder.py:109:4: R0914: Too many local variables (38/15) (too-many-locals)
nemo/collections/asr/modules/flashlight_decoder.py:126:12: C0415: Import outside toplevel (flashlight.lib.text.decoder.LM, flashlight.lib.text.decoder.CriterionType, flashlight.lib.text.decoder.KenLM, flashlight.lib.text.decoder.LexiconDecoder, flashlight.lib.text.decoder.LexiconDecoderOptions, flashlight.lib.text.decoder.LMState, flashlight.lib.text.decoder.SmearingMode, flashlight.lib.text.decoder.Trie, flashlight.lib.text.decoder.ZeroLM) (import-outside-toplevel)
nemo/collections/asr/modules/flashlight_decoder.py:137:12: C0415: Import outside toplevel (flashlight.lib.text.dictionary.create_word_dict, flashlight.lib.text.dictionary.load_words) (import-outside-toplevel)
nemo/collections/asr/modules/flashlight_decoder.py:139:12: W0707: Consider explicitly re-raising using 'except ModuleNotFoundError as exc' and 'raise ModuleNotFoundError('FlashLightKenLMBeamSearchDecoder requires the installation of flashlight python bindings from https://github.com/flashlight/text. Please follow the build instructions there.') from exc' (raise-missing-from)
nemo/collections/asr/modules/flashlight_decoder.py:230:12: E0401: Unable to import 'flashlight.lib.text.decoder' (import-error)
nemo/collections/asr/modules/flashlight_decoder.py:230:12: C0415: Import outside toplevel (flashlight.lib.text.decoder.LexiconFreeDecoder, flashlight.lib.text.decoder.LexiconFreeDecoderOptions) (import-outside-toplevel)
nemo/collections/asr/modules/flashlight_decoder.py:109:4: R0912: Too many branches (19/12) (too-many-branches)
nemo/collections/asr/modules/flashlight_decoder.py:109:4: R0915: Too many statements (61/50) (too-many-statements)
nemo/collections/asr/modules/flashlight_decoder.py:184:16: W0612: Unused variable 'i' (unused-variable)
nemo/collections/asr/modules/flashlight_decoder.py:126:12: W0611: Unused LM imported from flashlight.lib.text.decoder (unused-import)
nemo/collections/asr/modules/flashlight_decoder.py:126:12: W0611: Unused LMState imported from flashlight.lib.text.decoder (unused-import)
nemo/collections/asr/modules/flashlight_decoder.py:258:36: R1714: Consider merging these comparisons with 'in' by using 'x not in (self.blank, self.silence)'. Use a set instead if elements are hashable. (consider-using-in)
nemo/collections/asr/modules/flashlight_decoder.py:292:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/asr/modules/flashlight_decoder.py:300:8: C0103: Variable name "B" doesn't conform to snake_case naming style (invalid-name)
nemo/collections/asr/modules/flashlight_decoder.py:300:11: C0103: Variable name "T" doesn't conform to snake_case naming style (invalid-name)
nemo/collections/asr/modules/flashlight_decoder.py:300:14: C0103: Variable name "N" doesn't conform to snake_case naming style (invalid-name)
nemo/collections/asr/modules/flashlight_decoder.py:17:0: W0611: Unused Iterable imported from typing (unused-import)
nemo/collections/asr/modules/flashlight_decoder.py:17:0: W0611: Unused Tuple imported from typing (unused-import)
nemo/collections/asr/modules/flashlight_decoder.py:23:0: W0611: Unused typecheck imported from nemo.core.classes (unused-import)
nemo/collections/asr/modules/flashlight_decoder.py:24:0: W0611: Unused LengthsType imported from nemo.core.neural_types (unused-import)
nemo/collections/asr/modules/flashlight_decoder.py:24:0: W0611: Unused LogprobsType imported from nemo.core.neural_types (unused-import)
nemo/collections/asr/modules/flashlight_decoder.py:24:0: W0611: Unused NeuralType imported from nemo.core.neural_types (unused-import)
nemo/collections/asr/modules/flashlight_decoder.py:24:0: W0611: Unused PredictionsType imported from nemo.core.neural_types (unused-import)
************* Module nemo.collections.asr.parts.submodules.ctc_beam_decoding
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:115:0: C0301: Line too long (110/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:134:0: C0301: Line too long (111/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:158:0: C0301: Line too long (123/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:181:0: C0301: Line too long (102/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:182:0: C0301: Line too long (110/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:183:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:270:0: C0301: Line too long (113/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:273:0: C0301: Line too long (117/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:293:0: C0301: Line too long (104/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:294:0: C0301: Line too long (103/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:305:0: C0301: Line too long (104/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:313:0: C0301: Line too long (106/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:326:0: C0301: Line too long (111/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:359:0: C0301: Line too long (113/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:364:0: C0301: Line too long (107/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:394:0: C0301: Line too long (104/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:424:0: C0301: Line too long (104/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:461:0: C0301: Line too long (106/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:592:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:356:17: W0511: TODO: Requires token ids to be returned rather than text. (fixme)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:1:0: C0114: Missing module docstring (missing-module-docstring)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:20:0: E0401: Unable to import 'torch' (import-error)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:32:0: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:44:12: W0612: Unused variable 'candidate_idx' (unused-variable)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:66:0: R0902: Too many instance attributes (8/7) (too-many-instance-attributes)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:120:31: R1721: Unnecessary use of a comprehension, use dict(enumerate(vocab)) instead. (unnecessary-comprehension)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:171:0: R0902: Too many instance attributes (16/7) (too-many-instance-attributes)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:187:4: R0913: Too many arguments (13/5) (too-many-arguments)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:187:4: R0917: Too many positional arguments (13/5) (too-many-positional-arguments)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:210:29: W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:299:4: R0914: Too many local variables (17/15) (too-many-locals)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:317:12: C0415: Import outside toplevel (pyctcdecode) (import-outside-toplevel)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:319:12: W0707: Consider explicitly re-raising using 'except (ImportError, ModuleNotFoundError) as exc' and 'raise ImportError(f'Could not load `pyctcdecode` library. Please install it from pip using :\npip install --upgrade pyctcdecode') from exc' (raise-missing-from)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:320:16: W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:350:16: W0612: Unused variable 'candidate_idx' (unused-variable)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:402:29: W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:424:12: C0415: Import outside toplevel (nemo.collections.asr.modules.flashlight_decoder.FlashLightKenLMBeamSearchDecoder) (import-outside-toplevel)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:451:16: W0612: Unused variable 'candidate_idx' (unused-variable)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:488:16: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:491:20: R1720: Unnecessary "else" after "raise", remove the "else" and de-indent the code inside it (no-else-raise)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:499:24: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:504:16: R1720: Unnecessary "else" after "raise", remove the "else" and de-indent the code inside it (no-else-raise)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:512:20: R1720: Unnecessary "elif" after "raise", remove the leading "el" from "elif" (no-else-raise)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:527:16: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:531:24: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:531:27: R1714: Consider merging these comparisons with 'in' by using 'self.kenlm_type in ('nemolm', 'lmplz')'. Use a set instead if elements are hashable. (consider-using-in)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:538:16: R1720: Unnecessary "else" after "raise", remove the "else" and de-indent the code inside it (no-else-raise)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:546:20: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:475:4: R0911: Too many return statements (9/6) (too-many-return-statements)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:475:4: R0912: Too many branches (25/12) (too-many-branches)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:557:0: C0115: Missing class docstring (missing-class-docstring)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:569:0: C0115: Missing class docstring (missing-class-docstring)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:579:0: C0115: Missing class docstring (missing-class-docstring)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:579:0: R0902: Too many instance attributes (11/7) (too-many-instance-attributes)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:591:71: W0108: Lambda may not be necessary (unnecessary-lambda)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:592:73: W0108: Lambda may not be necessary (unnecessary-lambda)
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py:596:0: C0115: Missing class docstring (missing-class-docstring)
************* Module nemo.collections.asr.parts.submodules.ctc_decoding
nemo/collections/asr/parts/submodules/ctc_decoding.py:53:0: C0301: Line too long (110/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:54:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:58:0: C0301: Line too long (111/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:59:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:70:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:72:0: C0301: Line too long (112/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:77:0: C0301: Line too long (114/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:81:0: C0301: Line too long (118/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:82:0: C0301: Line too long (114/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:88:0: C0301: Line too long (118/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:89:0: C0301: Line too long (112/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:98:0: C0301: Line too long (111/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:101:0: C0301: Line too long (119/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:103:0: C0301: Line too long (113/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:106:0: C0301: Line too long (103/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:122:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:124:0: C0301: Line too long (109/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:129:0: C0301: Line too long (105/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:130:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:134:0: C0301: Line too long (106/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:135:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:141:0: C0301: Line too long (103/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:166:0: C0301: Line too long (110/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:175:0: C0301: Line too long (102/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:178:0: C0301: Line too long (105/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:179:0: C0301: Line too long (102/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:182:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:183:0: C0301: Line too long (117/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:184:0: C0301: Line too long (110/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:224:0: C0301: Line too long (114/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:243:0: C0301: Line too long (104/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:249:0: C0301: Line too long (116/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:259:0: C0301: Line too long (209/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:316:0: C0301: Line too long (136/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:317:0: C0301: Line too long (118/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:321:0: C0301: Line too long (107/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:323:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:325:0: C0301: Line too long (108/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:364:0: C0301: Line too long (110/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:370:0: C0301: Line too long (114/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:383:0: C0301: Line too long (108/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:388:0: C0301: Line too long (107/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:396:0: C0301: Line too long (106/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:460:0: C0301: Line too long (105/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:461:0: C0301: Line too long (109/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:466:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:498:0: C0301: Line too long (115/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:498:0: C0301: Line too long (115/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:509:0: C0301: Line too long (104/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:517:0: C0301: Line too long (111/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:555:0: C0301: Line too long (103/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:567:0: C0301: Line too long (102/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:604:0: C0301: Line too long (114/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:643:0: C0301: Line too long (111/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:653:0: C0301: Line too long (102/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:683:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:684:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:687:0: C0301: Line too long (109/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:708:0: C0301: Line too long (111/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:717:0: C0301: Line too long (103/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:734:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:735:0: C0301: Line too long (103/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:737:0: C0301: Line too long (112/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:738:0: C0301: Line too long (112/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:741:0: C0301: Line too long (109/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:749:0: C0301: Line too long (108/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:753:0: C0301: Line too long (114/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:772:0: C0301: Line too long (112/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:777:0: C0301: Line too long (102/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:795:0: C0301: Line too long (107/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:796:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:845:0: C0301: Line too long (104/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:861:0: C0301: Line too long (110/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:862:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:866:0: C0301: Line too long (111/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:867:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:878:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:880:0: C0301: Line too long (112/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:885:0: C0301: Line too long (114/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:889:0: C0301: Line too long (118/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:890:0: C0301: Line too long (114/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:896:0: C0301: Line too long (118/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:897:0: C0301: Line too long (112/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:906:0: C0301: Line too long (111/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:909:0: C0301: Line too long (119/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:911:0: C0301: Line too long (113/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:914:0: C0301: Line too long (103/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:930:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:932:0: C0301: Line too long (109/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:937:0: C0301: Line too long (105/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:938:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:942:0: C0301: Line too long (106/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:943:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:949:0: C0301: Line too long (103/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:974:0: C0301: Line too long (110/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:983:0: C0301: Line too long (102/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:986:0: C0301: Line too long (105/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:987:0: C0301: Line too long (102/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:990:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:991:0: C0301: Line too long (117/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:992:0: C0301: Line too long (110/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1058:0: C0301: Line too long (108/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1074:0: C0301: Line too long (110/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1075:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1079:0: C0301: Line too long (111/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1080:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1091:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1093:0: C0301: Line too long (112/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1098:0: C0301: Line too long (114/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1102:0: C0301: Line too long (118/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1103:0: C0301: Line too long (114/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1109:0: C0301: Line too long (118/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1110:0: C0301: Line too long (112/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1119:0: C0301: Line too long (111/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1122:0: C0301: Line too long (119/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1124:0: C0301: Line too long (113/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1127:0: C0301: Line too long (103/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1143:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1145:0: C0301: Line too long (109/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1150:0: C0301: Line too long (105/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1151:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1155:0: C0301: Line too long (106/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1156:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1162:0: C0301: Line too long (103/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1187:0: C0301: Line too long (110/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1196:0: C0301: Line too long (102/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1199:0: C0301: Line too long (105/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1200:0: C0301: Line too long (102/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1203:0: C0301: Line too long (101/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1204:0: C0301: Line too long (117/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1205:0: C0301: Line too long (110/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1221:0: C0301: Line too long (109/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1245:0: C0301: Line too long (114/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1278:0: C0301: Line too long (103/100) (line-too-long)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1:0: C0302: Too many lines in module (1314/1000) (too-many-lines)
nemo/collections/asr/parts/submodules/ctc_decoding.py:472:17: W0511: TODO: remove (fixme)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1:0: C0114: Missing module docstring (missing-module-docstring)
nemo/collections/asr/parts/submodules/ctc_decoding.py:20:0: E0401: Unable to import 'numpy' (import-error)
nemo/collections/asr/parts/submodules/ctc_decoding.py:21:0: E0401: Unable to import 'torch' (import-error)
nemo/collections/asr/parts/submodules/ctc_decoding.py:22:0: E0401: Unable to import 'omegaconf' (import-error)
nemo/collections/asr/parts/submodules/ctc_decoding.py:32:0: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/asr/parts/submodules/ctc_decoding.py:37:0: R0902: Too many instance attributes (10/7) (too-many-instance-attributes)
nemo/collections/asr/parts/submodules/ctc_decoding.py:191:4: R0912: Too many branches (18/12) (too-many-branches)
nemo/collections/asr/parts/submodules/ctc_decoding.py:305:4: R0914: Too many local variables (16/15) (too-many-locals)
nemo/collections/asr/parts/submodules/ctc_decoding.py:358:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
nemo/collections/asr/parts/submodules/ctc_decoding.py:369:20: C0200: Consider using enumerate instead of iterating with range and len (consider-using-enumerate)
nemo/collections/asr/parts/submodules/ctc_decoding.py:395:16: C0200: Consider using enumerate instead of iterating with range and len (consider-using-enumerate)
nemo/collections/asr/parts/submodules/ctc_decoding.py:305:4: R0912: Too many branches (14/12) (too-many-branches)
nemo/collections/asr/parts/submodules/ctc_decoding.py:404:4: R0914: Too many local variables (16/15) (too-many-locals)
nemo/collections/asr/parts/submodules/ctc_decoding.py:417:8: C0200: Consider using enumerate instead of iterating with range and len (consider-using-enumerate)
nemo/collections/asr/parts/submodules/ctc_decoding.py:424:19: C0123: Use isinstance() rather than type() for a typecheck. (unidiomatic-typecheck)
nemo/collections/asr/parts/submodules/ctc_decoding.py:696:12: W0612: Unused variable 'i' (unused-variable)
nemo/collections/asr/parts/submodules/ctc_decoding.py:810:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/asr/parts/submodules/ctc_decoding.py:821:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/asr/parts/submodules/ctc_decoding.py:832:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1005:26: R1717: Consider using a dictionary comprehension (consider-using-dict-comprehension)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1277:0: C0115: Missing class docstring (missing-class-docstring)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1277:0: R0902: Too many instance attributes (10/7) (too-many-instance-attributes)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1297:24: W0108: Lambda may not be necessary (unnecessary-lambda)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1306:61: W0108: Lambda may not be necessary (unnecessary-lambda)
nemo/collections/asr/parts/submodules/ctc_decoding.py:1313:0: C0115: Missing class docstring (missing-class-docstring)
************* Module scripts.asr_language_modeling.ngram_lm.create_lexicon_from_arpa
scripts/asr_language_modeling/ngram_lm/create_lexicon_from_arpa.py:16:0: C0301: Line too long (102/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/create_lexicon_from_arpa.py:18:0: C0301: Line too long (111/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/create_lexicon_from_arpa.py:20:0: C0301: Line too long (108/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/create_lexicon_from_arpa.py:33:0: C0301: Line too long (117/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/create_lexicon_from_arpa.py:62:0: C0301: Line too long (101/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/create_lexicon_from_arpa.py:81:0: C0301: Line too long (102/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/create_lexicon_from_arpa.py:85:0: C0301: Line too long (103/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/create_lexicon_from_arpa.py:91:0: C0301: Line too long (108/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/create_lexicon_from_arpa.py:1:0: C0114: Missing module docstring (missing-module-docstring)
scripts/asr_language_modeling/ngram_lm/create_lexicon_from_arpa.py:44:8: R1722: Consider using 'sys.exit' instead (consider-using-sys-exit)
scripts/asr_language_modeling/ngram_lm/create_lexicon_from_arpa.py:52:4: C0103: Constant name "tokenizer" doesn't conform to UPPER_CASE naming style (invalid-name)
scripts/asr_language_modeling/ngram_lm/create_lexicon_from_arpa.py:73:19: R1714: Consider merging these comparisons with 'in' by using 'word in ('<UNK>', '<unk>', '<s>', '</s>')'. Use a set instead if elements are hashable. (consider-using-in)
scripts/asr_language_modeling/ngram_lm/create_lexicon_from_arpa.py:77:28: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
scripts/asr_language_modeling/ngram_lm/create_lexicon_from_arpa.py:84:28: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
scripts/asr_language_modeling/ngram_lm/create_lexicon_from_arpa.py:91:36: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
************* Module scripts.asr_language_modeling.ngram_lm.eval_beamsearch_ngram_ctc
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:17:0: C0301: Line too long (114/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:18:0: C0301: Line too long (107/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:19:0: C0301: Line too long (125/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:79:0: C0301: Line too long (109/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:91:0: C0301: Line too long (107/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:96:0: C0301: Line too long (101/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:102:0: C0303: Trailing whitespace (trailing-whitespace)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:123:0: C0303: Trailing whitespace (trailing-whitespace)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:124:0: C0301: Line too long (105/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:169:0: C0301: Line too long (114/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:170:0: C0301: Line too long (112/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:171:0: C0301: Line too long (104/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:172:0: C0301: Line too long (106/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:173:0: C0301: Line too long (121/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:192:0: C0303: Trailing whitespace (trailing-whitespace)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:196:0: C0301: Line too long (102/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:203:0: C0301: Line too long (125/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:206:0: C0301: Line too long (113/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:224:0: C0301: Line too long (117/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:273:0: C0301: Line too long (102/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:278:0: C0301: Line too long (106/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:280:0: C0301: Line too long (120/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:293:0: C0301: Line too long (110/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:306:0: C0301: Line too long (114/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:309:0: C0301: Line too long (109/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:319:0: C0301: Line too long (104/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:353:0: C0301: Line too long (112/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:367:0: C0301: Line too long (122/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:368:0: C0301: Line too long (148/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:409:0: C0301: Line too long (119/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:418:0: C0301: Line too long (138/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:419:0: C0301: Line too long (111/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:420:0: C0301: Line too long (157/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:429:0: C0301: Line too long (119/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:432:0: C0301: Line too long (119/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:440:0: C0301: Line too long (105/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:480:0: C0301: Line too long (106/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:280:35: W0511: TODO fix bug for Flashlight beamsearch with beam_batch_size>1 and remove this assert (fixme)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:68:0: E0401: Unable to import 'editdistance' (import-error)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:69:0: E0401: Unable to import 'numpy' (import-error)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:70:0: E0401: Unable to import 'torch' (import-error)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:71:0: E0401: Unable to import 'omegaconf' (import-error)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:72:0: E0401: Unable to import 'sklearn.model_selection' (import-error)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:73:0: E0401: Unable to import 'tqdm.auto' (import-error)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:87:0: R0902: Too many instance attributes (12/7) (too-many-instance-attributes)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:132:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:132:0: R0913: Too many arguments (11/5) (too-many-arguments)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:132:0: R0917: Too many positional arguments (11/5) (too-many-positional-arguments)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:132:0: R0914: Too many local variables (43/15) (too-many-locals)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:208:12: C0200: Consider using enumerate instead of iterating with range and len (consider-using-enumerate)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:247:35: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:258:12: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:264:12: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:269:8: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:273:17: W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:132:0: R0912: Too many branches (19/12) (too-many-branches)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:132:0: R0915: Too many statements (69/50) (too-many-statements)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:191:19: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:279:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:279:0: R0914: Too many local variables (45/15) (too-many-locals)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:368:19: C0123: Use isinstance() rather than type() for a typecheck. (unidiomatic-typecheck)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:409:17: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:413:7: C0121: Comparison 'cfg.ctc_decoding.beam.return_best_hypothesis == True' should be 'cfg.ctc_decoding.beam.return_best_hypothesis is True' if checking for the singleton value True, or 'cfg.ctc_decoding.beam.return_best_hypothesis' if testing for truthiness (singleton-comparison)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:429:21: W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:431:21: W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:432:21: W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:480:21: W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:279:0: R0912: Too many branches (39/12) (too-many-branches)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:279:0: R0915: Too many statements (133/50) (too-many-statements)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:484:4: E1120: No value for argument 'cfg' in function call (no-value-for-parameter)
************* Module scripts.asr_language_modeling.ngram_lm.eval_beamsearch_ngram_transducer
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:17:0: C0301: Line too long (114/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:18:0: C0301: Line too long (129/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:19:0: C0301: Line too long (108/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:42:0: C0301: Line too long (112/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:88:0: C0301: Line too long (107/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:94:0: C0301: Line too long (101/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:108:0: C0301: Line too long (126/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:109:0: C0301: Line too long (140/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:111:0: C0301: Line too long (149/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:112:0: C0301: Line too long (162/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:118:0: C0301: Line too long (139/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:164:0: C0301: Line too long (245/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:165:0: C0301: Line too long (101/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:173:0: C0301: Line too long (112/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:177:0: C0301: Line too long (110/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:194:0: C0301: Line too long (118/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:221:0: C0301: Line too long (109/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:225:0: C0301: Line too long (149/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:229:0: C0301: Line too long (132/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:232:0: C0301: Line too long (124/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:234:0: C0301: Line too long (102/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:239:0: C0301: Line too long (106/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:252:0: C0301: Line too long (117/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:255:0: C0301: Line too long (114/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:263:0: C0301: Line too long (101/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:265:0: C0301: Line too long (105/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:280:0: C0301: Line too long (102/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:290:0: C0301: Line too long (106/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:296:0: C0301: Line too long (101/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:306:0: C0301: Line too long (112/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:339:0: C0301: Line too long (111/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:368:0: C0301: Line too long (101/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:384:0: C0301: Line too long (121/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:388:0: C0301: Line too long (119/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:396:0: C0301: Line too long (111/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:454:0: C0301: Line too long (106/100) (line-too-long)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:68:0: E0401: Unable to import 'editdistance' (import-error)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:69:0: E0401: Unable to import 'numpy' (import-error)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:70:0: E0401: Unable to import 'torch' (import-error)
scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:71:...*[Comment body truncated]* This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days. This PR was closed because it has been inactive for 7 days since being marked as stale.
# What does this PR do ?

Add a one line overview of what this PR aims to accomplish.

**Collection**: [Note which collection this PR will affect]

# Changelog 
- Add specific line by line info of high level changes in this PR.

# Usage
* You can potentially add a usage example below

```python
# Add a code snippet demonstrating how to use this 
```

# GitHub Actions CI

The Jenkins CI system has been replaced by GitHub Actions self-hosted runners.

The GitHub Actions CI will run automatically when the "Run CICD" label is added to the PR.
To re-run CI remove and add the label again.
To run CI on an untrusted fork, a NeMo user with write access must first click "Approve and run".

# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
  - [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
  
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation

If you haven't finished some of the above items you can still open "Draft" PR.


## Who can review?

Anyone in the community is free to review the PR once the checks have passed. 
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.

# Additional Information
* Related to # (issue)
