3

Github GitHub - mountbuild/hanakana: A Cross-Cultural Writing System

 3 years ago
source link: https://github.com/mountbuild/hanakana
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

readme.md

Summary   Usage   Dictionaries   Symbols   License

Summary

Hanákana is a Universal Writing System (UWS), capable of representing all human voice sounds in a concise and readable script. This means you can write any language in Hanákana script (constructed language or natural language) and read it without having to learn that language's specific quirks. Hanákana is a sound-based script like the Ancient Runes, which means when you read see a symbol/letter, you know exactly how it is pronounced. There are no weird edge cases or specific words for which you have to memorize the sound. You simply learn the script and can pronounce the words and texts. You can find how to pronounce the letters in the PDF guide or partly on leaf.surf.

You may note that Linguistics also has the International Phonetic Alphabet (IPA), which seems to accomplish a similar thing. But the IPA is not for writing anything but the most detailed pronunciation guides, not for writing sentences or long texts. Hanákana is meant for the later, for writing like you would in a normal language.

The ASCII encoding is mapped to IPA for your knowledge at ovo.js.

Ideally Hanákana would be included in the Unicode standard. But that is unlikely until it is used widely. We have suggested it be used as a writing system on Mars joy.

These are the 32 main sounds. Everything else are variations of these sounds.

hawk a
game e
need i
home o
tune u

last a
mess e
tick i
luck u
book o

moon m
note n
ring ng
game g
dock d
boat b
team t
pick p
king k
hook h
seek s
fish f
vote v
zone z
yell y
wind w
thud th
ship sh
rule r
loom l

then th
joke j (sure as in measure)
variation on m
sanskrit,अहिंसा,ahiṃsā,nonviolence

variation on sh
sanskrit,उपनिषद्,upaniṣad

variation on sh
sanskrit,शिव,śiva

variation on r
sanskrit,कृष्ण,kṛṣṇa

variation on t
sanskrit,हठ,haṭha

variation on n
sanskrit,पुराण,purāṇa

variation on d
Sanskrit,ढोल,ḍhola

variation on h
arabic,حديث‎,ḥadīṯ

variation on h
arabic,شيخ‎,šayḫ,elder

These "variations" are accomplished in a structured way. Indic retroflex consonants are added with a dot on the tailless side. Arabic sounds are added with a dot on the tailed side usually. Clicks are mapped to the closest mouth-position-oriented sound. Ejectives and implosives are simply added with accent marks. Etc.

Usage

npm install @mountbuild/hanakana

Then in JavaScript or Node.js land:

const toHanakana = require('@mountbuild/hanakana')

document.body.innerHTML = toHanakana('he+lo wrld')

Here is how you might use it more robustly:

const lines = `fru+m ma+unt yu faind c+u+ stoun, ritxiq tu c+u+ klaud
no we+r an rc du yu fil c+u+ pa+wr u+v netxr al u+ra+und
wi+c c+u+ klaud so klos, yu ka+n si, tu+tx, a+nd test
fidiq yor e+nrdji tu c+u+ stoun wi+c hest
ma+unt holdz i+t xep, laik c+u+ sikri+t bal`
  .split(/\n+/)
  .map(line => line.split(/\s+/).map(toHanakana).join(' '))
  .join('\n')

document.body.innerHTML = lines.split(/\n/)
  .map(line => `<div>${line}</div>`)
  .join('\n')

Dictionaries

Take note of the dictionary folder in this project, which has the beginnings of words in several languages with their pronunciation written in ASCII Hanákana (which can be directly transformed into Hanákana script using this library). Also take note of the languages folder, which has transformers for common language paradigms (like Chinese Pinyin) into Hanákana script. This way you can take a word written in a certain way using a certain formality, and get the Hanákana out of it.

Symbols

License

Copyright 2021 Mount

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Mount

Hanakana.js is being developed by the folks at Mount, a California-based project for helping humanity master information and computation. Mount started off in the winter of 2008 as a spark of an idea, to forming a company 10 years later in the winter of 2018, to a seed of a project just beginning its development phases. Mount funds hanakana.js's development. It is entirely bootstrapped by working full time and running Etsy and Amazon shops. Also find us on Facebook, Twitter, and LinkedIn. Check out our other GitHub projects as well!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK