---
title: "SriShell Primo: A Predictive Sinhala Text Input System (2008)"
description: "SriShell Primo turns informal Roman spellings into Sinhala word suggestions, reducing the need to memorize keyboard mappings while…"
canonical: "https://research.elamur.ai/free/en/papers/goonetilleke-2008-srishell-primo-predictive-sinhala-text/"
---
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/goonetilleke-2008-srishell-primo-predictive-sinhala-text/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2008](https://md.research.elamur.ai/free/en/papers/2008/) / SriShell Primo: A Predictive Sinhala Text Input System

# SriShell Primo: A Predictive Sinhala Text Input System

Paper · 2008 · Sandeva Goonetilleke, Yoshihiko Hayashi, Yuichi Itoh et al.

**Authors:** Sandeva Goonetilleke, Yoshihiko Hayashi, Yuichi Itoh and Fumio Kishino · **Year:** 2008 · **Venue:** Proceedings of the IJCNLP-08 Workshop on NLP for Less Privileged Languages · **Licence:** [CC BY-NC-SA 3.0 (ACL Anthology, before 2016)](https://creativecommons.org/licenses/by-nc-sa/3.0/)

Proceedings of the IJCNLP-08 Workshop on NLP for Less Privileged Languages · [licence](https://creativecommons.org/licenses/by-nc-sa/3.0/)

- [Publisher's page](https://aclanthology.org/I08-3009/)
- [PDF](https://aclanthology.org/I08-3009.pdf)

## Summary

Typing Sinhala on a Roman-letter keyboard can require a writer to remember a spelling they would never otherwise use. Earlier systems reviewed in the paper assign a particular key sequence to each Sinhala character. Some assignments resemble the character’s pronunciation, but a writer who chooses a different plausible spelling can still get the wrong output. SriShell Primo changes the unit of conversion. A writer types a Roman spelling that seems natural for a whole word, and the system offers Sinhala words that could fit it. The writer can choose among them as soon as the intended word appears.

The converter draws on spellings proposed by Sinhala speakers. Its input table records alternatives for consonants, consonant signs, and vowels, so several spellings can reach the same Sinhala form and the same spelling can lead to several forms. A dictionary built from the Divaina newspaper supplies the vocabulary and counts used to order complete matches. The dictionary shares the initial parts of words in a tree called a trie, which lets the converter check whether an interpretation is the start of a word before pursuing it. The menu also offers completions, can search for a pair of words joined in the input, and includes a character-by-character conversion for words outside the dictionary.

After several minutes of practice, 6 participants used SriShell Primo to copy newspaper passages containing 385 to 504 Sinhala characters. The authors report an average typing error rate of 4% and use the observed corrections to estimate an upper bound of ≤ 0.04 edits per Sinhala character for the gap between a writer’s preferred spelling and an input SriShell Primo can accept. The comparison figures for earlier systems range from 0.35 for Natural SinGlish to 1.42 for the kaputadotcom method. The authors also report an average of 2.1 keystrokes per Sinhala character for SriShell Primo, with some participants reaching 1.8. In the weighted typing-cost comparison, 4 of the 6 participants did better than the best earlier figures used as benchmarks.

The study supports a practical case for tolerating varied spellings. The keyboard can accept a writer’s first choice of letters frequently enough to make the mapping easier to use after brief practice, while word completion can save some of the keystrokes a full spelling would require. The evaluation combines a short copying task with benchmarks from an earlier experiment. It provides evidence about spelling flexibility and typing effort in that setting. Speed after extended practice, coverage outside newspaper writing, and the separate contribution of each feature remain open questions.

## Deep dive: SriShell Primo: A Predictive Sinhala Text Input System

SriShell Primo turns informal Roman spellings into Sinhala word suggestions, reducing the need to memorize keyboard mappings while keeping typing costs low. · about 34 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

#### Why a keyboard mapping matters

The paper describes a basic obstacle to working with Sinhala on computers. Before a writer can prepare a document or anyone can develop tools that work with Sinhala text, there has to be a practical way to enter the script. The authors identify Sinhala as an official language of Sri Lanka and give a figure of 14.6 million native speakers. The scale of use makes the weakness of computer input consequential. In their account, Sinhala already had many fonts and several typing applications. Still, some fonts omitted rare characters, and available ways of entering text imposed too much effort or memorization.

A Roman keyboard has to stand in for a writing system with many possible combinations. A Sinhala form can include a consonant, a sign associated with a consonant, and a vowel. A typist may have to enter several keys to produce one written character. A key assignment scheme can make those combinations available while still giving a person little guidance about how to type any particular one. And font coverage is a separate issue. An input system may support a character that the font in use cannot show, while a font that can display the character still leaves the question of how the writer reaches it.

For a fluent speaker new to Sinhala typing, pronunciation offers a starting point. A speaker can start with what a word sounds like and choose Roman letters that seem to convey it. This works only as far as the converter agrees with those choices. The spelling a user guesses may be reasonable and still differ from the spelling prescribed by an application. When that happens throughout a word, the user has to learn a set of typing conventions before putting familiar words on screen. A scheme can be consistent by its own rules and still demand this preliminary learning.

#### Direct entry and pronunciation-based conversion

The simplest method described by the paper is direct entry through a font’s character assignments. The font maps a character code to a Sinhala glyph. A typist enters the code associated with the glyph they need. The paper uses kaputadotcom as its representative font and notes that this style of font appeared on Sinhala websites, including news sites. It also describes direct entry of hexadecimal Unicode values. Both routes require the user to supply an assigned code. The success of the entry depends on knowing that assignment, which may have little connection to how the intended character sounds.

Natural SinGlish made the connection to pronunciation more explicit. It converted Roman keystrokes into Sinhala using conventions based on [English](https://md.research.elamur.ai/free/en/topics/english/) spelling and pronunciation. This gave typists a familiar way to start representing a spoken word. English spelling habits still left too many Sinhala distinctions competing for the same letters, so the application used capitals, special letter combinations, and a dead key to tell outputs apart. A dead key in this system changes how the following key is interpreted. The paper gives the backslash as the example. A typist thus had to learn when an apparently ordinary letter needed extra marking.

The authors point out that the resulting conventions can be difficult to generalize. For example, Natural SinGlish uses `ka` and `kha` for related sounds, which can suggest that adding `h` is a reliable way of entering the corresponding aspirated consonant. The analogous change from `ta` to `tha` fails to give the corresponding output in another case discussed in the paper. A writer who learns how one sound pair is entered can therefore still guess incorrectly on another pair. The authors also identify a physical cost to using capitals within words, where the typist may have to press and release Shift repeatedly.

An earlier system from the authors, Sri Shell, approached these complications through more regular phonetic rules. The paper distinguishes it from SriShell Primo, the system proposed in this study. Sri Shell was designed as an independent input component usable across applications. Its conventions include adding `h` for aspirated consonants and repeating the final letter of a short-vowel spelling for the corresponding long vowel. Where Sinhala characters competed for a Roman spelling, an added `x` distinguished the less frequent one. The paper also describes conventions involving a slash. Together these rules made the mapping more predictable once a typist knew it.

Sri Shell also aimed to support the full character inventory, including uncommon forms missing from many fonts and input applications. This was valuable for reach. It still assigned the intended character a prescribed input. A writer could infer the assigned spelling by learning a rule, but the conversion remained dependent on the writer following that rule. Someone whose first choice of letters reflected a different spelling habit had to change the input. The earlier system consequently reduced the number of unrelated assignments a writer had to learn while retaining the basic requirement to learn an assignment scheme.

#### The evidence for allowing ambiguity

The authors’ earlier work asked Sinhala speakers to suggest Roman spellings. Their proposals exposed variation in both directions. Speakers might choose different Roman sequences for the same Sinhala form. They might also choose the same Roman sequence for different Sinhala forms. A converter that accepts several spellings for an output addresses the first pattern. It needs a way to hold several possible outputs open to address the second. The paper calls for many-to-many conversion because the variation concerns the relation between the sets of inputs and outputs.

Consider the Roman string `bata`, one of the paper’s examples. It can suggest Sinhala words glossed as soldier, hurt, and bamboo or pipe, as well as a trade name. Those interpretations differ even though the typist has entered the same letters. A fixed mapping has to choose one interpretation or require the writer to supply extra distinguishing keys. The existence of several plausible answers is what makes a menu useful. A typist can recognize the intended Sinhala word among alternatives without having had to anticipate how the system distinguishes it.

The paper places the proposal alongside earlier predictive entry systems, especially those used on phones and other handheld devices. It mentions eZiText as a system that already supported several Indic scripts, including Hindi, Tamil, and Malayalam. These examples supply context for presenting likely words during entry. The specific design question for Sinhala is how to make a useful list from spelling choices that vary between people and can be ambiguous even when the writer enters an entire Roman spelling.

Looking up whole words gives the converter evidence that is unavailable when it commits to each character separately. A proposed character may make sense from a key sequence in isolation and still lead nowhere in the dictionary. Several character interpretations may survive and yield real words. In that case, word frequency can help order them, and the writer can decide between them. The system also gets an opportunity to offer a long word before it has received the full Roman spelling. Thus a word-level converter has to do two jobs during typing. It has to preserve enough interpretations to accommodate different spelling habits, and it has to narrow or order those interpretations quickly enough to present them on every keystroke.

### The method, step by step

#### From a Roman spelling to a Sinhala word

SriShell Primo takes ordinary Roman letters as a provisional account of a word’s pronunciation. The user supplies a part or all of the spelling, and the converter responds with a list of Sinhala candidates. To use it, the writer needs to identify the intended word when it appears. The menu may change with each letter, so the decision to select a suggestion can happen before the writer has finished typing. Alternatively, the writer can keep entering letters to narrow the choices or complete the spelling.

The paper illustrates the process with `āyubōvan`, glossed as welcome. When the user types `a`, the menu offers words beginning with different Sinhala forms that might correspond to that letter. The alternatives reflect an ambiguity in the input itself. By `ayub`, the intended word first appears in the illustrated menu as the second choice. At that point the software is offering a completion. With `ayubov`, the word moves to the first position in the example. The writer can then accept the selection with a space or punctuation key, or continue through `ayubovan`.

The example shows that a candidate can be useful before it is ranked first. When the word appears lower in the menu, the typist can use the arrow keys or mouse to choose it. Continuing to type can reduce the work of selecting, though doing so requires more spelling keys. The paper’s efficiency measure accounts for that choice by including the time spent on menu selection. The menu is also how the system handles cases where a complete Roman spelling is ambiguous. Reaching the end of the spelling may leave several valid answers, and the writer still decides which Sinhala word goes into the document.

How SriShell Primo builds and updates its candidate menu The steps in order.

#### Building the spelling variation table

The conversion table starts from an earlier experiment on how Sinhala speakers write frequent Sinhala characters using Roman letters. The authors took the proposed spellings and broke them down into the parts needed by the new converter. They distinguish the consonant, the consonant sign, and the vowel. The resulting table associates a Sinhala component with possible Roman representations. During input, the converter uses those associations in the other direction, looking for Sinhala components that the letters typed so far could represent.

The table preserves disagreements between speakers. For the vowel represented in the paper as `æ`, examples of accepted spellings are `ae`, `a`, and `e`. The long vowel represented as `ǣ` has alternatives that include `aee`, `ae`, and `ee`. A single spelling can therefore point to different vowel values. The consonant represented as `v` has alternatives such as `v`, `w`, and `u`, among others. The table also contains spellings of different lengths for the same component, so the conversion cannot proceed under an assumption that each incoming key corresponds to a single unit of Sinhala writing.

The form glossed as in eyes, written `dǣsē` in the paper’s pronunciation notation, illustrates how the component table translates into word-level flexibility. The paper lists spellings such as `desei`, `daasee`, `daesei`, and `dhasay` for that form. A writer can converge on the same Sinhala word from quite different combinations of vowels and consonant spellings. The entries stored in the dictionary are Sinhala words. That allows different paths through the spelling table to be checked against the same written form without making each full Roman spelling a separate dictionary word.

The table also guides how much ambiguity the system has to handle. Adding another representation for a component can admit a spelling that a user otherwise would have had to repair. If the same representation is already used elsewhere, the change can create another possible interpretation of the same input. The converter then needs to consider which of those interpretations leads to a word and which words are likely enough to display prominently. The table supplies candidates at the level of script components. The dictionary supplies evidence that a sequence of those components belongs to a known word.

This is a data collection and conversion procedure. The authors gather spelling choices, divide the choices into components, and assemble the resulting correspondences. They report including the conversions obtained from the earlier experiment. The paper describes no stage in which the system estimates a separate likelihood for each possible spelling from the new typing logs. In the procedure it evaluates, a table entry makes an interpretation available, and a word count helps order complete matches. The paper leaves learning an individual’s preferences for future work.

#### Building the word dictionary

The dictionary comes from the Divaina online newspaper, using text from January 2005 to May 2006. The authors describe the material as about 50 MB of text in the kaputadotcom font. The resulting dictionary contains about 240,000 words and their occurrence frequencies. An occurrence frequency here is how frequently a word occurs in the material used to create the dictionary. It gives the converter a way to distinguish a common candidate from a less common one when both can be spelled with the same input.

A trie stores sequences so that entries with the same beginning share part of a path. When a lookup starts at the root of the tree, each branch follows the next part of the sequence. A path already visited for one word can also be the beginning of other words. In SriShell Primo, the branches represent the consonant, vowel, and consonant-sign parts of Sinhala characters. The paper says the path for a character takes up to three hops. Several characters in a word are therefore represented by a succession of branches at this component level.

A trie gives the search a useful distinction between a valid beginning and a complete entry. The converter can recognize that the current input has reached the end of a dictionary word. It can also see that an interpretation is a beginning shared with longer words. A path with no further matching branch rules out that interpretation for dictionary search. This property applies separately to each interpretation of the Roman input. One interpretation of a letter sequence may lead to a complete word, another may lead only to the beginning of a word, and a further interpretation may fail to follow a path at all.

The paper describes a memory-saving arrangement in which the trie starts on disk and relevant parts are brought into memory as the writer types. This is an implementation detail with a direct relation to the search design. Words are organized so that the converter can follow the regions reached by the current input. It can load the parts it needs instead of keeping the entire dictionary resident from the start. The authors describe the arrangement as a way to reduce memory requirements. They give the size of the text used to build the dictionary and its approximate vocabulary size, leaving the running memory and time costs unquantified.

#### Assembling the menu

At each keystroke, the converter obtains the possible Sinhala character sequences licensed by the Roman input and the spelling table. It checks them against the trie. Candidates for which the input already represents a complete dictionary word form the first group. The converter sorts those complete matches by descending occurrence frequency. A frequent word has priority over an infrequent one within that group. This is how the newspaper count affects what the typist sees first when more than one full word can be recovered from the same spelling.

The next search asks which of the Sinhala sequences can be the beginning of a longer dictionary word. Those longer words are appended as predictions. In the welcome example, this stage is what makes the intended word available while the writer still has letters left to enter. Complete matches have priority in the described menu order. An exact match can therefore appear ahead of a plausible longer word, leaving the typist to choose the completion or to keep typing. The paper explains the ordering of the complete-match group in terms of frequency and describes where the completions are added. It gives less detail about ordering within the completion group.

A later search handles the case where a writer leaves out the space between neighboring words. The authors say they observed such omissions in preliminary work, particularly with words that often occur together. SriShell Primo can treat the entered string as a pair with one omitted space. In the detailed procedure, the converter tries this when the exact-match and completion searches have yielded no candidate. In the paper’s broader description of the feature, pair suggestions can appear when the menu has very few candidates. Both descriptions place the pair search after the ordinary word search. They leave the precise trigger unclear.

The pair search concerns the boundaries the writer supplied along with the letters. A sequence that yields no suitable single word may still be interpretable as a pair of dictionary words with a space between them. Offering the pair lets the writer recognize the intended phrase without first backing up to add a separator. The paper presents this as a provision for a single missing space. It describes no general procedure for inserting a sequence of missing word boundaries throughout a longer stretch of input.

The converter always has a further option. It appends the conversion that Sri Shell would produce by applying its character-level conventions to the entered Roman string. This option gives the writer a way to type a word the dictionary lacks. When the word is known to the dictionary, the table, trie and menu can support a more flexible spelling. When a word is absent, the older converter can still render it if the input follows its conventions. Thus the fallback keeps entry possible even when the dictionary-based search has no suitable result. The usability of that route depends on the writer being able to produce or recognize the fallback conversion.

The paper describes the result as a menu refreshed on every keystroke. A writer can move the selection with the up and down arrows or use the mouse. A space or punctuation key can enter the selected item into the document. The interaction ties the dictionary’s answer to the writer’s next action. Reaching a desired word at the default position can make acceptance straightforward. Reaching it further down may involve selection, and continuing to spell can give the converter more evidence. How these alternatives balance out in use is part of what the typing experiment tries to capture.

#### Defining the cost of typing

The paper’s formulas describe the evaluation. The converter uses its table and trie to find words, while the evaluator uses counts and timings to estimate typing effort. The earlier systems were evaluated with a cost per Sinhala character. The measure uses an ordinary key as its reference and accounts separately for Shift and repeated keys. The paper gives the earlier definition in Equation 1.

```
typing cost = (normal keys + w_shift × shifts + w_repeat × repeats) / # Sinhala characters
```

Here `typing cost` is the average weighted effort per Sinhala character. `normal keys`, `shifts`, and `repeats` are the counted ordinary keystrokes, Shift operations, and key repetitions. The ordinary keystroke has weight `1`. The quantities `w_shift` and `w_repeat` are the weights for shifting and repeating. The letter `w` denotes a weight, and its subscript identifies the operation. The `×` signs apply the weights to the counts, `+` adds the contributions, and `/` divides the result by the count indicated by `# Sinhala characters`. The `=` sign defines the quantity on the left. The denominator puts passages with different amounts of Sinhala text on the same basis.

The weights depend on how long different transitions take. The paper establishes the cost of shifting relative to ordinary letter entry in Equation 2.

```
w_shift = (t_xY + t_Xy) / t_xy − 2
```

In this expression, `t` denotes an average elapsed time. The subscript `xY` identifies a transition from an alphabetic key to a shifted alphabetic key, and `Xy` identifies a transition back from a shifted key to an ordinary alphabetic key. The capitals in the subscripts indicate which position is shifted. The subscript `xy` denotes the interval between ordinary alphabetic keystrokes. The sum of the two shifted transition times is divided by that reference interval. Subtracting `2` removes the cost of the ordinary transitions being used as the reference, leaving the extra cost represented by `w_shift`.

The corresponding definition for a repeated key appears in Equation 3.

```
w_repeat = t_xx / t_xy
```

The subscript `xx` identifies a repeat of the same alphabetic key. The quantity `t_xx` is the average time for that repeated stroke, and `t_xy` is the reference interval between alphabetic keys. The slash gives their ratio. The result, `w_repeat`, expresses the timing for the repeated key in units of the ordinary interval.

The earlier work related these weights to the ordinary interval through least-squares fits. Least squares chooses coefficients by minimizing the sum of squared deviations between fitted and observed values. Equation 4 gives the fitted repeat weight.

```
w_repeat = 0.87 − 0.73 × t_xy    (|r| = 85%)
```

The fitted value is `w_repeat`. The intercept is `0.87`, and the coefficient `0.73` gives the amount multiplying the reference interval `t_xy` in the term subtracted from it. The bars around `r` indicate the magnitude of the reported correlation coefficient, given as `85%`. This correlation describes the earlier repeat-weight fit. It concerns the relation used to set the weight for repetitions.

The earlier fit for the Shift weight is given in Equation 5.

```
w_shift = 2.50 − 2.92 × t_xy    (|r| = 69%)
```

Here `w_shift` is the predicted Shift weight, `2.50` is the intercept, and `2.92` multiplies the reference interval `t_xy` in the subtracted term. The magnitude of the reported correlation coefficient `r` is `69%`. These coefficient values belong to the paper’s weighting procedure. The article’s later graph labels ordinary-key intervals in milliseconds. Applying the fitted coefficients to measurements requires the time scale used for the fits.

Word entry adds an action the earlier expression did not price separately. Typists may pause to find the word in a list and select it. Equation 6 extends the weighted cost to include this action.

```
typing cost = (normal keys + w_shift × shifts + w_repeat × repeats + w_select × selections) / # Sinhala characters
```

The counts and weights for ordinary keys, shifting, and repetition have the meanings used in Equation 1. `selections` counts menu selections. The additional weight `w_select` converts each selection to the same reference units as the key actions. The final division again normalizes the total by the number of Sinhala characters. This makes the measure sensitive to both ways that prediction changes typing effort. It can reduce the number of spelling keys and introduce time spent choosing an item.

Equation 7 defines the selection weight.

```
w_select = t_sel / t_xy
```

The abbreviation `sel` refers to menu selection. The term `t_sel` is the average elapsed time taken to choose a menu item, and `t_xy` is the ordinary alphabetic-key interval. Their ratio is `w_select`, the cost assigned to a selection in reference-key units. Since participants can differ in both ordinary-key timing and selection timing, the same sequence of menu actions need not have the same weighted cost for all of them.

#### Measuring how far the input departs from a preferred spelling

The other measure concerns the spelling a user would choose before learning any system conventions. The authors use Levenshtein distance, also called edit distance. It counts the smallest number of single-character insertions, deletions, or substitutions needed to turn one string into another. This is a count over the input strings. To express the difference relative to the amount of Sinhala being entered, the authors divide by the number of Sinhala characters those strings are intended to produce. Equation 8 records the comparison used for the character-based systems.

```
avg edit dist = edit dist(user-intuitive input, method input) / # Sinhala Chars
```

The left-hand term `avg edit dist` is the normalized edit distance. The function `edit dist` takes the two strings inside the parentheses, with the comma separating its arguments. `user-intuitive input` is the sequence a Sinhala speaker proposes, and `method input` is the key sequence assigned by the input method for the same Sinhala text. `# Sinhala Chars` is the number of written Sinhala characters in that text. A lower result represents a smaller gap between the typist’s preferred spelling and the method’s requirements.

SriShell Primo accepts a set of spellings instead of giving the researcher one prescribed string to compare with the writer’s choice. The authors estimate a bound from corrections made while using the system. They reason that a writer may change the input because the preferred spelling is missing from the table, and may also change it because of a mistyped key or another error. Counting the observed corrections includes those other causes. Equation 9 gives their inequality.

```
edit dist(user-intuitive input, SriShell Primo input) ≤ edit dist(input with errors, corrected input)
```

On the left, `user-intuitive input` is the string the writer would choose to represent the intended Sinhala, and `SriShell Primo input` is a string that gives access to that output in the system. On the right, `input with errors` is the entered sequence that is corrected, and `corrected input` is the resulting sequence without those errors. The function `edit dist` has the same meaning on both sides. The `≤` sign marks the assumption that the distance attributable to mismatch with the converter is at most the distance seen in the correction process. The reported comparison normalizes this bound by the Sinhala character count. Its interpretation depends on corrections being a useful record of the times when a preferred spelling had to change.

### Experiments and results

#### A short copying task

The study put participants in front of SriShell Primo after several minutes of practice. The participants copied a few passages from a general Sinhala newspaper. The passages ranged from 385 to 504 Sinhala characters. There were 6 participants, 2 female and 4 male, aged 20-29 years. The instructions encouraged them to enter the Roman sequences they thought best represented each Sinhala word. This allowed the evaluation to observe how the converter handled participants’ spelling choices after a brief introduction.

The software logged the keys, selected menu items, and elapsed intervals. These records support different views of the experiment. The keys and selections describe the actions taken to produce the text. The timings supply the reference interval for ordinary letter entry and the time associated with menu use. Corrections supply the authors’ indirect evidence about whether the spelling the participant initially chose needed to change. The unit common to the headline measures is the Sinhala character, even though the prediction and selection steps operate at the word level.

The authors compare the new system with results obtained in earlier work. For the spelling comparison, the baselines are kaputadotcom direct entry, Natural SinGlish, and Sri Shell. For the weighted-efficiency comparison, the paper takes the best earlier values at selected ordinary-key intervals, where the best system varies with the interval. Participants in the new experiment used SriShell Primo. The paper’s comparisons combine their results with those earlier benchmarks, giving a point of reference for effort and spelling mismatch under the authors’ respective procedures.

#### Spelling effort and the correction bound

The largest normalized edit distance in the comparison is 1.42 edits per Sinhala character for kaputadotcom. This result is consistent with the method’s reliance on the font’s key assignments. The Roman sequence chosen from pronunciation can require considerable editing before it matches the keys needed by the font. The paper’s comparison table reports 0.44 for Sri Shell and 0.35 for Natural SinGlish. Both of these methods use pronunciation-related conventions, and both are closer to the sequences proposed by speakers on this measure.

For SriShell Primo the table reports ≤ 0.04 edits per Sinhala character. The inequality is part of the result. The chart uses the reported numerical bound for its plotted value. For the earlier methods, the comparison is between a participant-proposed spelling and an assigned sequence. For SriShell Primo it uses the correction-based bound. This distinction matters because the chart places values next to each other whose estimation procedures differ. Both procedures concern how far a writer’s input has to move, but they observe that movement in different ways.

Average spelling edit distance per Sinhala character on the newspaper typing task and earlier baselines SriShell Primo has the lowest reported value and its value is an upper bound from observed corrections.

**The numbers**

| System or setting | edits per Sinhala character |
| --- | --- |
| kaputadotcom | 1.42 |
| Sri Shell | 0.44 |
| Natural SinGlish | 0.35 |
| SriShell Primo (this paper) | 0.04 |

The paper reports that the average typing error rate in the SriShell Primo experiment was 4% and describes the participants as having typed 96% of the Sinhala characters correctly with the current spelling table. The authors use this result to support the claim that users could get close to their intended written text by trying spellings that felt natural. The experiment evaluates a menu-based input system in use, so the correctness figure includes the writer’s ability to recognize and select a candidate. It is distinct from the fraction of intended words that would have been accepted automatically as the top suggestion.

The edit-distance result is also distinct from the percentage of words participants completed with a shortened input. A word may require few corrections because the table accepts a full preferred spelling. Another word may require few corrections because the writer sees it early and accepts a prediction. The bound combines experience with the available routes through the interface. It supplies a measure of how frequently the observed input needed editing relative to the amount of text produced. The paper gives no separate count of which route produced each successful word.

#### Typing efficiency and the earlier benchmarks

The authors explain why they compare weighted cost rather than maximum observed typing speed. Comparing maximum speeds would require people to reach a suitable level of practice across input methods. The older methods have unfamiliar key conventions, and training participants to use them fluently would complicate the experiment. The weighted measure gives the authors a way to compare input demands with ordinary key entry as a reference. Its denominator also avoids treating a longer passage as inherently more costly just because it contains more text.

The earlier reference points use ordinary alphabetic-key intervals of 200, 400, and 600 milliseconds. At 200 milliseconds, the best earlier value tabulated by the authors is a weighted cost of 2.18 per Sinhala character for Sri Shell. At 400 milliseconds, the best earlier value is 2.16, also for Sri Shell. At 600 milliseconds, the best earlier value is 1.99 for the kaputadotcom method. These points identify the best reported comparator at each interval. They are benchmarks drawn from the previous experiment, rather than new timed runs in which the SriShell Primo participants used those methods.

The paper plots each participant’s weighted SriShell Primo cost against that participant’s ordinary alphabetic-key interval. The horizontal position thus describes the reference timing for ordinary letters. The vertical position includes the weighted actions needed to produce each Sinhala character. Relative to the earlier best results plotted for comparison, 4 of the 6 participants could enter the Sinhala text more efficiently by this measure. The figure supports the authors’ conclusion that giving people greater freedom over spellings can coexist with a typing cost competitive with the earlier methods.

The authors also report an average of 2.1 keystrokes per Sinhala character for the new system. Some users reached 1.8 keystrokes per Sinhala character. These are the paper’s headline keystroke figures. The experiment uses menu selections as an explicit factor in the weighted cost calculation and reports its comparisons on that weighted basis. Keeping the two descriptions separate matters. Saving alphabetic keys by choosing a prediction is the mechanism proposed for the keystroke savings. The cost of using the menu determines how much that saving means for weighted typing effort.

The authors observed no correlation between ordinary typing speed and the new system’s cost per Sinhala character in this group. They suggest that two features can make effort vary between people even at similar ordinary-key speeds. Writers can choose different spellings for the same word, and they can choose how soon to accept a completion. A typist who reaches for a prediction early may enter fewer letters. Someone who continues to spell can make selection simpler. These examples explain how the interface can weaken the connection between ordinary key timing and cost. The observed absence of a correlation is a result for these participants and passages.

#### What the two measures establish together

Part of the paper’s question is whether accommodating more possible spellings forces a typist to spend so much time selecting words that the benefit is lost. The edit-distance comparison addresses how closely the system can follow what users would naturally type. The weighted effort comparison addresses the actions needed to get a word out of a converter that keeps several possible matches. The combination is important because the spelling table increases the range of possible interpretations, and the menu asks writers to resolve some of that ambiguity themselves.

The results describe a system that balanced those demands for most participants on the comparator used in the study. The upper bound on spelling corrections is small in relation to the figures reported for the fixed conventions. Meanwhile, most of the participants reached weighted costs below the earlier best-performance reference used for comparison. The study also shows variation between users of the same interface. Those observations give grounds for the authors’ conclusion about feasibility. The exact performance a new writer would obtain depends on the spellings they use, the words they need, and how they make use of the candidate list.

The longer-term speed question is outside these figures. Ordinary-key intervals are measured within the task, and weighted effort is expressed relative to them. As a consequence, a lower cost is evidence about the operations needed to produce the written passage. A conclusion about maximum text entry speed would require sustained use and direct comparison of time to enter text at a defined accuracy. The reported results are best read with the study’s aim in view. They quantify spelling accommodation and the cost of producing text after brief practice, using the authors’ definitions of ease and efficiency.

### What the ablations show

The paper reports no component ablation. Its analyses are comparisons with earlier input systems, a plot of writing cost against ordinary-key timing, and a worked example of predictions changing during entry. Each examines a different consequence of the design. Together they show how the system behaves, while the effects of the individual features remain unmeasured.

The baseline comparisons concern whole systems. Natural SinGlish and Sri Shell offer pronunciation-related inputs, whereas the full SriShell Primo system permits varied spellings, searches a dictionary, and displays possible words. The edit-distance result shows that the combined design demanded much less observed correction or departure from preferred input by the paper’s measure. It cannot assign the improvement to a specific group of entries in the spelling table. Prediction can also make a word reachable from a shorter spelling, so table coverage and early completion can both affect the string the writer ultimately needs.

The welcome example offers a more direct look at completion. The intended word is present at `ayub`, so the reader can see that a partly entered spelling is enough in this instance. Its move to the first position at `ayubov` shows that continuing to type can improve the word’s placement. This demonstrates the proposed way to save keys and the practical role of the list. It supplies one trajectory through the interface. The paper gives no aggregate measure of how often words first appear early enough, or high enough in the menu, to produce the same opportunity.

The ordinary-key timing plot addresses a different question. Earlier results had shown an association between basic typing speed and cost. In the new experiment the authors observed no correlation. They interpret the new interface’s flexibility as a possible explanation because users are free to choose unequal spelling lengths and can elect to complete words from the menu. The plot does not report a within-person comparison between using and ignoring completions. It therefore leaves open how much of the variation in cost comes from those choices and how much comes from other differences between users.

The conversion procedure also suggests explanations that the experiment leaves untested. Word frequencies put common exact matches ahead of uncommon ones, but the paper gives no comparison with another ordering. The trie is designed to make dictionary search efficient, but no lookup timings compare it with another storage arrangement. The word-pair search and Sri Shell fallback cover different cases where regular word lookup might fail, and neither has a separately reported usage or success measure. Their presence explains the paths available to a typist. The measured gains in the study belong to the complete system.

### Limitations

#### Limits the authors identify

The authors make dictionary coverage a priority for further work. Dictionary prediction can offer a word only if the relevant form is present. A writer who needs an absent form can still use the character-level fallback, although that route depends on the regular Sri Shell conventions. Good coverage is consequently important to both the reach of prediction and the ability to rely on a preferred Roman spelling. The size of a dictionary gives some sense of its scope. The practical question is whether it contains the particular forms a writer needs.

The paper illustrates coverage through the forms associated with `gasa`, glossed as tree. The dictionary already contains forms glossed as trees, to tree, in tree, and from tree, along with forms involving also. The authors would like to generate related forms systematically from the root and store them efficiently. The example identifies a limitation of relying on word forms found in a corpus. An attested root or familiar base word can have related forms that useful text entry should make accessible. The study describes this as work to be done in [morphology](https://md.research.elamur.ai/free/en/concepts/morphology/).

The authors also identify room to improve prediction by adapting to the writer. The table pools spellings observed across users. A particular writer may habitually favor some of those mappings. The paper proposes using a person’s input preferences to adjust candidate ordering, which could help their usual spelling bring the intended word into a more convenient position. It also proposes evaluating linguistic context. In the described system, the current letters and the dictionary carry most of the burden, with occurrence frequency used to rank complete matches. The fact that a word could fit the Roman input is separate from whether it fits the surrounding sentence.

For the spelling measure, the authors explicitly recognize that an unnecessary edit can arise from mistyping. They therefore present their observation as an upper bound on the mismatch between intended Roman spelling and accepted input. That qualification is important even when the reported value is low. Observing a correction establishes that some change was made. Assigning a cause would require knowing whether the first spelling expressed the writer’s preference, whether the intended word was available in the list, and why the writer decided to revise the input.

The paper also explains the practical reason for leaving maximum-speed trials aside. Learning the conventions of the earlier methods can take enough effort to make a direct comparison difficult. The authors use a normalized cost measure as a substitute. Their design choice keeps the study focused on the actions involved in the copying task and makes historical reference points available. The resulting efficiency claim is consequently about a weighted measure of typing, with the speed question defined more narrowly than it would be in a comparison of experienced typists’ maximum rates.

#### Limits of the evidence

The participant group and task restrict how far the findings can be generalized. The 6 people were all aged 20-29 years, used the system after several minutes of practice, and copied passages of a limited size. This gives evidence about initial use with a target already in view. A person composing original text decides which word to use while also deciding how to type it. That introduces another source of pauses and can change the relative appeal of accepting suggestions early. The study gives no long-term record of how people alter their spellings, selection habits, or use of the fallback as they gain experience.

The baselines add a further limitation. The weighted comparison uses the best figures from earlier experiments at the stated reference intervals. The spelling comparison also uses earlier results, measured through the earlier methods’ required input sequences. The current study does not report having the same group type the same passages with all systems under matched practice conditions. The historical results establish the scale of earlier costs and spelling differences. Differences between the experiments can also contribute to differences between the figures. In particular, the results provide no basis for a precise estimate of how much faster an individual would become by switching from an earlier method to SriShell Primo.

The paper’s discussion of its earlier work also warrants careful attribution of the edit-distance figures. A paragraph on preceding systems mentions a value of 0.35 in a discussion that then turns to Sri Shell’s remaining distance from natural spelling. The comparison table gives 0.35 to Natural SinGlish and 0.44 to Sri Shell. The table provides the explicit method-by-method labels for the experiment’s comparison. The prose leaves the attribution of the earlier figure less clear.

The source of the typing passages matters for prediction coverage. The trie was built from Divaina newspaper material, and the copying task also uses newspaper text. The paper does not identify the exact relation between the tested passages and the dictionary source. It supplies no held-out dictionary-coverage figure and no accuracy or cost measurements for other kinds of writing. Consequently, the experiment is direct evidence about newspaper-style passages, where a newspaper-derived vocabulary is a relevant resource. It leaves open how frequently a writer would encounter missing entries in other settings or whether the fallback would account for a larger share of their text.

The spelling results describe observed corrections and correctness in the interface. They give no test of every plausible Roman spelling, and no independent record of the first spelling each participant would have preferred in the absence of suggestions. If a candidate appears early, the writer can accept it before exposing the rest of their intended spelling. If a typist sees that a choice is not working and changes how they type a later word, the log reflects the revised behavior. The bound is therefore most informative when treated as an estimate from the observed task, grounded in the authors’ assumptions about what the corrections capture.

Ease of remembering is one aspect of usability. This experiment captures it indirectly by asking speakers to type with sequences that feel appropriate and measuring the amount of correction or departure from those choices. The authors’ broad claim that a writer can enter text without learning additional conventions has stronger support for the ordinary use seen in the task than for every word or circumstance. Dictionary misses can still invoke a prescribed conversion. A confusing list can still demand attention. The study gives no separate measure of the effort to scan a menu or of the time it takes a writer to remember an unfamiliar fallback spelling later.

The efficiency evidence is also limited by what is reported about timing and selection. The measure attaches a weight to selection time, making menu use part of the total cost. The paper gives no breakdown of the time spent looking at suggestions, moving between menu items, and accepting a default choice. It reports no uncertainty estimates for the group results. As a consequence, the cost comparison can establish how the participating users performed under the stated calculation, while the causes of the spread between individual results remain uncertain.

Some details of the converter are given at the level needed to understand its behavior. Reimplementing it and expecting the same menus would require additional choices. The pair-search trigger is described differently in the feature overview and the detailed procedure. Ties between equally frequent complete matches and the ranking within the group of completions are left unspecified. The paper explains where the table came from and shows examples, without specifying the entire set of correspondences in the method description. These details can affect whether a word enters the visible list early enough to change a writer’s behavior.

Finally, applicability to other scripts is a proposal. The authors name Sanskrit and Hindi as languages where the same general approach might be useful. The evaluation covers Sinhala. Moving the design to another language would require evidence about how its writers choose Roman spellings, which distinctions those spellings leave unresolved, and what vocabulary is available for dictionary prediction. The paper demonstrates one way to organize those resources and put them into a text entry system. Its experiments leave the transfer claim open.

### What came after

The paper’s later impact cannot be traced to a documented follow-up study here. Its conclusion instead identifies directions the authors intended to pursue. One was to organize related word forms so that dictionary coverage could grow from rules for generating forms, with the dictionary still able to retrieve them efficiently. That work would address what happens when a writer’s spelling is supported by the input table but the intended written form is missing from the vocabulary.

The proposed work on adaptation addresses the order in which available candidates appear. A user may repeatedly choose a particular spelling for a sound that other users represent differently. Learning from such choices could let the converter move the writer’s usual interpretations upward. The other proposed direction uses linguistic context. With context, the system could evaluate a candidate in relation to the nearby words, alongside the evidence from the Roman spelling and general occurrence counts. The paper points to earlier predictive entry work by Hasselgren and colleagues using [bigrams](https://md.research.elamur.ai/free/en/concepts/n-gram/), which are sequences of adjacent items, as relevant to that direction.

These proposals extend different parts of the system. Generating word forms changes which entries the converter can reach. Personal adaptation changes how it interprets a writer’s recurring spelling choices. Context changes which of the reachable words it gives priority in a particular passage. The paper’s own experiment evaluates the common spelling table, newspaper dictionary, and interactive menu together. Whether the proposed extensions improve coverage, bring a desired word into view sooner, or reduce the total effort of selecting it remains to be established.

## Cite

Cite as Sandeva Goonetilleke, Yoshihiko Hayashi, Yuichi Itoh and Fumio Kishino. 2008. SriShell Primo: A Predictive Sinhala Text Input System. Proceedings of the IJCNLP-08 Workshop on NLP for Less Privileged Languages.

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

```bibtex
@inproceedings{goonetilleke2008srishell,
  title = {{SriShell Primo: A Predictive Sinhala Text Input System}},
  author = {Sandeva Goonetilleke, Yoshihiko Hayashi, Yuichi Itoh and Fumio Kishino},
  booktitle = {Proceedings of the IJCNLP-08 Workshop on NLP for Less Privileged Languages},
  year = {2008},
  url = {https://aclanthology.org/I08-3009/}
}
```

> 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)
