Blog Archive

Infinite Monkeys N-GRAM Algorithm in JavaScript

Source: Download!

Well. This is my first attempt at programming in JavaScript. It is a beta version of Infinite Monkeys vaunted n-gram algorithm. You cut and paste text into the top box, click the "eat" button, and then the "generate line" button. You can cross mix texts as many times as you please. This is very beta. Please notify me of any bugs.. I will continue to update with more features, including the ability to save your 'biases' (saved n-gram states) and other awesome functionality.


*EDIT*

0.61 Update

Cleaned up two mistakes, one in copy constructor, which slowed down copy. The other in genLine( nWords ) which did not assign nWords a value if 0 words were passed to the function. Download is updated.

New version for download.

~dave
j(Infinite Monkeys) v.5


4 comments:

  1. . you can do this as you like . you like . you like . you can do this as many times as you can do this as you like .

    ReplyDelete
  2. of eventuality that has insisted upon potential and every thought every fantastic song unsung page so pure it is the page and my vision drifted across each line on the
    it would be sin to dream of eventuality that has insisted upon potential and every thought every fantastic song unsung page so pure it is the inevitability of eventuality that
    song unsung page so pure it is the page and my vision drifted across each line on the inevitability of every thing and now they are bound bound
    to dream of every thing and now they are bound it would be sin to dream of eventuality that has insisted upon potential and every thing and every thought
    page so pure it would be sin to dream of eventuality that has insisted upon potential and every thought every fantastic song unsung page so pure it is the page
    were sentences beneath my mind let loose to mark them but it would be sin to mark them but it is the page and my mind let loose to mark

    ReplyDelete
  3. blade to work correctly – always follow basic safety precautions
    including the use a damaged cord to allow the edge of steam to work correctly – always use outdoors
    • do not use of attachments
    including canning or damage the risk of
    – severe personal
    cause risk of
    – severe personal injury – damage to work correctly – always put the appliance unattended while blending to work correctly – after you drop or other liquids

    including canning or plug – after you drop or repair
    • do not immerse the appliance
    – with the jar while it carefully
    • when it carefully
    • the risk

    ReplyDelete
  4. from top right the grass is covered in dundee orange marmalade the paws form a wide base the cobweb the keyhole the 2 flies die side by chance

    western rooms retain the two fingers and strains urethral muscles urine presses against a plank is written over the green foot of vapor cools rapidly in its seat the latch shadow splits the top right

    the dog takes the 14 stones are for pitch adjustment urine presses against a lone bird occludes the sun's wash the red bar a category the full 20 seconds the read sections are spoken the nail shadow the notebook costs $2 19 trees light rose light reddens across the pane
    the knob has 6 keys are highlighted yellow the edges of a category the grass blades are highlighted yellow one paragraph follows the rationale surfaces in a category b1 bombers adorn the face of open air moves loosely in its edges the 62 lines one paragraph follows the feather rests on an almanac another page reads "obsolete word

    ReplyDelete

Popular Posts