Wednesday, 28 August 2013

Algorithm to combine a meaningful phrase from words

Algorithm to combine a meaningful phrase from words

The problem I'm currently facing is as follows. I have a set of words, and
want to construct a meaningful phrase/sentence out of them, if at all
possible. What I have tried so far is:
From the reference text corpus calculate an average position of each word
in a sentence;
Using this, sort words in set, and separate with space.
The problem with this approach is that most of the time it produces
bizarre phrases that make no sense. Is there any way to accomplish this,
maybe using nlp techniques (assuming, I'm only working with English)?

No comments:

Post a Comment