Hi,
I would like to have a function that will give me a random phrase based on
the letters that I have given as input. The phrase must make sense. So, I
would (initially) make sure that the last word generated would be a noun,
and all previous words would be an adjective.
eg.
$phrase = generatephrase( "abc");
I would like the value of $phrase to be something like this....
"another beneficial car"
or
"absolutely bodacious cookie"
I can do this using php, but I wanted to know where I can get the
following....
A complete data set (database export or text) list of the english dictionary
with the attribute or "word type"(noun, adjective, verb, etc).
So, my question is this......
a) does this script (or service) exist publically. (this would be preferable
as I dont want to re-invent anything)?
b) where can I get a list of dictionary entries.
Thanks
I would like to have a function that will give me a random phrase based on
the letters that I have given as input. The phrase must make sense. So, I
would (initially) make sure that the last word generated would be a noun,
and all previous words would be an adjective.
eg.
$phrase = generatephrase( "abc");
I would like the value of $phrase to be something like this....
"another beneficial car"
or
"absolutely bodacious cookie"
I can do this using php, but I wanted to know where I can get the
following....
A complete data set (database export or text) list of the english dictionary
with the attribute or "word type"(noun, adjective, verb, etc).
So, my question is this......
a) does this script (or service) exist publically. (this would be preferable
as I dont want to re-invent anything)?
b) where can I get a list of dictionary entries.
Thanks
Comment