looking for a random word API where I can specify parts of speech and syllable counts that returns multiple words, or open source dictionary data I can host myself
TIL If you name yourself %adj %noun everyone will refer to you as random adjective + random noun
How do I make a randomly generated set of Adjective+Noun phrases where the formula picks random adjectives based on what random noun it picked?
I would like to make a random word generator in unity.
Do you offer API access to the noun generator?
What are some common use cases for the noun generator?
How do I get an API key and start using the Random Word API?
X-Api-Key header on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.Hey r/learnprogramming, this is my first time posting in this sub, not sure if there's a more fitting one.
For a project I'm working on, I want to generate random words in bulk with specific parts of speech (noun, verb, adjective, etc), and with a specific number of syllables. I've done some pretty heavy googling for API's and open source dictionaries but haven't found one that quite fits my requirements.
Wordnik has a random word API endpoint, however you can only specify parts of speech, not the number of syllables. They do have a syllables ("hyphenation") end point, but checking syllable counts for each word I pull (I'm talking hundreds at a time) would be computationally expensive, not to mention I'd hit my request limit pretty quickly.
WordsAPI has a search endpoint where you can specify parts of speech and syllables, and if you specify random = true it will return ONE random word, so I'd have to hammer the API like a hundred requests at a time, and there's a 2500 request a day limit on the free tier, and I don't really have money to burn on a subscription for a higher limit. They also offer their full data dump for $630, which again I can't really afford at the moment.
Does anyone know of any random word API's where I can specify parts of speech and number of syllables to get multiple words, or know of any open source dictionaries or something that I can host somewhere to build my own API?
thanks!