Bitcoin Forum
December 09, 2016, 07:38:51 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2]  All
  Print  
Author Topic: Randomly generated text  (Read 1489 times)
dree12
Legendary
*
Offline Offline

Activity: 1232



View Profile
October 04, 2012, 02:22:31 AM
 #21

Bump!

I'm knocking together a generator that makes just as little sense, but has more flexible grammar. So, let's start from the basics:
Quote
The collection of wrists consumes cats; a volcano consumes cats. The couple of machines consumes cats, for a team of screens consumes cats. A series of hurricanes consumes cats. Couples of cables consume cats, and teams of thieves consume cats.

Though rocks consume cats, mobs of disks consume cats. A collection of defects consumes cats; a team of ideas consumes cats. Teams of families consume cats; libraries consume cats. The defect consumes cats, but the collection of keyboards consumes cats. A border consumes cats; a wish consumes cats. Though the labourer consumes cats, arbitrators consume cats.

Glaciers consume cats, so geysers consume cats. Collections of stars consume cats, for couples of companies consume cats. Avocations consume cats; a swarms of readers consumes cats. Alpaca consume cats; swarms of jungles consume cats.

Groups of afternoons consume cats, yet the group of institutions consumes cats. The boundary consumes cats. As the couple of elephants consumes cats, collections of depositions consume cats. Couples of guitars consume cats, and a series of incorporations consumes cats. Even if the horde of cats consumes cats, hordes of fifes consume cats. Unless the canoe consumes cats, activities consume cats. The team of secrets consumes cats.

I haven't worked on the predicates nor the fluff yet (which is why everything seems to consume cats), but this new structure seems to handle the subjects much better, and also boasts more sentence variety. Any English majors here to rip this apart? Grin

Most of these sentences should be using 'consume', not 'consumes'. And as for sentence variety, well...

Are you using Word Net: http://wordnet.princeton.edu/
But sense is not a goal. To the contrary, sense is unwanted in my endeavours. It ruins the randomness of it.

I'm pretty sure verb inflection is correct, because the computer does it better than I. I'm using standard grammar in my area when I say "a horde of cats consumes cats", because "horde" is singular and that is the subject. I'm aware that Texans, Alabamans, Mississippians, Nevadans, etc. may consider the subject to be plural because it is collective.

You're correct. I wasn't looking at it closely enough. However, I don't understand why sense is unwanted.
This is what happens when sense is employed:
Quote
A passenger wields an umbrella. The programmer plays a piano. A father eats the mother. A narwhal resides in a jungle. A person wields the stone. The man wields the sable.

The minister eats the kangaroo. The woman eats a kangaroo. The ghost wields the sword.

There is less variety than I would want.
1481312331
Hero Member
*
Offline Offline

Posts: 1481312331

View Profile Personal Message (Offline)

Ignore
1481312331
Reply with quote  #2

1481312331
Report to moderator
1481312331
Hero Member
*
Offline Offline

Posts: 1481312331

View Profile Personal Message (Offline)

Ignore
1481312331
Reply with quote  #2

1481312331
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481312331
Hero Member
*
Offline Offline

Posts: 1481312331

View Profile Personal Message (Offline)

Ignore
1481312331
Reply with quote  #2

1481312331
Report to moderator
FirstAscent
Hero Member
*****
Offline Offline

Activity: 812


View Profile
October 04, 2012, 02:34:51 AM
 #22

This is what I think sense is:

A man stood in line at the grocery store while his groceries were scanned. He looked at the boxboy and said: "Could you put all the cold in one bag, and the hot in another." He then paid the cashier in cash and exited the store.

The computer then makes sense of the preceding story by answering the following questions:

1. What are some likely items the man purchased?

2. Given the information in the story, how many people did he interact with while making his purchases?

3. Did the man have less cash on his person upon leaving the supermarket vs. entering the supermarket?

4. What is the minimum number of bags the man exited the market with?

5.  Why did the man make the statement he did to the boxboy?

Sense doesn't just rely on syntax. Sense doesn't just rely on word definitions. Consider the words the man spoke to the boxboy. It isn't even grammatically correct. Yet it makes perfect sense.
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!