Download or view descriptorsFogus.frink in plain text format
/** This is a simple program to try to test a hypothesis from @fogus:
https://twitter.com/Frinklang/status/1219879910312800256 **/
use Words.frink
word = ARGS@0
pattern = regex["\\b$word(s?)\\b", "i"]
for line = lines["file:/home/eliasen/builds/ngrams/3grams.filtered.csv"]
if line =~ pattern
for w = split[%r/\s+/, line]
if Words.isAdjective[w]
println[line]
Download or view descriptorsFogus.frink in plain text format
This is a program written in the programming language Frink.
For more information, view the Frink
Documentation or see More Sample Frink Programs.
Alan Eliasen, eliasen@mindspring.com