---
title: "An End-to-End Speech Recognition for the Nepali Language (2021)"
description: "How joint CTC and attention transcribe Nepali speech without a hand-built pronunciation dictionary, and what the reported character errors reveal."
canonical: "https://research.elamur.ai/free/en/papers/regmi-2021-end-end-speech-recognition-nepali/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/regmi-2021-end-end-speech-recognition-nepali/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2021](https://md.research.elamur.ai/free/en/papers/2021/) / An End-to-End Speech Recognition for the Nepali Language

# An End-to-End Speech Recognition for the Nepali Language

Paper · 2021 · Sunil Regmi and Bal Krishna Bal

**Authors:** [Sunil Regmi](https://md.research.elamur.ai/free/en/authors/sunil-regmi/) and [Bal Krishna Bal](https://md.research.elamur.ai/free/en/authors/bal-krishna-bal/) · **Year:** 2021 · **Venue:** Proceedings of the 18th International Conference on Natural Language Processing (ICON) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the 18th International Conference on Natural Language Processing (ICON) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2021.icon-main.22/)
- [PDF](https://aclanthology.org/2021.icon-main.22.pdf)

## Summary

A speech recognizer has to decide what was said and how to write it. For Nepali, much of the work surveyed by Regmi and Bal approached these decisions through separate components for the sound, the pronunciations of words, and the likelihood of different word sequences. Building a pronunciation dictionary for that kind of system takes time and linguistic expertise. The authors ask whether a recognizer can learn to write Nepali in Devanagari directly from recordings paired with transcripts. Their system uses publicly available audio from Open Speech and Language Resources and produces character sequences, including spaces, without requiring a hand-built list of word pronunciations.

The recognizer gives the same representation of the recording to two components that handle the relationship between sound and text differently. Connectionist temporal classification, or CTC, scores character sequences whose order follows the recording and can learn from a transcript whose individual characters have no timestamps. The attention decoder predicts each next character using the text it has already produced and the parts of the recording it finds relevant. A separately trained recurrent network supplies an additional score based on how plausible each candidate looks as written Nepali. During decoding, the process of choosing a transcription, the system uses all three sources of evidence in a single search.

The authors combined SLR54 and SLR43, using ~159k recorded utterances in all. SLR54 supplied most of the recordings, while SLR43 added longer sentences from a multi-speaker collection made for speech synthesis. On the mixed data, the system achieved a character error rate of 11.7% on validation and 10.3% on test. This measure counts the character substitutions, deletions, and insertions needed to turn the system’s output into the reference text. The authors also looked at individual test predictions. In one example the recognizer wrote a quantity in digits where the reference used a numeral and a word. They observed substitutions between particular Devanagari letters and cases where a mark was missed.

The experiment establishes that this combination can transcribe Nepali recordings from the mixed corpus at the reported character error rates without a pronunciation dictionary. Those rates belong to the complete system and the reported split. The paper evaluates that configuration as a whole, leaving the contributions of its individual components open. Its examples also show why an error rate needs to be read alongside actual transcripts. A mismatch can reflect a different way of writing the same quantity, a missing piece of a written form, or a change to the content a reader sees.

## Deep dive: An End-to-End Speech Recognition for the Nepali Language

How joint CTC and attention transcribe Nepali speech without a hand-built pronunciation dictionary, and what the reported character errors reveal. · about 33 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### What goes into recognizing Nepali speech

A Nepali speech recognizer takes a stretch of [speech](https://md.research.elamur.ai/free/en/topics/speech/) and returns a line of writing. The timing of the input and the structure of the output differ. A recording extends over time, and speakers can take longer over some sounds than others. A transcript presents its symbols in order and ordinarily supplies no boundaries indicating exactly where each symbol belongs in the audio. A system trained from paired recordings and transcripts therefore needs a way to associate parts of the signal with text even when the training pairs supply only the complete utterance and its written form.

The conventional systems described in the paper handle this task through several cooperating components. The acoustic component scores aspects of the recorded signal. In the historical account the authors cite, this part is built using hidden Markov models, which represent a sequence progressing through states that are inferred from the observations, and Gaussian mixture models, which describe the range of acoustic observations associated with those states. A lexical component supplies the pronunciations associated with written words. A separate component scores how likely sequences of words are. This last job is the role of a [language model](https://md.research.elamur.ai/free/en/concepts/language-model/).

Each component supplies information the others need at the point of decoding. An acoustic sequence suggests possible pronunciations. The dictionary tells the search which words those pronunciations can represent. Scores for word sequences help the search weigh candidates in the context of what precedes or follows them. The division makes the pronunciation resource a practical dependency. Someone has to supply the connection between a written vocabulary and the units used to represent its sounds. The paper also points to the work involved in preparing text for a new language when the word-level components depend on language-specific [tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/).

The authors present these costs as a reason to investigate an end-to-end system for Nepali. In the system they study, the output units are characters drawn from the available transcriptions. The training pairs supply examples of how recordings correspond to those characters, and the search assembles them into text. A recurrent text predictor still contributes to decoding, so there is a distinction between dispensing with a pronunciation dictionary and dispensing with linguistic evidence. The new arrangement draws that evidence from character sequences seen in training.

The script matters because it determines what a character-level system is asked to write. The paper describes Devanagari as broadly phonetic, with a close relationship between how Nepali is written and how it is pronounced. It gives 11 vowels and 33 consonants as a description of Nepali’s inventory. The recognizer’s output also needs written units outside those categories. The inventory the authors give includes marks, Devanagari digits, punctuation, and a space. In practice, building a target alphabet means deciding which units occur in the training transcripts and should be available to the decoder.

That choice also guides the evaluation. A recognizer trained to reproduce written units can be judged on how closely its output matches the written reference. The score consequently depends on transcription conventions as well as on what was audible. Spoken quantities, for instance, need a written representation. A system can recognize a quantity yet choose a representation different from the one used in the reference. For a reader trying to understand the paper, this distinction connects the choice of character targets to the interpretation of character errors.

#### What earlier Nepali systems attempted

The related-work discussion covers recognition at several scales. Prajapati and colleagues investigated the recognition of individual letters. The authors describe their Ear Model as a response to weaknesses they identified in dynamic time warping, a way of matching time sequences that progress at different speeds. Ssarma and colleagues used a hidden Markov approach for isolated Nepali words. These studies delimit the input before recognition. Working with an isolated item narrows the task compared with transcribing an utterance that contains a sequence of words.

Baral and Shrestha addressed continuous recognition with a larger vocabulary. They built a phonetic dictionary and compared conventional acoustic approaches in Kaldi, including systems that used speaker adaptation. Their work illustrates how a Nepali system could accommodate a substantial vocabulary within a dictionary-based design. It also illustrates the kind of preparatory effort Regmi and Bal sought to avoid. Lexical coverage, acoustic training, and the recognition search were each explicit parts of the earlier study.

The authors identify earlier Nepali work that moved towards direct recognition with CTC. Regmi and colleagues paired a recurrent network with CTC and used additional linguistic scoring. Bhatta used a convolutional network, a gated recurrent unit, and CTC on recordings from Open Speech and Language Resources. The convolutional component finds patterns across neighboring input values, while the gated recurrent unit carries information through the sequence. Both examples were relevant precedents because the CTC objective lets a recognizer train on an utterance-level transcript without needing a frame-by-frame transcription.

The literature survey also mentions a cloud service that supported Nepali. The service demonstrated that Nepali recognition was available to users, while public information on its underlying method was limited. For an experimental paper, there is a practical difference between the availability of a service and the availability of an architecture and data setup that researchers can describe and reuse. Regmi and Bal ground their own experiment in named corpora and an existing research toolkit.

The authors identify the use of attention alongside CTC as the gap their study addresses. In their account, earlier Nepali end-to-end work used CTC. They draw the joint design from research on speech recognition beyond Nepali, where Kim and colleagues used a CTC training objective alongside attention, and Hori and colleagues combined the two during decoding and described an architecture with a deep convolutional encoder and recurrent text scoring. The contribution of the Nepali study is to apply that design to the language and report how the resulting recognizer performs on a specific collection of recordings.

#### Why put CTC and attention together?

A complete utterance comes with the sequence to be written. Its corresponding moments in the recording are the missing information. CTC handles that uncertainty while keeping the order of the written units consistent with the progress of the recording. That order constraint suits a task where the beginning of an utterance generally corresponds to the beginning of its transcript, and the recognizer advances through both as it goes. The authors describe the resulting alignment as monotonic.

Attention gives the decoder a more flexible way to find the relevant audio. As the decoder chooses each new character, it can give greater weight to some encoded parts of the recording than to others. Its choice can also depend on the output history. That gives it a way to represent dependencies among the written units. The paper contrasts this flexibility with the conditional independence assumptions that make CTC’s sequence scoring manageable.

Flexibility also gives an attention system more scope to associate an output with an ill-chosen region of the input. Earlier work cited by the authors used CTC during training to encourage the shared representation to support a more orderly alignment. It also used CTC in decoding to bring that evidence to bear on the actual transcription chosen. Those are distinct opportunities to influence the system. Training shapes what the recognizer learns from pairs of speech and text. Decoding determines how the trained components weigh the candidates for a particular recording. The Nepali study adopts the combination in both places.

### The method, step by step

#### From an utterance to written characters

The system learns from pairs. Each pair contains a recording and the Nepali text assigned to it. The acoustic input is represented as a sequence of feature vectors, each describing a region of the signal. An encoder transforms that sequence so that the parts used to predict text can draw on information from the recording. The encoder is shared. CTC and attention work from the same acoustic representation, while the additional recurrent text predictor learns from the transcription side of the data.

The decoder’s output is an ordered string. A boundary between words can be represented by a space, and letters and other written symbols are predicted as members of the same output inventory. The text predictor attaches scores to candidate sequences as the search constructs them. In a conventional system a pronunciation dictionary would specify how candidate words correspond to sound units. Here the speech-to-text association is learned from the examples, and the candidate text can be built by extending a sequence of characters.

From a Nepali recording to a transcription The steps in order.

The authors carry out the work in ESPnet, a toolkit for end-to-end speech processing. Their description places Kaldi at the data preparation side of the workflow and uses [PyTorch](https://md.research.elamur.ai/free/en/papers/paszke-2019-pytorch-imperative-style-high-performance/) for the deep learning framework. The toolkit setup matters to the account of the method because the paper describes adapting an existing recognition recipe. Its main design choices are the training data, transcription units, parameters of the network, and the way the scores are used in decoding.

#### Prepare audio and transcription pairs

The speech data come from Open Speech and Language Resources. The larger corpus supplies files of recorded Nepali utterances together with a text file that maps utterance identifiers to their transcripts. The identifier makes it possible to retrieve the text for a particular recording. During acoustic training, that full text is the target. During evaluation, it serves as the reference against which the recognizer’s proposed text is compared. The authors add recordings and transcripts from a Nepali corpus prepared for multi-speaker text-to-speech work.

The experimental split begins with a division in the ratio of 8:2 for the portion set aside for training and the test portion. The authors then take the 80% initially assigned to training and divide it again in a ratio of 8:2 to form the final training and validation portions. The ratios describe successive divisions. The validation portion comes out of the initial training allocation, and the test portion comes from the first division. The paper reports results separately for validation and test.

The targets come from an inventory the authors derived from the transcriptions. They report using 71 characters out of a stated set of 129 Unicode characters. The chosen units are indexed from 0 to 70. The indices are labels for the recognizer’s output classes. The written characters are what appear in the final text. For example, a space can be predicted in the same way as another member of the inventory even though its effect on a reader is to divide the string into words.

The paper calls this inventory U. Its description of the indexed set can be written compactly as follows.

```
U = {uᵢ | i ∈ {0, …, 70}}
```

U is the set of output characters described by the authors. The symbol uᵢ means the character assigned to index i. The vertical bar means “such that,” and ∈ means that i belongs to the index set inside the inner braces. The ellipsis includes the intervening indices between 0 and 70. The outer braces collect the resulting characters, and the equals sign identifies that collection with U. The paper uses L for the length of a particular output sequence. U gives the available units, while L describes how many positions the recognizer fills for that utterance.

The distinction between an inventory and a sequence matters for repeated characters. A symbol has a single place in the inventory and can occur at multiple positions in a transcript. The search has to preserve these occurrences when the recording supports them. It also has to decide when to emit a space, digit, or mark. Those decisions belong to transcription even when their correspondence to an audible event is less direct than for a letter.

#### Describe the signal before encoding it

The input to the learned encoder is a description of the sound on a Mel scale. This expresses the frequency content of successive portions of the recording in a form intended to capture information useful for distinguishing sounds. The architecture section describes this step in terms of Mel-frequency cepstral coefficients, abbreviated MFCC. The experiment section gives a more specific description of the features actually supplied to the convolutional and recurrent encoder. It reports 80 mel-scale filter banks, along with delta and delta-delta features.

The filter-bank features describe the signal in frequency bands. The delta features convey how the description changes as the recording moves forward in time. The delta-delta features convey how that change itself varies. Together, they give the encoder both information about the signal in a region and some indication of how it is developing across nearby regions. The experiment section is the place where the paper specifies the filter-bank count and accompanying features for the run that produced its results.

These acoustic features still run along the time axis of the recording. The final target runs along a different axis, the characters in the transcript. A series of nearby feature vectors may all help to identify a single written character, while another portion may provide little evidence for emitting any visible character. The features give the system material from which to learn that correspondence. The mechanisms that score possible correspondences operate on the encoder’s output later in the pipeline.

#### Encode local patterns and wider context

The first learned part of the encoder uses a convolutional neural network, or CNN. Convolutional filters look for patterns in small neighborhoods of their input and apply the same learned operations as they move across it. In this setting the input represents the changing frequency content of an utterance. The authors trace the design of the front end to the early layers of the Visual Geometry Group architecture described in [Very Deep Convolutional Networks for Large-Scale Image Recognition](https://md.research.elamur.ai/free/en/papers/simonyan-2014-very-deep-convolutional-networks-large/). They describe the front end as a 6-layer CNN. The description of the experiment also states that convolutional features are extracted using 10 centered filters, each 100 units wide.

The convolutional output then passes through bidirectional long short-term memory layers, abbreviated BLSTM. An LSTM is a recurrent neural network that can carry a learned state along a sequence. The bidirectional arrangement processes the encoded recording in both temporal directions. The resulting representation at a position can draw on information from earlier and later parts of the utterance. The experimental encoder uses 4 BLSTM layers with 320 units in each direction of each layer.

The layers serve different purposes. Convolution detects useful local configurations in the acoustic description. The bidirectional recurrent layers place those configurations in context as the utterance unfolds. An acoustic pattern can then be represented with information from its surroundings before a character decision is made. The method description says the CTC component takes its input from the last hidden layer of the BLSTM. The attention decoder also draws on the encoder. This shared representation is where the two training objectives can influence the same acoustic processing.

Bidirectionality here applies to the audio encoder. The character decoder still builds the transcription in order. Once the encoder has processed the recording, the decoder can consult a representation that includes later acoustic context while choosing a character from the beginning of the transcription. This distinction explains how the system can generate text sequentially while using surrounding information from the recording.

#### Learn the alignment with two objectives

Connectionist temporal classification is useful when training supplies the order of the target symbols but leaves their frame-level timing unspecified. CTC assigns scores to possible labeled paths through the encoder’s time sequence. Several paths can express the same final text because a character may occupy different stretches of the encoded input. Blank positions allow the path to consume time without writing a character. Under the CTC collapse rule, repeated labels at successive positions are merged, and blanks are removed. A blank can also separate repetitions that should survive as distinct occurrences in the final string.

For training, CTC considers the paths that collapse to the reference transcript. Positions for the first characters must occur before positions for the later ones, while the exact boundaries can vary among paths. This lets the system learn from the recorded utterance and its unsegmented transcript. The paper stresses the resulting ordering constraint and notes the role of conditional independence assumptions in calculating a sequence’s probability. Those assumptions concern the way CTC combines label predictions. Its label scores still come from a shared encoder that represents acoustic context.

The attention decoder uses another route from the encoded recording to the same target sequence. It predicts the next symbol in light of the preceding output and an attention-weighted view of the audio. Attention weights indicate which positions in the encoded sequence inform the current choice. They can move as the decoder advances through the text. The paper describes the decoder in its experimental setup as a 1-layer LSTM with 320 cells.

For the attention component, the sequence of earlier characters is part of the evidence when the next one is chosen. That allows the prediction to respond to relationships between consecutive output symbols. The attention mechanism also has considerable freedom over the positions it consults. Joint training uses the CTC objective to encourage the encoder to support alignments that progress through the recording in transcript order. Thus the same features have to serve the more constrained CTC path calculation and the attention decoder’s flexible prediction.

The paper describes interpolating the two objectives with a multitask learning rate and gives 0.3 as its typical setting. Expressed as a weighted training objective, the description is:

```
ℒ = λℒ꜀ₜ꜀ + (1 − λ)ℒₐₜₜ
```

ℒ denotes the combined objective written as a loss. ℒ꜀ₜ꜀ is the CTC loss and ℒₐₜₜ is the attention decoder’s loss. The coefficient λ is the multitask learning weight, with the convention here that it multiplies the CTC term. The expression 1 − λ gives the complementary weight on the attention term. Juxtaposition means multiplication, the minus sign gives the complement, the plus sign adds the weighted losses, and the equals sign defines the combined loss. The paper’s experimental section explicitly gives a separate CTC weight for decoding. A training weight and a search weight influence different decisions even if they have the same numerical value.

#### Learn a score for written sequences

The additional text component is a recurrent neural network, described as an RNN-LM. It gives higher scores to written sequences that its training has made more probable. Its output is used as evidence about the candidate characters, alongside the evidence from the recording. As a candidate grows, the recurrent state carries information from earlier characters that can affect the probability assigned to a proposed continuation.

The paper describes a single-layer LSTM for this component. It is trained separately on transcriptions, then combined with the decoder. The authors describe joint retraining with the other components as an option. The account of the reported experiments says the text component was trained individually and then combined, with collaborative retraining described as optional. The text training in the experiment drew on the transcriptions. Extra text was a direction the authors proposed for future improvement.

There are now two routes by which preceding output can affect a character choice. The attention decoder uses the emerging transcription together with the encoded recording. The recurrent text component scores the emerging transcription on its own. During search, the first can favor a character that makes sense in relation to the acoustics and the text so far. The second can favor a character sequence that looks plausible based on the written examples. The complete system can use both forms of evidence even though the text component can be trained separately.

The authors report training for 20 epochs with a patience setting of 2. An epoch is a pass through the training data, and patience sets how long a training procedure waits for improvement under its stopping rule. The paper gives the training schedule and patience value together. It uses AdaDelta to update the learned parameters and applies gradient clipping, which limits the magnitude of the gradients used to make those updates. These settings describe the optimization of the recognizer instead of the search for text at test time.

#### Search for the finished transcript

An utterance admits many possible output strings. The decoder uses beam search to keep a bounded set of promising partial transcripts as it considers ways to continue them. A partial transcript is a character prefix. It can be extended by another character and evaluated again. Keeping competing prefixes gives the decoder some scope to recover when the best-looking short continuation would lead to a weaker complete transcription.

The paper reports a beam width of 20 for this search. It also gives a decoding CTC weight of 0.3. The beam width controls the breadth of the retained search. The CTC weight controls the influence of CTC evidence when the decoder compares candidates. The attention and CTC components score candidates in the same search, and the recurrent text score is integrated as decoding proceeds. The chosen transcript therefore reflects acoustic alignment, attention-based prediction, and textual plausibility.

This is what the authors mean by decoding in one pass. The text score is available while the alternatives are being considered, so it can affect which prefixes survive to be extended. A text score applied only to finished candidates would have a different opportunity to influence the result, since the search would have made its earlier pruning decisions already. The paper adopts the integrated procedure from the prior joint-decoding design it cites.

The training and decoding roles can now be read separately. During training, the transcript is known, and the CTC and attention objectives shape the shared acoustic encoder. The text component can learn from the written side of the pairs independently. During decoding, the recording is known, and the search uses the trained components to choose among possible transcripts. The reference for that recording is then reserved for scoring the resulting output.

### Experiments and results

#### What is in the mixed corpus?

The main Nepali speech collection, SLR54, contains ~157K utterances according to the paper. The authors report a total duration of 9,278 minutes and 11 seconds and count 86,062 unique utterances. A separate text file associates utterance identifiers with their transcriptions. The total and unique counts convey different properties of the corpus. The former describes the amount of recorded material the learner can encounter, while the latter describes diversity at the level at which the authors count unique utterances. A corpus can provide several recordings of a written item and still have fewer distinct items than recordings.

The added collection, SLR43, was prepared as multi-speaker text-to-speech data for Nepali. It contributes about 2064 utterances consisting of long sentences, spoken by 18 female speakers. The authors give its duration as 167 minutes and 45 seconds and its unique utterance count as 2064. The source and intended application of the recordings are different from those of the main corpus. For this experiment, both collections provide the same kind of training example, an audio file paired with a line of text.

The combined experiment uses ~159k utterances. The paper reports the validation and test results for the mixture. A description such as “the test rate on the mixed SLR54 and SLR43 data” identifies what was scored. Referring only to the size of the full corpus alongside the test error could obscure the distinction between the material available for the experiment and the subset to which the error rate applies. The reported score is based on the held-out test transcription characters.

Duration, utterance count, and transcription diversity help characterize the experiment in different ways. Duration describes the total amount of recorded signal. Utterance counts describe the number of examples in the data preparation process. Unique utterance counts are useful for thinking about repeated material. None of these counts gives the composition of an individual evaluation split by itself. The paper reports the split procedure and the reference character totals for validation and test, while the corpus descriptions apply to the source collections.

Training ran on an RTX 2060 GPU. The authors used a Ryzen 9 CPU with 16 cores for decoding. These details locate the result in a specific experimental configuration. The GPU is where the authors trained the network, and the CPU is where they searched for transcripts using the trained system. The reported outcome is transcription error. The two hardware descriptions identify the equipment for different stages of that experiment.

#### How the authors counted errors

Character error rate measures the editing needed to reconcile the prediction with the reference. A substitution changes a predicted character into the reference character at the corresponding position. A deletion accounts for a reference character omitted by the recognizer. An insertion accounts for an extra character present in the prediction. Alignment of the two strings allows the difference to be expressed through these operations, so a missing character need not cause every subsequent character to be counted as wrong.

The paper describes the calculation by pooling the character edits and dividing by the number of reference characters. Written as a ratio, it is:

```
CER = (S + D + I) / N
```

CER is the character error rate before expressing it as a percentage. S is the number of substitutions, D the number of deletions, and I the number of insertions summed across the evaluated split. N is the total number of characters in the corresponding reference transcripts. The plus signs pool the edit counts, the parentheses group their sum, and the slash divides that sum by N. The equals sign defines the resulting rate. The paper presents the corresponding values as percentages.

The denominator makes this a character-weighted result for a split. A longer reference contributes more character positions to the total than a shorter one. The statistic therefore answers a question about the pooled text, the amount of editing relative to the amount of reference material. An utterance-level question, such as how frequently the complete output exactly matches its reference, would require counting utterances by a different rule. The CER reported here is tied to the chosen representation and normalization of the written text.

The role of the reference deserves particular attention for Nepali text with visible marks and alternative ways of writing numbers. The score regards the reference as the target string. Where a mark appears as a distinct character in the representation being compared, missing it contributes to the edit count. Where the same spoken quantity is represented differently, several written positions may need changes. The evaluation gives a consistent account of string mismatch while leaving the nature of individual disagreements to the examples.

#### The validation and test results

On validation, the paper reports 53,726 character edits against 458,271 reference characters, for a CER of 11.7%. On test, it reports 59,483 character edits against 576,870 reference characters, for a CER of 10.3%. Both rates come from the complete joint CTC and attention system on the mixed corpora. The test split has a larger reference character total, which is why the pooled edit counts and the normalized rates give different impressions when read independently.

Character error rate on validation and test for mixed SLR54 and SLR43 The joint recognizer has a lower character error rate on test than on validation.

**The numbers**

| System or setting | CER % |
| --- | --- |
| Joint CTC and attention, validation | 11.7 |
| Joint CTC and attention, test (this paper) | 10.3 |

The two bars show the same system on different portions of the data. The comparison provides both evaluation results for the reported configuration and shows that the rate varies across the portions. A comparison between architectures would require scoring them on the same held-out utterances. A comparison between validation and test can instead reflect anything about the samples that changes their difficulty or the frequency of error types.

The numerical results in the paper’s discussion of prior work provide historical context. The earlier recurrent CTC study associated with Regmi and colleagues gives a character result near 34%, with wording that mixes error and accuracy. It is best read as the earlier paper’s approximate figure as characterized by the authors. Bhatta’s convolutional, recurrent, and CTC system is credited with a WER of 11%. WER is word error rate. Its edits are measured in words, so an incorrect character in a word can affect the score for that whole word. The two metrics have different denominators and refer to different outcomes.

The conventional continuous-recognition study by Baral and Shrestha used a 50K vocabulary. Regmi and Bal cite 29.45% as its lowest WER among the Gaussian mixture and hidden Markov configurations and 11.55% as the lowest WER among the deep neural configurations, in a system that combined time-delay and recurrent processing. The survey also cites 75% accuracy for the isolated-word task of Ssarma and colleagues. That measure concerns isolated words instead of the amount of character editing across complete transcriptions. These figures help place the study among earlier Nepali experiments with different tasks and methods. The paper’s own split has just one reported recognition configuration for CER.

The character-level result also has a particular relationship to vocabulary. The baseline from earlier conventional work is described in terms of the number of words it can handle. The joint recognizer instead produces a series of characters from its learned inventory. A character inventory describes the units from which candidate strings are built. A word vocabulary describes entries the system can use as lexical units. These are different descriptions of output coverage, which makes vocabulary size another reason to read the past studies in terms of their tasks and setups.

#### What the example transcripts reveal

The authors give sample reference and predicted strings for test items. Some segments agree, and others differ in small parts of the text. That view complements the pooled metric. The error table counts all edits across the split, while the sample strings allow a reader to see what the edits are doing. The examples address differences in numeric notation, substitutions between specific letters, and omissions of a mark.

The numeric example concerns a quantity written partly in words in the reference. The recognizer expresses that quantity as २०००. The authors observe that the two written forms can convey the same quantity. The reference comparison still charges edits for the changed spelling. A reader interested in whether the quantity was understood and a reader interested in whether the transcript follows a prescribed orthography may judge this result differently. The CER answers the latter type of question through literal agreement with the reference.

Other examples show the recognizer writing च where the reference gives छ, ब where it gives भ, and ग where it gives घ. These are identified directions of substitution in the authors’ discussion. They tell a reader which contrasts appeared in the inspected predictions and make the error report more specific than a count of edits. The paper also notes omissions of the mark ँ. An omitted mark and a substituted letter are distinct failures when examining what the output actually says, even though both contribute to the same aggregate rate.

The sample outputs illustrate why a character edit count is useful and incomplete at the same time. It registers small changes a coarser evaluation might leave implicit and gives a common measure for pooling them. Context tells whether an edit expresses the same content in a different format, changes part of a word, or leaves a written form incomplete. The paper offers observations at that level through individual examples. Establishing their frequency would require examining more of the error distribution than the selected strings describe.

### What the ablations show

The paper reports no component ablations, and its analyses consist of the validation and test results for the complete recognizer, comparisons with figures from earlier Nepali studies, and an inspection of selected test transcriptions.

#### Alignment is the rationale for the joint design

The case for pairing CTC and attention comes from what each objective asks of the encoder. CTC scores paths that advance through the recording in transcript order. Attention allows the next character to depend on the text already produced and on a flexible reading of the acoustic representation. In the authors’ account of previous work, including a CTC objective encourages the alignment learned with attention to follow the order desirable for speech recognition. The Nepali experiment adopts this rationale and reports the result for the combination.

Several distinct parts of the system could affect the final output. CTC participates in training and in beam search. The recurrent text predictor participates in search. The encoder uses both convolution and bidirectional recurrence. A comparison between attention alone and joint training would address the role of the CTC objective in learning the shared representation. Keeping training fixed while changing how CTC enters the beam search would address CTC’s decoding role. Each question concerns a different stage, although both involve the same named component.

Likewise, the additional recurrent text score is best understood as one influence within the full search. A paired comparison with that score varied and the other settings fixed would give evidence about its contribution to the reported Nepali result. The experiment presents the integrated configuration. It shows how the selected combination performs, while the size and direction of changes from removing individual parts remain open.

#### The split comparison concerns the evaluation data

The validation and test error rates can be compared because the authors use the same metric for both. Their difference reflects performance on different samples under the reported configuration. It offers an indication that the exact error rate depends on which utterances are in the evaluated portion. The paper gives total edits and reference characters for the two portions, which is useful for reading the difference as a corpus result rather than as a comparison based on a single example.

For a network comparison, the portions would play different roles. The authors use validation as part of the training setup and retain test as an evaluation portion. Evidence that a particular design choice improved recognition would come from holding the evaluation utterances fixed while changing that choice. The single configuration and two reported splits answer the question of observed performance under this setup. The role of architectural variants belongs to a separate comparison.

The figures from earlier papers have another purpose. They show the range of tasks and systems the authors considered relevant, including work on isolated words, conventional continuous recognition, and CTC-based end-to-end systems. Different metrics, corpora, and experimental setups make those figures historical context. In particular, the word and character rates measure different kinds of agreement. A lower number across those metrics cannot establish a benefit for the joint architecture.

#### The error inspection narrows the questions

The examples provide direct evidence about particular predictions. The number-format example shows that the reported scoring can register a disagreement even when the quantity conveyed agrees. The letter pairs show that some discrepancies lie in which member of a particular pair appears in the string. The omitted mark shows that a form can lose a written detail. These observations help distinguish what might be examined in a wider analysis of the errors.

A comparison of transcription normalization rules could determine how frequently equivalent number forms affect the pooled metric. A count of letter confusions across the split could show how prominent the reported pairs are relative to other substitutions. A tally of omissions by character could place the missing mark in context. The paper’s examples identify these questions through observed outputs. They leave the answers for a larger analysis, since the selection of examples supplies neither a frequency table nor a sampling design for estimating one.

The authors also suggest that tuning the multitask learning rate and the decoding CTC weight could reduce the error rate. The suggestion concerns two levers. The training weight changes the relative influence of CTC and attention when learning the recognizer. The decoding weight changes the ranking of candidates after training. Their effects could interact because a CTC score from an encoder trained with one balance may behave differently from the score learned under another balance. The reported settings provide a starting point for that question. The experiment gives the outcome of the chosen recipe, with parameter sensitivity left open.

### Limitations

#### Limits identified by the authors

The authors describe the audio they used as clean and explain why a controlled environment is attractive for training and evaluation. Unwanted sounds can include noises made by a speaker or events in the surrounding environment. The reported experiment concerns the available corpus recordings, which the paper characterizes as free of background noise. Performance under competing sounds, different recording conditions, or ordinary interruptions remains a separate empirical question.

They also point out that their training relied on the transcriptions available for the experiment. The recurrent text component did not draw on an additional text collection. The authors propose investigating more data and the use of a pretrained recurrent text predictor. The proposed improvement is a direction for subsequent experiments. The reported test and validation rates are evidence about the system trained with the resources described in this study.

Another direction the authors identify is to tune the weights used in joint learning and decoding. This acknowledges that the chosen recipe has adjustable parameters whose effects on Nepali transcription might be measured. The same conclusion recommends exploring transducers, conformers, and the [Transformer](https://md.research.elamur.ai/free/en/concepts/transformer/). These are suggestions for future architectural comparisons. The paper cites experience with other recognition tasks in motivating them and gives its Nepali measurements for the joint CTC and attention configuration.

The paper also considers faster training and decoding. It suggests multiple GPUs and points to Espresso as another toolkit worth considering for decoding speed. These remarks concern how a future experiment or recognition workflow might be run. The actual result is tied to the stated training and decoding hardware. A timing study would have to specify what was measured and compare the relevant configurations under consistent conditions.

#### Limits apparent from the experimental setup

The mixed-corpus score combines the contribution of data with different collection purposes. SLR54 provides most of the utterances, and SLR43 adds longer sentences recorded for a multi-speaker synthesis corpus. The paper gives pooled results for validation and test. Corpus-specific rates would help distinguish performance on the two sources, and a training comparison with and without the additional data would address whether including SLR43 helped. The pooled result supports a conclusion about the mixture used in the paper.

The split description gives ratios. It leaves open whether the allocations were made with explicit speaker separation or with grouping by repeated transcript. This matters because corpus figures indicate a difference between total and unique utterance counts. Repeated text, recordings from speakers heard in training, and recordings with both unfamiliar speakers and unfamiliar wording address different kinds of generalization. The test result is evidence for the reported allocation. Its provenance is insufficient to describe it as a test tailored to any one of those stronger conditions.

The result is also a single character error rate for each evaluation portion. The paper provides the total edits and total reference characters, so the scope of the measurement is clear. The report gives no distribution across speakers, lengths, or utterances. A pooled CER can be compatible with errors that are spread broadly or concentrated in a narrower set of clips. Readers interested in performance for a subgroup or in the likelihood that a particular full utterance will be transcribed correctly would need a breakdown suited to that question.

The representation of written Nepali sets limits on the meaning of the result. The authors choose a character inventory from the transcripts, and numbers and marks figure among the inspected errors. Details such as how equivalent numeric forms are normalized and how individual written marks are represented can affect measured agreement. The paper illustrates the issue with a quantity recorded in two forms. A semantic judgment about the quantity and an editing judgment about the string are both coherent, and the reported CER systematically answers the editing question.

Some implementation details are stated at different levels of generality. The method overview refers to MFCC, and the experiment describes mel-scale filter banks with their accompanying change features. The architecture overview describes how joint training and decoding work, while the experimental configuration explicitly states the decoding weight. Read together, the passages provide the overall data flow and the main run settings. A precise reproduction would still depend on the particular feature preparation, data allocation, and training choices used to obtain the reported values.

Finally, the paper’s evidence for the practicality of omitting a hand-built pronunciation resource is stronger than its evidence for superiority over conventional alternatives. The authors demonstrate a character-based recipe that runs on available Nepali speech and yields a measured error rate. The conventional figures in the paper come from earlier studies, with differences in task and metric. A head-to-head test on the same splits, with the same transcription conventions and scoring, would be needed to assign a comparative advantage to the end-to-end design.

### What came after

The later citing studies address different choices in speech recognition for Nepali and a neighboring language. Regmi and Bal’s study gives these questions a concrete reference point. Its output is a character sequence, its training uses paired recordings and transcripts, and its reported result comes from adapting an existing end-to-end architecture to the mixed Nepali corpora. The later titles identify changes in the written units, the way a recognizer is adapted, and the language and data used to examine transfer.

#### The units a recognizer writes

The work on a [pronunciation-aware syllable tokenizer for Nepali](https://md.research.elamur.ai/free/en/papers/ghimire-2023-pronunciation-aware-syllable-tokenizer-nepali/) addresses the choice of units for representing Nepali text. A syllable tokenizer groups text into syllable units and can make pronunciation relevant to that grouping. This follows a question raised by the character inventory in Regmi and Bal’s experiment. Once a recognition system can build a transcript from smaller units, the definition of those units determines the decisions the decoder makes as it extends the string. A syllable-based representation selects units at a different scale from the individual characters used in the joint CTC and attention system.

The relationship concerns how spoken Nepali is represented as a sequence for recognition. A character inventory gives individual written symbols their own positions in the output. A pronunciation-aware syllable tokenizer makes grouping part of preparing those outputs. Whether such grouping changes transcription error, and which errors it changes, would depend on the later study’s evaluation. The cited title establishes its focus on pronunciation-aware segmentation.

#### How the recognizer is adapted

[Reward-Guided Fine-Tuning of Whisper for Low-Resource Nepali Speech Recognition](https://md.research.elamur.ai/free/en/papers/pandit-2026-reward-guided-fine-tuning-whisper/) studies adaptation of Whisper for Nepali. Reward-guided fine-tuning concerns how a system is trained further using a reward to guide its behavior. This puts the emphasis on the learning procedure and the starting recognizer. Regmi and Bal investigated bringing an existing architecture to paired Nepali speech and text, with CTC and attention supplying the training objectives. The later work investigates a named recognizer and identifies the reward as part of its adaptation method.

This is a continuation of the problem of recognizing Nepali with limited available resources, with the training question stated differently. In the earlier work, the central evidence is that a specified lexicon-free recipe can be trained and evaluated on the mixed corpora. In the later title, the central question concerns how to fine-tune Whisper for the language. Any numerical comparison would depend on which recordings were evaluated and how the outputs were scored.

#### What transfers between languages

[Nwāchā Munā, a Devanagari speech corpus and proximal transfer benchmark for Nepal Bhasha ASR](https://md.research.elamur.ai/free/en/papers/sharma-2026-nwacha-muna-devanagari-speech-corpus/) takes the resource question to Nepal Bhasha. Its stated contributions are a speech corpus in Devanagari and a benchmark for proximal transfer. The connection with the Nepali study is through speech recognition for a language written in Devanagari and the role of speech and transcription resources in making it measurable. The benchmark makes transfer itself the object of evaluation.

A shared writing system gives the studies a point of contact at the level of text representation. The Nepal Bhasha corpus allows the evaluation to be defined for that language’s own recordings and transcripts. That is a distinct experimental purpose from the within-corpus Nepali evaluation, whose validation and test portions come from the same reported mixture of sources. The titles of the citing studies thus trace three concrete developments from the earlier setting. They examine the granularity of written units, the adaptation of a recognizer for Nepali, and the evaluation of transfer for Nepal Bhasha.

## Cite

Cite as Sunil Regmi and Bal Krishna Bal. 2021. An End-to-End Speech Recognition for the Nepali Language. Proceedings of the 18th International Conference on Natural Language Processing (ICON).

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{regmi2021end,
  title = {{An End-to-End Speech Recognition for the Nepali Language}},
  author = {Sunil Regmi and Bal Krishna Bal},
  booktitle = {Proceedings of the 18th International Conference on Natural Language Processing (ICON)},
  year = {2021},
  url = {https://aclanthology.org/2021.icon-main.22/}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
