Downloads

The data used for searching in the Dilbert Strip Finder is available for download. The latest is version 3.05 and is here:

dsi-3.05.zip (550 kib) released on 2012-02-01.

Comments

How do you enter the text?

Do you manually enter each strip's text, or do you use some kind of Optical Image Recognition software?

Thanks! Yours,

-mi

Manually

All the text is entered manually. You can download the source here on the downloads page. All the searches are based on this.

Cheers!
BFMartin

How do I use this?

Rakefile?

What shall I invoke to run this tool.

there is a bug in this code

I was getting an error that said Date.exist? was a bad method, which is true.

I changed "test\test-data.rb" to use Date.parse as follows:

28 j['dsistrips']['strip'].each do |strip|
29 assert(strip.has_key?('date'), "strip has no date: " + strip.to_s)
30 # is the date valid?
31 puts strip['date']
32 sd = Date.parse(strip['date'])
33 assert_not_nil(sd, "strip date not valid: " + strip['date'])
34 puts sd.year
35 stripdate = sd
36
37 # date must be between 1989-04-16 and today
38 assert(stripdate >= Date.new(1989, 04, 16),
39 "date in the past: " + strip['date'])
40 assert(stripdate <= Date.today, "date in the future: " + strip['date'])
41

Ruby

What version of Ruby are you using? Please send me a message by the contact page on this website so we can discuss. Thanks.

Bug?

Bug? Let me look into it. Thanks for pointing it out.

Rakefile

Use the 'rake' command with Rakefiles. It's a tool popular with the ruby programming language.

If this doesn't make sense to you then I recommend just opening the json files with a text editor.

Syndicate content