https://github.com/1j01/suboptimal-research-tool
"Research" topics automatically
https://github.com/1j01/suboptimal-research-tool
autocomplete google google-autocomplete procedural-generation research research-information research-tool subjects topic topics
Last synced: 7 days ago
JSON representation
"Research" topics automatically
- Host: GitHub
- URL: https://github.com/1j01/suboptimal-research-tool
- Owner: 1j01
- Created: 2015-08-05T04:45:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-10T14:21:04.000Z (over 8 years ago)
- Last Synced: 2024-05-20T21:44:46.967Z (12 months ago)
- Topics: autocomplete, google, google-autocomplete, procedural-generation, research, research-information, research-tool, subjects, topic, topics
- Language: CoffeeScript
- Homepage: https://www.npmjs.com/package/suboptimal-research-tool
- Size: 5.86 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Suboptimal Research Tool ©
"Research" topics automatically —
's autocomplete.
(This is the *wrong way* to use Google for research, FYI.)
### Installation
`npm i suboptimal-research-tool -g`### CLI Usage
`research cats` (pluralization shouldn't matter)
```
Hey, look, a cat!I think cats are...
cute
weird
curious
lazy
flexible
evil
stupid
nocturnal
sleepy
funnyWhat do cats do? They...
purr
meow
sleep
eat grass
hate water
hiss
bite
drool
knead
sneeze
spray
love boxes
pant
chirp
wag tailsThere is a curious cat.
There is a lazy cat.
There is a funny, lazy, evil cat.
There is a lazy, evil, cute cat.
There is a funny, weird, flexible cat.
There is a cute, evil, sleepy cat.A weird cat drooled.
A cute cat bit.
A funny, cute cat hissed.
A funny, stupid, evil cat hated water.
A sleepy cat panted.
A weird cat meowed.
```### Module Usage
If you have some use for this, here it is!
```js
var research = require("suboptimal-research-tool");
research("bats", function(err, subject){
if(err){
return console.error(err);
}
console.log(
subject.singular, // "bat"
subject.plural, // "bats"
subject.adjectives, // ["scary", etc.]
subject.verbs // ["hibernate", etc.]
);
});
```### About
This module asks [Google's autocomplete team](https://www.youtube.com/watch?v=blB_X38YSxQ) what people search for in relation to a given subject.
Specifially, it finds what people have asked in the form of `Why are ...?` (hoping for adjectives) and `Why do ...?` (hoping for verb phrases).Because of the way the results are procured, they are prone to include misconceptions, stereotypes and opinions.
For instance, people search for "why are zebras extinct", so this module blindly assumes zebras are extinct.