Public
Edited
Dec 17, 2023
Insert cell
Insert cell
Insert cell
import { RiTa } from "@dhowe/rita"
Insert cell
sortOfCayley = RiTa.soundsLike("cayley") // an example
Insert cell
md`<br>_Archival Note_:<br>To require the last 1.x version (v1.3.94), use:<br> \`require('rita@1.3.94/lib/rita.js').catch(() => window["RiTa"])\``
Insert cell
md`When we require version \`1.3.94\` of \`RiTa\`(see [API](https://rednoise.org/rita1/reference/index.php)), there are multiple variables attached to the window by this method, so for completeness, here are all of them: \`RiTa, RiString, RiGrammar, RiMarkov, RiWordNet, RiLexicon, RiTaEvent\`.`
Insert cell
RiTa.VERSION
Insert cell
RiTa.tagger
Insert cell
RiTa.pos("he fights")
Insert cell
RiTa.tagger.allTags("fight")
Insert cell
RiTa.hasWord("expecteds")
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more