Published
Edited
Oct 28, 2021
Insert cell
# Swadesh lists

https://en.wikipedia.org/wiki/Swadesh_list

I wonder how this would go at poetry generator.

The most common order for parts of a sentence is: subject, verb, object (if present).

Most sentences in English are constructed using one of the following five patterns:

- Subject–Verb
- Subject–Verb–Object
- Subject–Verb–Adjective
- Subject–Verb–Adverb
- Subject–Verb–Noun

https://medium.com/@daffl/natural-language-processing-and-machine-learning-in-javascript-249181a3b721

https://github.com/mysamai/natural-brain << uses Brain.js

sentiment analysis (is this a positive or negative statement?)
topic classification (does this article talk about technology or cooking?)
determining actions (e.g. look up the weather or open a website).

**Stop words** are commonly used words that often don’t matter when classifying or searching text like “is”, “the”...

https://en.wikipedia.org/wiki/Word_stem

https://en.wikipedia.org/wiki/Thesaurus (for word subistution)

phrase book could also be used as a reference source

https://en.wikipedia.org/wiki/Lexical_semantics

https://en.wikipedia.org/wiki/Morphology_(linguistics)
the structure of words and parts of words such as stems, root words, prefixes, and suffixes.

https://en.wikipedia.org/wiki/Root_(linguistics)
https://en.wikipedia.org/wiki/Stemming

https://github.com/mysamai/natural-brain

https://github.com/NaturalNode/natural

---
https://mlweb.loria.fr/demos/mljs-tutorial.html
Insert cell
somewords = {
let words = "The " + Swadesh207[d3.randomInt(0,Swadesh207.length)()]
words += " is "+Swadesh207[d3.randomInt(0,Swadesh207.length)()]
return words
}
Insert cell
Swadesh207 =
["I","you (singular)","he","we","you (plural)","they","this","that","here","there","who","what","where","when","how","not","all","many","some","few","other","one","two","three","four","five","big","long","wide","thick","heavy","small","short","narrow","thin","woman","man (adult male)","man (human being)","child","wife","husband","mother","father","animal","fish","bird","dog","louse","snake","worm","tree","forest","stick","fruit","seed","leaf","root","bark (of a tree)","flower","grass","rope","skin","meat","blood","bone","fat (noun)","egg","horn","tail","feather","hair","head","ear","eye","nose","mouth","tooth","tongue (organ)","fingernail","foot","leg","knee","hand","wing","belly","guts","neck","back","breast","heart","liver","to drink","to eat","to bite","to suck","to spit","to vomit","to blow","to breathe","to laugh","to see","to hear","to know","to think","to smell","to fear","to sleep","to live","to die","to kill","to fight","to hunt","to hit","to cut","to split","to stab","to scratch","to dig","to swim","to fly","to walk","to come","to lie (as in a bed)","to sit","to stand","to turn (intransitive)","to fall","to give","to hold","to squeeze","to rub","to wash","to wipe","to pull","to push","to throw","to tie","to sew","to count","to say","to sing","to play","to float","to flow","to freeze","to swell","sun","moon","star","water","rain","river","lake","sea","salt","stone","sand","dust","earth","cloud","fog","sky","wind","snow","ice","smoke","fire","ash","to burn","road","mountain","red","green","yellow","white","black","night","day","year","warm","cold","full","new","old","good","bad","rotten","dirty","straight","round","sharp (as a knife)","dull (as a knife)","smooth","wet","dry","correct","near","far","right","left","at","in","with","and","if","because","name"]
Insert cell
Swadesh100 = ['I (Pers.Pron.1.Sg.)','you (2.sg! 1952 thou & ye)','we (1955: inclusive)','this','that','who? (“?” not 1971)','what? (“?” not 1971)','not','all (of a number)','many','one','two','big','long (not wide)','small','woman','man (adult male human)','person (individual human)','fish (noun)','bird','dog','louse','tree (not log)','seed (noun)','leaf (botanics)','root (botanics)','bark (of tree)','skin (1952: person’s)','flesh (1952 meat, flesh)','blood','bone','grease (1952: fat, organic substance)','egg','horn (of bull etc., not 1952)†','tail','feather (large, not down)','hair (on head of humans)','head (anatomic)','ear','eye','nose','mouth','tooth (front, rather than molar)','tongue (anatomical)','claw (not in 1952)†1','foot (not leg)','knee (not 1952)†','hand','belly (lower part of body, abdomen)','neck (not nape)','breasts (female; 1955 still breast)†','heart','liver','drink (verb)','eat (verb)','bite (verb)','see (verb)','hear (verb)','know (facts)','sleep (verb)','die (verb)','kill (verb)','swim (verb)','fly (verb)','walk (verb)','come (verb)','lie (on side, recline)','sit (verb)','stand (verb)','give (verb)','say (verb)†','sun','moon (not 1952)†','star','water (noun)','rain (noun, 1952 verb)','stone','sand','earth (soil)','cloud (not fog)','smoke (noun, of fire)','fire','ash(es)','burn (verb intr.!)','path (1952 road, trail; not street)','mountain (not hill)','red (color)','green (color)','yellow (color)','white (color)','black (color)','night','hot (adjective; 1952 warm, of weather)','cold (of weather)','full†','new','good','round (not 1952)†','dry (substance)','name']
Insert cell
Swadesh35 = ['I','you (singular)','this','who','what','one','two','fish','dog','louse','blood','bone','egg','horn','tail','ear','eye','nose','tooth','tongue','hand','know','die','give','sun','moon','water','salt','stone','wind','fire','year','full','new','name']
Insert cell
Insert cell
Insert cell
Insert cell
d3 = require('d3')
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