Author: C.J. Collier

  • testing reddit button

    I installed a reddit plugin. I wonder if it works…

  • Parsing English Language (if you consider IRC logs to qualify)

    Haha. I wrote this on October 3rd, 2006. I started logging IRC conversations in 2005. I’ve got lots from #perl and #mono. I wonder if the n’ere-do-wells who frequent those channels will mind me using their public commentary to build an english language parser. I’ll make it “open source,” of course. Erhm, I mean Free Software.

    So… I’ve been trying to parse english language (text) for a while. I haven’t quite done it yet. My new idea involves IRC bots. We have lots and lots of conversations happen in public IRC channels every day. The conversations usually involve transmission of ideas in textual format. These transmissions are quite often (but not always) understood by the receiving party. The transmissions are expected to have been intercepted by the general public, so having a bot intercept and attempt to interpret should not offend anybody :) It will anyway, of course, but we’ll pretend that this 0.00001% minority doesn’t mind being marginalized for the time being.

    So the idea is this: split the words on the standard word boundaries and do a dictionary lookup on each of them. Cache the results locally so a network hit isn’t incurred for each word we look up. The info we will take from the dictionary lookup is the “part of speech” that the word falls into. In the english language, this is not often a scalar value. Computers are getting fast, so I think that this shouldn’t be too much of a problem.

    So now we have a list of words and the parts of speech for each of these words. These words are assumed to combine in such a way that they form a coherent idea.

    At this point, we can create an XML document from these word elements, for instance:

    <sentence>
      <article>the</article>                                                                                                                             
      <noun plurality="plural">cats</noun>                                                                                                               
      <verb>are</verb>                                                                                                                                   
      <adjective>cute</adjective>                                                                                                                        
    </sentence>
    

    There would need to be an XSD or DTD against which to test this document in order to determine whether these parts of speech can be combined in this way to make a valid, gramatically correct, sentence.

  • Twitter Updates for 2009-07-24

    • @mletterle: Wakey wakey. Need a patch review on #ironruby #
    • @jredville: got time to review a patch on #ironruby? #
    • This just in: Ankit got IronRuby building with xbuild. Details at 11. #
    • @sandyarmstrong: perl -e 's/foo/bar/g' is better! #
    • Come debate the Defense of Marriage Act with C.J. and Aaron! http://is.gd/1Jf7W #
    • @mletterle: you know… IRC? #
    • @kangamono, @directhex: yeah. buying houses is never fun. You've really got to *want* it ;) #
    • @abock: eep. I nearly had someone turn right into me one time. I think I left a dent in their hood with my boot. in reply to abock #
    • @sungo: N is for Neville: http://is.gd/1JqrB in reply to sungo #
    • @directhex: how's the fail whale treating you? I'll take my answers off the air, thanks. Long time reader, first time writer. #
    • @brianhartman: Is this thing on? #
    • @stonemirror: anything exciting from 0x0FFF today? #
    • @luzcummings: this is a participation sport. reply or get marked as spam! :) #
    • @jredville: anything to report today? #
    • @kangamono: retweet pro, eh? is it in ubuntu yet? #
    • @sanxiyn: Dude. #
    • @buquisha: dude. I mean boss. #
    • good night moon #
    • Damn you, @NoDepositHomes and all of your spammy friends! #
    • via @jstedfast and mhutch: http://is.gd/1KyYc in reply to jstedfast #

    Powered by Twitter Tools.

  • My daily contribution to the M$ Shills?

    I put the Novell folks who made xbuild work with IronRuby in contact with the M$ folks who write IronRuby. Another contribution from M$ into the growing pit of blasphemy which is Open Source.

    (it’s a joke. you’re supposed to laugh.)

  • Twitter Updates for 2009-07-23

    • @rjbs: not with /perl/ I hope! #
    • I was gonna nominate Schestowitz as Fauxpen Source contributor of the year but he recently mentioned svn. Does he still qualify? #
    • @directhex: welcome to the fail whale. #
    • @jredville: OMG! I'm being followed by another MS Shill! #
    • r @jredville: you and @directhex, @migueldeicaza, @stonemirror, @armchairdude, @bgoldy, @diakopter, and all of M$! SHILLS! #
    • @Skud: I've been using your bingo card: http://is.gd/1I5wY #
    • r @jredville: YOUR MISSING TEH POINT! http://is.gd/1I5WM http://is.gd/1I5Xg #
    • RT @stonemirror: Beware of "Faux FLOSS Fundamentalists!" Say "No" to "Freedom the Way We Tell You To!" http://bit.ly/3SjxtT in reply to stonemirror #
    • @stonemirror: meh, I like him. Peculiarities and all! :) in reply to stonemirror #
    • @luzcummings: uh oh. What did I do? I thought you liked following *real* people with *real* tweets. Have I passed the Turing Test? #
    • @stonemirror: Is Jeffery Stedman anything like Richard Stalfast? #
    • @BrianHartman: ACK in reply to BrianHartman #
    • Hurm… load is getting pretty high on the web server… let's see if I can fix some of it with caching… #

    Powered by Twitter Tools.

  • Matthew Broderick broke The Music Man.

    I was reading Lefty’s recent blog post and was reminded (by way of a certain scene) of being pissed off by Broderick’s s/egg/globe/ in the 2003 production of The Music Man. I was going to put the following in the comments, but I decided not to in order to keep the conversation on topic :)

    The Kids in the Pit

    Which reminds me of a tangential blather. Did any of you see the recent re-make of Music Man with Matthew Broderick? Do you recall how he changed the script to refer to Columbus and the *globe* instead of Columbus and the *egg*?

    That really irritated me. You can’t see it in the above picture, but while I was in the pit and waiting for our cues, I was coincidently reading Larry Wall’s Camel book. I was so confused about Harold Hill’s reference to “Columbus’ conception of the egg” until I read the following:

    http://docstore.mik.ua/orelly/perl3/cookbook/prf2_01.htm

    Anyway…

  • Twitter Updates for 2009-07-22

    Powered by Twitter Tools.

  • @jdub: Thanks for recommending…

    @jdub: Thanks for recommending Twitter Tools. Yay.