@mountbuild/hanakana

<br/> <br/> <br/> <br/> <br/> <br/>

Usage no npm install needed!

<script type="module">
  import mountbuildHanakana from 'https://cdn.skypack.dev/@mountbuild/hanakana';
</script>

README










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. Print out the exercises to learn how to write and pronounce them too!

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 😂.

These are the 32 main sounds. Everything else are variations of these sounds. These "variations" are accomplished in a structured way, see the guide. 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.

beat i
lake e
call a
home o
tune u

kick i
mess e
last a
duck u
cook 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)

Usage

npm install @mountbuild/hanakana -g

To get access to the font for your own system, either just click and download the font.otf directly, or do this to copy it after you've installed the NPM package:

hanakana use hanakana.otf

To print Hanakana-font-ready text in the terminal, use:

hanakana print "he+lo wrld"
hanakana print "$(<story.txt)"

Note, you need to write it in Hanakana ASCII, which you can see by looking at the form.js file.

To view it in the browser fully rendered:

hanakana view example.txt

To use it in pure JavaScript:

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')

Main Symbols

Here are the consonants and vowels in their main form (without tone or stress markers).

Note, to add "aspiration" to a sound, you add the corresponding "h" symbol after the main symbol. To add nasalization to a vowel, you add a full arc below the vowel. Long vowels are made by writing two vowel letters.

Vowels

Here is a focus on the vowels with their tone and accent marks.

Phonology

Here is the consonant IPA phonology chart mapping.

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'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!