Skip to content

translate between latin and russian via morphology and phonology

Notifications You must be signed in to change notification settings

ey92/Lat-Rus_Translate

Repository files navigation

Latin/Russian Literal Translator

CS 4744/Ling 4244 Computational Linguistics Final Project (~1mo)

Elizabeth Yam (ey92)

As my final project for this class, I am creating a program to translate between Latin and Russian via their morphology and phonology (Python 2.7.6). I chose these two languages because I have studied Latin for 5 years and Russian for about 2 years, and they have relatively similar grammatical structures (parallels in conjugating and declining).

This translator was created to do a direct, word-for-word literal translation between Latin and Russian.

It doesn't into account context or identify special phrasal constructions. It is only concerned with the indicative mood and active voice for verbs. Nouns are not declined into the locative case. Adjectives used substantively will not be detected as being used in such a way. Additionally, there are no adverbs, auxiliary verbs, modals, comparatives, or superlatives.

Roots.py has all of the words included in the translator's dictionary. It can attempt to conjugate verbs and decline nouns/adjectives when given the parameters needed, but cannot deconstruct (and therefore translate) words not already in the dictionary.

See what's included for Latin

See what's included for Russian

see Latin.py

see Russian.py

Using the UI

  • Open the command line (Windows) or terminal (Mac/Linux) and navigate to where the project files are.
  • Run python runtest.py
  • Enter the number corresponding to the option you want to pick
  • Enter the required parameters, separated by commas
    • caveat: The program is not very robust and may crash if you provide the wrong input here
  • After the inflected word is produced, you are given a prompt: "Would you like to do more? (y/n/a)"
    • y(es) returns to the previous menu
    • n(o) quits the UI
    • a(gain) re-runs the same choice from the previous menu
  • Options that produce Russian forms print both the surface form in Cyrillic and an English transliteration below them

Translation Example

UI Example

Latin to Russian Examples

Translate Latin Verb to Russian Verb:
Latin to Russian Verb Example

Translate Latin Noun to Russian Noun:
Latin to Russian Noun Example

Translate Latin Adjective to Russian Adjective:
Latin to Russian Adjective Example

Russian to Latin Examples

Translate Russian Verb to Latin Verb:
Russian to Latin Verb Example

Translate Russian Noun to Latin Noun:
Russian to Latin Noun Example

Translate Russian Adjective to Latin Adjective:
Russian to Latin Adjective Example

Latin Examples

Construct Verb:
Latin Construct Verb Example

Construct Noun:
Latin Construct Noun Example

Construct Adjective:
Latin Construct Adjective Example

Deconstruct Verb:
Latin Deconstruct Verb Example

Deconstruct Noun:
Latin Deconstruct Noun Example

Deconstruct Adjective:
Latin Deconstruct Adjective Example

Russian Examples

Construct Verb:
Russian Construct Verb Example

Construct Noun:
Russian Construct Noun Example

Construct Adjective:
Russian Construct Adjective Example

Deconstruct Verb:
Russian Deconstruct Verb Example

Deconstruct Noun:
Russian Deconstruct Noun Example

Deconstruct Adjective:
Russian Deconstruct Adjective Example

About

translate between latin and russian via morphology and phonology

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages