Skip to content

Commit

Permalink
Merge branch 'msekoyan/tdt_compute_timestamps' of https://github.com/…
Browse files Browse the repository at this point in the history
…NVIDIA/NeMo into msekoyan/tdt_compute_timestamps
  • Loading branch information
monica-sekoyan committed Oct 22, 2024
2 parents ea5089e + b729537 commit ade8cab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nemo/collections/asr/parts/submodules/ctc_decoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,8 +749,9 @@ def _compute_offsets(
return offsets

@staticmethod
def _refine_timestamps(char_offsets: List[Dict[str, Union[str, int]]],
supported_punctuation: Optional[Set] = None) -> List[Dict[str, Union[str, int]]]:
def _refine_timestamps(
char_offsets: List[Dict[str, Union[str, int]]], supported_punctuation: Optional[Set] = None
) -> List[Dict[str, Union[str, int]]]:

if not supported_punctuation:
return char_offsets
Expand Down

0 comments on commit ade8cab

Please sign in to comment.