nepalipi Benchmark results

Benchmark your tool

Run your Roman-to-Nepali tool on the same inputs and references as Nepalipi, then share a reproducible result.

Get the benchmark
Word inputs
4,092
Long sentences
120

Run the word benchmark

Use Node.js 22 or later. Clone the pinned release to get the four word sets, the long-sentence set, and both offline scorers.

Clone v1.1.0

git clone --branch v1.1.0 https://github.com/Nepalipi/transliteration-benchmark.git
cd transliteration-benchmark

In examples/adapter.mjs, replace the demo function with a call to your tool. Turn off spelling preferences and return spellings in ranked order. Use [] for failures or empty responses, and keep a separate error log.

Capture and score predictions

node examples/adapter.mjs > predictions.json
node score.mjs predictions.json --tool "My tool" --tool-version "1.2.0" > report.json

Include all 4,092 case IDs. The report gives first-choice, within-three, within-five, and character error rates. The sets overlap, so report each one separately.

Run the long-sentence benchmark

The 120 cases in data/sentence-cases.json measure exact matches, word error, and character error. Use the same mode when comparing runs.

Editor typing

Capture the final text after typing each sentence through your editor.

node score-sentences.mjs sentence-predictions.json --mode editor > sentence-report.json

Word composition

Supply ranked word suggestions for the scorer to assemble into sentences.

node score-sentences.mjs token-predictions.json --mode word-composition > composition-report.json

Submit a benchmark result

Share these details in a GitHub issue so someone else can reproduce your run.

  • Tool name, version and project link, benchmark tag, settings, and run date.
  • Test sets and, for sentences, the mode you used.
  • Raw predictions, the JSON report, and the command or script you ran. Link to the files or attach a ZIP.
  • Failures or limitations. If you tuned on these inputs, describe the run as a regression check.
Open a result issue

Submissions go through review before appearing in the public comparison. Use pull requests for changes to the scorer, examples, or docs.