Skip to content

esthermations/LatinApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LatinApp

This is a web app written in Nim for rapidly displaying the correct macronisation of Latin words. So, for example, "amas" is correctly written "amās". When you type "amas", it will show you "amās" and what form of what word that is, really quickly. It should be helpful as a sort of spell-checker for typing Latin.

Try it!

I keep the latest version of this app running at https://esthermations.website/LatinApp.html

Features

  • Works with first-declension nouns
  • Works with first-conjugation verbs

To-do

  • All regular noun declensions
  • All regular verb conjugations
  • All irregular words

Building

This program uses data processed from a download of the entire Wiktionary, which is about 7 GB at time of writing.

If you'd like to build it yourself:

  • Head to https://dumps.wikimedia.org/enwiktionary/ and download a pages-articles dump
  • Extract it so you've got an enormous XML file
  • Compile ExtractDataFromWiktionary.nim using nim c --opt:speed src/ExtractDataFromWiktionary.nim
  • Run it to get an out.json file
  • Place that out.json file in the project root folder
  • Clone my other project, LatinWords somehere
  • cd in there and run nimble install
  • cd back here, to the LatinApp directory
  • Run nimble build
  • Open src/LatinApp.html in your browser and hope it doesn't crash trying to load 5 MB of JavaScript

About

Web app for rapidly displaying useful information about Latin words.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published