Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
Progressive JPEG
Feb 19, 2003

did you ocr the more recent jerkcitys or did you just use one of those old .txts floating around

seems like itd be pretty easy to ocr given the consistent font, but the comic cell layout probably makes it a lil tricky

Adbot
ADBOT LOVES YOU

Progressive JPEG
Feb 19, 2003

A Wheezy Steampunk posted:

Good question! I went to http://jerkcity.com/jerkcity.txt and then stripped out everything but the dialogue.

oh poo poo thats awesome thanks

HOLY CHRIST JUST DONGS EVERYWHERE AND SO SUDDENLY -- POKING AND WHAPPING ME -- IT'S LIKE I'M RUNNING BACKWARDS NAKED THROUGH A CORNFIELD

e: for a while id been looking for a big ol dump to use against this markov chain lib id made, all the dumps id found cut off in like 2006

Progressive JPEG fucked around with this message at 16:15 on Aug 14, 2014

Progressive JPEG
Feb 19, 2003

Werthog 95 posted:

stick it in a markov, please.

:)

Captain Foo posted:

I don't think jerkcity.text has been updated for years tho

that one looks like it's got this month at the bottom, maybe its got a big gap in the middle idk??

Progressive JPEG
Feb 19, 2003

aight i gotta go to work but heres how you could get markovin':

get/build the markov tool:

code:
$ sudo apt-get install build-essential cmake git libsqlite3-dev libgtest-dev
$ git clone git://github.com/nickbp/marky.git
$ cd marky
$ mkdir bin
$ cd bin
$ cmake -DCMAKE_BUILD_TYPE=Release ..
$ make -j4
then some garbage to get the content and IN THE CORRECT CAPS:

code:
# strip.py
f = open("jerkcity.txt")
lines = f.readlines()
for l in lines:
    if not ':' in l:
        continue
    if 'JERKCITY #' in l:
        continue
    s = ':'.join(l.split(':')[1:]).strip().upper()
    print s
then makin some chains from the content:

code:
$ cd marky/bin/apps # get in apps dir from build output above
$ python strip.py > jerkcity-stripped.txt
$ ./marky-file -p jerkcity-stripped.txt -n 10 # random
$ ./marky-file -p jerkcity-stripped.txt -n 10 -s CORN # search "CORN"
some outputs from the above:

10 random:
CAN DO YOU SAID *AT THE HUMPTY-DUMP AS WESTERN JER
OH SHUT THE NEW REPUBLIC HAS BEEN LIKE YOUR BEESWAX
RUNNING AWAY
THESE STONE MOVIES, NOT THE COUNTER STRIKE DICK FROM L.A. LAW & MOUSE....... LET'S JACK HIM
HMM
HOLD ON DICK WITHOUT ME AGAIN
YOU DON'T TELL ANYONE CAN I CAN START A COLLAGE OF JERKCITY
PERSONALLY I HAVE ENDURED SOMETHING OR ??? SIGNED UP
OW GOD I'LL BE DIFFICULT DUE TO THE DARK
WHAT THESE NOTES, IT SIR YOU DON'T PIPE DOWN HERE TO ESCROW WITHOUT ACTUALLY WATCHING AND ON BUSINESS

10 with "CORN" search:
SQUEEZING, STARING AT OTHER STUPID FACE GOT SOME KIND OF CORN
COVER YOUR COCK OF CORN AND TOM GREEN CLOVERS
T SPIGOT I'M A TUNA-FISH CAN COMPILE AND HURTING MY AFFINITY FOR YOU HIGH FRUCTOSE CORN AND AGAIN (CUPPING MY BONER'S FLOATING THROUGH THE OTHER TIMES A STORMTROOPER'S LASER GUN I WOULD ENJOY A STICKIER, MORE SENSIBLE SOLUTION PEOPLE DIE DIE LIKE NEW ZEALAND OR FAILURE?
HUGE BEND IN MUCH TO BE HARD SMOKING CRACK CORN AND DORKUS
PANTS ARE ALIVE NUGGGGGGGGGGGGGGGGH ANAL UHBLALAG SPIT IT WRONG TO IGNORE THOSE HAMS THIS HIGH FRUCTOSE CORN
WOOOOOOOOOOOOOOO BRAZIL AND SMOKE CRACK CORN AND I'M ALL OF THE FACE WITH NEW-FOUND STRENGTH
LOOK AT 3 HAS THE gently caress UP WITH ME HIGH FRUCTOSE CORN IN DATA'S DREAM DREAM
I'M A LITTLE JIMMY CRACK CORN
YOU !!!! CAN'T BUILD A ONE CLUSTER TO BE CORN SYRUP ON
PLEASE SECEDE FROM HEAVFEN TO A MINUTE IS HE AND FOR ME A PATCH OF MY BACK IN YOUR WAY INTO THE DOLE POSTERS????? PAMPHLETS???? WHAT DO I MEAN TO ME WITH YOUR HOUSE IS HOW CAN I READ A VARIETY OF CORN AND MY MODEST LITTLE MAYBE WE WILL DO K:SFJLKSJFLSKDFJLSKDFJLSFJ

marky also does sqlite caching via -i/-e but its not rly necessary unless u wanna be a speed demon w/ ur chains

  • Locked thread