ritajs-v2
ritajs-v2 copied to clipboard
RiTa: generative language tools
Types of links: html, riscript-internal, custom? Use-case for arguments. A. inline ```(Some text).link(http://blah.com/foo/bar.html)``` ```(Some text).link(foo/bar.html)``` B. ``` $opts={type:html, href:http://blah.com/foo/bar.html, target:_blank } // a JSON string (Some text).link() ```
```javascript let ctx = { rhymes: (word) => word + ' rhymes with ' + RiTa.random(RiTa.rhymes(word)); } RiTa.evaluate('(dog | child | ox)].rhymes().norep()', ctx); ```
In `src/grammar.js` line3 I don't know if this is necessary
From https://github.com/aparrish/nonsense-verse-pycon-2020/blob/master/pincelate-tutorial-and-cookbook.ipynb Characteristics of phonemes are called "features." Can provide a function to list features for specific phonemes. For example, to get the features for the vowel /UW/ (vowel sound...
Removes [got](https://github.com/sindresorhus/got). It's no longer used after updating ancestor dependency [nodemon](https://github.com/remy/nodemon). These dependencies need to be updated together. Removes `got` Updates `nodemon` from 2.0.15 to 2.0.20 Release notes Sourced from...