All Projects → dhowe → rita

dhowe / rita

Licence: other
Website, documentation and examples for RiTa

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects
java
68154 projects - #9 most used programming language
shell
77523 projects
processing
702 projects

Projects that are alternatives of or similar to rita

Commit Autosuggestions
A tool that AI automatically recommends commit messages.
Stars: ✭ 207 (+392.86%)
Mutual labels:  natural-language, text-generation
gdpr-fingerprint-pii
Use Watson Natural Language Understanding and Watson Knowledge Studio to fingerprint personal data from unstructured documents
Stars: ✭ 49 (+16.67%)
Mutual labels:  natural-language
TRUNAJOD2.0
An easy-to-use library to extract indices from texts.
Stars: ✭ 18 (-57.14%)
Mutual labels:  text-analysis
fiction generator
Fiction generator with Tensorflow. 模仿王小波的风格的小说生成器
Stars: ✭ 27 (-35.71%)
Mutual labels:  text-generation
quanteda.corpora
A collection of corpora for quanteda
Stars: ✭ 17 (-59.52%)
Mutual labels:  text-analysis
keras-deep-learning
Various implementations and projects on CNN, RNN, LSTM, GAN, etc
Stars: ✭ 22 (-47.62%)
Mutual labels:  text-generation
remark-retext
plugin to transform from remark (Markdown) to retext (natural language)
Stars: ✭ 18 (-57.14%)
Mutual labels:  natural-language
fillers
List of (possible) English filler words
Stars: ✭ 36 (-14.29%)
Mutual labels:  natural-language
RL-based-Graph2Seq-for-NQG
Code & data accompanying the ICLR 2020 paper "Reinforcement Learning Based Graph-to-Sequence Model for Natural Question Generation"
Stars: ✭ 104 (+147.62%)
Mutual labels:  text-generation
Entity2Topic
[NAACL2018] Entity Commonsense Representation for Neural Abstractive Summarization
Stars: ✭ 20 (-52.38%)
Mutual labels:  text-generation
PlanSum
[AAAI2021] Unsupervised Opinion Summarization with Content Planning
Stars: ✭ 25 (-40.48%)
Mutual labels:  text-generation
Chinese-Hip-pop-Generation
Generate Chinese hip-pop lyrics using GAN
Stars: ✭ 121 (+188.1%)
Mutual labels:  text-generation
RgxGen
Regex: generate matching and non matching strings based on regex pattern.
Stars: ✭ 45 (+7.14%)
Mutual labels:  text-generation
openvalidation
Compose validation rules in the language you use every day, openVALIDATION handles code creation for you.
Stars: ✭ 62 (+47.62%)
Mutual labels:  natural-language
learning-stm
Learning structural topic modeling using the stm R package.
Stars: ✭ 103 (+145.24%)
Mutual labels:  text-analysis
nlpbuddy
A text analysis application for performing common NLP tasks through a web dashboard interface and an API
Stars: ✭ 115 (+173.81%)
Mutual labels:  text-analysis
nl4dv
A python toolkit to create Visualizations (Vis) using natural language (NL) or add an NL interface to existing Vis.
Stars: ✭ 63 (+50%)
Mutual labels:  natural-language
aylien textapi go
AYLIEN's officially supported Go client library for accessing Text API
Stars: ✭ 15 (-64.29%)
Mutual labels:  text-analysis
retext-spell
plugin to check spelling
Stars: ✭ 53 (+26.19%)
Mutual labels:  natural-language
HurdleDMR.jl
Hurdle Distributed Multinomial Regression (HDMR) implemented in Julia
Stars: ✭ 19 (-54.76%)
Mutual labels:  text-analysis

npm version Maven Central npm version

RiTa: tools for generative natural language

RiTa is implemented in Java and JavaScript, with a common API for both, and is free/libre/open-source via the GPL license.

Features in v2.0

  • Smart lexicon search for words matching part-of-speech, syllable, stress and rhyme patterns
  • Fast, heuristic algorithms for inflection, conjugation, stemming, tokenization, and more
  • Letter-to-sound engine for feature analysis of arbitrary words (with/without lexicon)
  • Integration of the RiScript scripting language, designed for writers
  • Powerful new options for generation via grammars and Markov chains

This repo contains the website, documentation, and examples for RiTa. For the code, see

Note: Version 2.0 contains breaking changes! Please check the release notes...

API

RiTa RiMarkov RiGrammar
RiTa.addTransform()
RiTa.alliterations()
RiTa.analyze()
RiTa.concordance()
RiTa.conjugate()
RiTa.evaluate()
RiTa.grammar()
RiTa.hasWord()
RiTa.isAbbrev()
RiTa.isAdjective()
RiTa.isAdverb()
RiTa.isAlliteration()
RiTa.isNoun()
RiTa.isPunct()
RiTa.isQuestion()
RiTa.isStopWord()
RiTa.isRhyme()
RiTa.isVerb()
RiTa.kwic()
RiTa.markov()
RiTa.pastPart()
RiTa.phones()
RiTa.pos()
RiTa.posInline()
RiTa.presentPart()
RiTa.pluralize()
RiTa.randomOrdering()
RiTa.randomSeed()
RiTa.randomWord()
RiTa.rhymes()
RiTa.search()
RiTa.sentences()
RiTa.singularize()
RiTa.soundsLike()
RiTa.spellsLike()
RiTa.stem()
RiTa.stresses()
RiTa.syllables()
RiTa.tokenize()
RiTa.untokenize()
addText()
completions()
generate()
probability()
probabilities()
size()
toString()
toJSON()
fromJSON()











addRule()
addRules()
expand()
removeRule()
toJSON()
toString()
fromJSON()













RiScript

RiScript is a writer-focused scripting language integrated with RiTa. It enables simple generative primitives within plain text for dynamic expansion at runtime. RiScript primitives can be used as part of any RiTa grammar or executed directly using RiTa.evaluate(). For documentation, see this interactive notebook.


Developers

The website in this repo is generated via the ./scripts/make-site.sh script.

Static pages

The best way to make updates to static pages is to do the following:

$ git clone [email protected]:dhowe/rita.git
$ cd rita
$ sh ./scripts/watch-site.sh
  • then make your changes in /rita/www
  • then refresh and check /rita/pub/index.html in the browser

When ready, create a PR with only the files you have changed (in www and pub).

Reference pages

To make updates to the reference pages, follow the instructions above,
but instead make updates to the JSON files in /rita/docgen/data.


Contributors

Code Contributors

This project exists only because of the people who contribute. Thank you!

Financial Contributors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].