A tool to generate word generators based on phonemes.
Go to file
Feufochmar 3d2f50b3ba Simplify css to minimum for the example. 2018-06-09 23:20:01 +02:00
examples Fix the example set 2018-06-09 20:16:11 +02:00
py-phonagen Add tool for merging phonagen json files into one. 2018-06-09 20:17:47 +02:00
web Simplify css to minimum for the example. 2018-06-09 23:20:01 +02:00
README.md Remove todo-list from README 2018-06-03 19:28:36 +02:00
generate-example-set.sh Add script to generate a dataset from the examples. 2018-06-09 20:18:36 +02:00

README.md

Phonagen

Phonemic word generation tools. Phonagen provide several tools to make words generators based on the prononciation and transcriptions of phonemes.

The tools are built around a JSON representation of phonemes and word generators.

Web interface

The web directory contains a sample web interface to generate words from the JSON description included in the web/data.json file. The implementation of generators is located in the script web/phonagen.js. To use it on any webpage:

  • include the script on your page (<script src='phonagen.js'></script> in the headers)
  • add a div (or another block element) with the phonagen id
  • call the phonagen.load() function with the JSON file to use as an argument (either in the onload method of the body, or in a script tags placed after the phonagen block ex: <script>phonagen.load('data.json')</script>)