Code Monkey home page Code Monkey logo

omino's People

Contributors

ogallagher avatar

Stargazers

 avatar

Watchers

 avatar

omino's Issues

Handle alternative translations

Alternative translations are shown in the translations section, but in the translator output textarea, the first is arbitrarily chosen. In the future, translation output elements could be interactive widgets in the output area, that when clicked/hovered show alternative translations.

Propose alphabet options in docs

Latin default

Use the modern Latin alphabet. Voiced and breathed consonants have two character options. Double vowels are each written with the two component vowel characters.

Omino Latin

Same as default, but for consonants with voiced and breathed Latin character options, use a combined new character.

오미노글 (Omino Hangul)

Starts with 한글. Reassigns some of the double vowels to existing 모음자 (including some archaic characters), and invents some new double vowel 자모 (au, ao, ae, ea, ei).

For each 자모 combination that doesn’t map to an existing 문자, a new one is created.

Below is a proof of concept for the Ominogul alphabet. It uses a custom font to fill in missing characters, and uses unassigned unicodes (here, I’m using the private use codes range).

ominogul_vowels_consonants

Insert consonant aliases

Add the following consonant alias pairings, as both homophones and homonyms:

  • z-s
  • v-f
  • d-t
  • b-p
  • g-k

Parse multiword input in translator

  1. The translator splits input by whitespace and punctuation delimiters.

a, b (c d)?[a,b,c,d]

  1. Until all words are included, move from left to right, including fewer words in each phrase until a translation is found.

’a b c d' 'a b c' d, 'a b' c d (a b = hello there)

’a b’ 'c d' 'a b' 'c' d (c = how)

’a b’ 'c' 'd' (d = you are)

  1. Concatenate translations of each phrase.

a b c dhello there how you are

Remove sou

sou is an undefined syllable, but I accidentally gave it the same definition as fuo (emptiness) when I created the database. In this case, removal just means removal of rel_definitions and rel_examples entries; undefined strings are allowed to exist in the strings table.

Translator widget component

I’ve drafted the basic design of the translator widget component, but still need to finish the functionality with related scripts to do things like load the current input query from the url params, handle input events, and communicate using the database api.

Fill extended translations, examples, roots

A translation is a mapping of an input phrase to a collection of output phrases in the target language. Each output phrase can also be a definition, mapping the output phrase to a definition in the same language.

An example maps the input phrase to example phrases in the source language, and the output phrase to example phrases in the target language. Each example also has a translation, mapping the example phrase to an equivalent phrase from the other language.

A root is a word or letter contained in the input phrase or word (if the input is a syllable, the root a letter; otherwise, the root is a word/syllable). Each root includes a shallow translation in the target language.

Missing newline in command example

Under missing and imitating complexity > command, this pair of examples needs separate lines.

You feed my friend. → hanebo habon hamem hoaki. < new line >
You can feed my friend. → habon hamem hoaki.

Set up dev web and db server

Create a fully installed omino server environment temporarily running on a pi at home, running a local mariadb database that the webserver can access to feed web clients.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.