|
|
|
Ask HN: How to do this? Substituting a general word with a random particular?
|
|
1 points
by Zakuzaa
2654 days ago
|
|
For a pet project I need general words substituted with a random particular. Example, if I write [country] [color], it could give out: Argentina Green or India Blue. Or anything random from the set of all terms having a country name followed by a color name. I have looked into wikidata, but results haven't been satisfactory. |
|
So to repeat - don't use this code, but by all means, let us know the ways in which it fails to meet your requirement.