Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Natural Language Sentence Production

by Nitsuj (Hermit)
on Sep 22, 2005 at 22:19 UTC ( #494323=note: print w/replies, xml ) Need Help??

in reply to Natural Language Sentence Production

So, there's a lot of literature on natural language... Assuming that you want a bit quicker ramp-up than a few months of reading, I'd do a search on citeseer for data on this, since someone has probably written a paper.

Failing that, you could scan corpora for sentences that contain the words on the magnets, or you could generate a model from corpora (such as a bayesian one), then constrain your model to only sentences containing those words, and choose sentences with the highest probability.
  • Comment on Re: Natural Language Sentence Production

Replies are listed 'Best First'.
Re^2: Natural Language Sentence Production
by Camel_thirst (Friar) on Sep 23, 2005 at 10:56 UTC
    I agree with Nitsuj and I'll do a search on Scirus as well...

    First in sentence generation, usually there is a distinction between 'syntax'/'grammar' and 'semantics'. First constraint is that your auto-generated sentences are grammatically correct, second is that they actually mean something sensible. From what I gather from your post, you only need them to be grammatically correct, not meaningful.

    In fact, your initial corpus (magnet elements) need to be mapped (using XML for instance) so each element is described by several attributes (noun/adjective/verb, singular/plural, or even genre if the language you are using makes the distinction between masc./fem./neutr...) Some words, especially prepositions, or prepositional verbs, can create a lot of trouble as to their linkage with other elements. You'll find such grammar descriptive models in publications,for example here : Yet Another Head Driven Generator of Natural Language


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://494323]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2022-05-25 04:56 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (84 votes). Check out past polls.