hexagram30 / language Goto Github PK
View Code? Open in Web Editor NEWA syntagmata and Markov chain language, word, and name generator for use in hexagram30 narratives
A syntagmata and Markov chain language, word, and name generator for use in hexagram30 narratives
If Markov chain data is generated and saved into an ETS table, can that be exported? And imported? (e.g., during system startup?)
Using data from http://www.geonames.org/
Given data structure containing languages, each with words of the same meaning, and the desired percentage contribution to the output, create a new word from the combinations.
Blocks: #41
This epic is composed of the following:
Syntagmata*
and Markov*
(and common-impl
) require access to the running system state right now; unfortunately, when they are created, only a partial system state is known. A new abstraction is needed such that with every function call, the latest running system is passed.
This may mean reverting the current API to its pre-component form, and then creating a component-aware, wrapper API for it.
Component creation and ingest:
Post-ingest, programmatic access:
defrecord
for language, word, part of speech, definitionFor part of speech, standardize on what is used in OpenNLP (see https://www.ling.upenn.edu/courses/Fall_2003/ling001/penn_treebank_pos.html)
And add the random component to hexagram30/language's supported components
Corpora names and wordlists need to be updated for many of the languages that will be use for the Northern tribes (see issue #41).
This will require language corpora for the following:
And it will require name corpora for the following:
May have to switch docker image to redislabs/redisearch
.
See:
We can use the same ClojureScript/Node.js setup here we used for UDP client support in hexagram/dice (but instead use cljs-http instead of a UDP client, of course).
Tasks:
:lang
map:lang
map (using the plugin)Now that Markov chains have landed, let's use them ...
Start small, e.g., with room/object descriptions ...
This should make use of a hexagram30 general purpose HTTP component that can be used by all apps.
Things to name:
Using RedsSeach, see:
Depends upon #26
Depends on #23
... and other sources.
The CLI will use the spelling ilunao
and initially just the 8 Norther tribes will be supported (cultures and languages in the other parts of the world haven't been identified yet).
Needs to be done for both languages and names.
This should be at the corpora level.
Maybe refactor names into languages ...
In particular, for text analysis & generation
We'll need this for db support
Right now they are just concatenated strings. This will require some changes to the internal operations ... might need to convert some of the regex operations to set-theoretic operations....
Generate words, word lists, sentences, paragraphs, and names.
This is an interesting problem to solve, and one where I suspect the first iteration will be quite naïve. I suspect:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.