{
  "id": 2153,
  "title": "Sample Perl script available",
  "url": "/competitions/cprod1/discussion/2153",
  "author_name": "",
  "post_date": "2012-07-09T17:42:15.147Z",
  "votes": 1,
  "comment_count": 4,
  "views": 3980,
  "content": "<p>The CPROD1 Team has provided some sample code written in Perl that creates a baseline submission for leaderboard-text.json. It can be downloaded from the\r\n<a href=\"https://www.kaggle.com/c/cprod1/data\">Data</a> page.</p>",
  "messages": [
    {
      "id": "12234",
      "postDate": "07/09/2012 17:42:15",
      "content": "<p>The CPROD1 Team has provided some sample code written in Perl that creates a baseline submission for leaderboard-text.json. It can be downloaded from the\r\n<a href=\"https://www.kaggle.com/c/cprod1/data\">Data</a> page.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "12442",
      "postDate": "07/18/2012 20:19:38",
      "content": "<p>Hi,</p>\r\n<p>I've no idea about perl. I'm being unable to produce the benchmark result.<br>\r\nHere is what I did is <br>\r\n$ perl CPROD1<em>baseline.120707.pl<br>\r\nCan't locate Algorithm/AhoCorasick.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site</em>perl .) at CPROD1<em>baseline.120707.pl\r\n line 10.<br>\r\nBEGIN failed--compilation aborted at CPROD1</em>baseline.120707.pl line 10.</p>\r\n<p>Is AhoCorasick.pm a pre-defined method? Plz help me thru here ... :)</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "12443",
      "postDate": "07/18/2012 21:12:44",
      "content": "<p>The script depends on two external libraries</p>\r\n<ul>\r\n<li><a href=\"http://search.cpan.org/~vbar/Algorithm-AhoCorasick-0.03/lib/Algorithm/AhoCorasick.pm\">http://search.cpan.org/~vbar/Algorithm-AhoCorasick-0.03/lib/Algorithm/AhoCorasick.pm</a>\r\n</li><li><a href=\"http://search.cpan.org/~makamaka/JSON-2.53/lib/JSON.pm\">http://search.cpan.org/~makamaka/JSON-2.53/lib/JSON.pm</a>\r\n</li></ul>\r\n<p>&nbsp;</p>\r\n<p>AhoCorasick is an algorithm that efficiently locates terms within a text.</p>\r\n<p>JSON is to process/read the .json file</p>\r\n<p>To install them you can use the cpan command</p>\r\n<ul>\r\n<li>cpan -i&nbsp;&nbsp;Algorithm::AhoCorasick </li><li>cpan -i JSON </li></ul>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "12592",
      "postDate": "07/22/2012 06:04:35",
      "content": "<p>I get an error while trying to run the script:&nbsp;</p>\r\n<p>CPROD1_baseline.120707.pl: 9: Syntax error: &quot;(&quot; unexpected</p>\r\n<p>&nbsp;</p>\r\n<p>regards</p>\r\n<p>shankar.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "12691",
      "postDate": "07/24/2012 10:17:43",
      "content": "<p>thanks, that worked out ...</p>",
      "rawMarkdown": "",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 12442,
      "author_name": "maxer49663",
      "author_url": "",
      "post_date": "07/18/2012 20:19:38",
      "content": "<p>Hi,</p>\r\n<p>I've no idea about perl. I'm being unable to produce the benchmark result.<br>\r\nHere is what I did is <br>\r\n$ perl CPROD1<em>baseline.120707.pl<br>\r\nCan't locate Algorithm/AhoCorasick.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site</em>perl .) at CPROD1<em>baseline.120707.pl\r\n line 10.<br>\r\nBEGIN failed--compilation aborted at CPROD1</em>baseline.120707.pl line 10.</p>\r\n<p>Is AhoCorasick.pm a pre-defined method? Plz help me thru here ... :)</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 12443,
      "author_name": "cprod1",
      "author_url": "",
      "post_date": "07/18/2012 21:12:44",
      "content": "<p>The script depends on two external libraries</p>\r\n<ul>\r\n<li><a href=\"http://search.cpan.org/~vbar/Algorithm-AhoCorasick-0.03/lib/Algorithm/AhoCorasick.pm\">http://search.cpan.org/~vbar/Algorithm-AhoCorasick-0.03/lib/Algorithm/AhoCorasick.pm</a>\r\n</li><li><a href=\"http://search.cpan.org/~makamaka/JSON-2.53/lib/JSON.pm\">http://search.cpan.org/~makamaka/JSON-2.53/lib/JSON.pm</a>\r\n</li></ul>\r\n<p>&nbsp;</p>\r\n<p>AhoCorasick is an algorithm that efficiently locates terms within a text.</p>\r\n<p>JSON is to process/read the .json file</p>\r\n<p>To install them you can use the cpan command</p>\r\n<ul>\r\n<li>cpan -i&nbsp;&nbsp;Algorithm::AhoCorasick </li><li>cpan -i JSON </li></ul>",
      "votes": null,
      "replies": []
    },
    {
      "id": 12592,
      "author_name": "mailshanx",
      "author_url": "",
      "post_date": "07/22/2012 06:04:35",
      "content": "<p>I get an error while trying to run the script:&nbsp;</p>\r\n<p>CPROD1_baseline.120707.pl: 9: Syntax error: &quot;(&quot; unexpected</p>\r\n<p>&nbsp;</p>\r\n<p>regards</p>\r\n<p>shankar.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 12691,
      "author_name": "maxer49663",
      "author_url": "",
      "post_date": "07/24/2012 10:17:43",
      "content": "<p>thanks, that worked out ...</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "12234": "",
    "12442": "",
    "12443": "",
    "12592": "",
    "12691": ""
  },
  "source": "meta"
}