From d792bdc9bc5e9451ee9119954ddaa4df11167b4e Mon Sep 17 00:00:00 2001 From: Jun Wang Date: Sat, 25 Jun 2022 11:00:53 +0800 Subject: [PATCH] fix typo (#445) --- egs/aishell/ASR/conformer_ctc/conformer.py | 2 +- egs/aishell/ASR/conformer_mmi/conformer.py | 2 +- egs/aishell/ASR/transducer_stateless/conformer.py | 2 +- egs/aishell4/ASR/pruned_transducer_stateless5/conformer.py | 2 +- egs/gigaspeech/ASR/conformer_ctc/conformer.py | 2 +- egs/librispeech/ASR/conformer_ctc/conformer.py | 2 +- egs/librispeech/ASR/conformer_mmi/conformer.py | 2 +- egs/librispeech/ASR/pruned_transducer_stateless2/conformer.py | 2 +- egs/librispeech/ASR/pruned_transducer_stateless5/conformer.py | 2 +- egs/librispeech/ASR/pruned_transducer_stateless6/conformer.py | 2 +- egs/librispeech/ASR/streaming_conformer_ctc/conformer.py | 2 +- egs/librispeech/ASR/transducer_stateless/conformer.py | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/egs/aishell/ASR/conformer_ctc/conformer.py b/egs/aishell/ASR/conformer_ctc/conformer.py index 7bd0f95cf..1e3e7b492 100644 --- a/egs/aishell/ASR/conformer_ctc/conformer.py +++ b/egs/aishell/ASR/conformer_ctc/conformer.py @@ -364,7 +364,7 @@ class RelPositionalEncoding(torch.nn.Module): ): self.pe = self.pe.to(dtype=x.dtype, device=x.device) return - # Suppose `i` means to the position of query vecotr and `j` means the + # Suppose `i` means to the position of query vector and `j` means the # position of key vector. We use position relative positions when keys # are to the left (i>j) and negative relative positions otherwise (ij) and negative relative positions otherwise (ij) and negative relative positions otherwise (ij) and negative relative positions otherwise (ij) and negative relative positions otherwise (ij) and negative relative positions otherwise (ij) and negative relative positions otherwise (ij) and negative relative positions otherwise (ij) and negative relative positions otherwise (ij) and negative relative positions otherwise (ij) and negative relative positions otherwise (ij) and negative relative positions otherwise (i