Horse Racing Forum - PaceAdvantage.Com - Horse Racing Message Board

Go Back   Horse Racing Forum - PaceAdvantage.Com - Horse Racing Message Board > Thoroughbred Horse Racing Discussion > Handicapping Software


Reply
 
Thread Tools Rate Thread
Old 11-23-2005, 10:55 PM   #1
osophy_junkie
Finish Line Profit
 
Join Date: May 2004
Posts: 143
Equibase chart parser

For those interested I have written a parser for the equibase PDF charts. It can be found at: http://lamedomain.net/horses/chartparser/chartparse.zip. The chart parsing can take up to a minute on a Athlon 1.3 Ghz. During early testing I have seen it get hung up on charts and never stop running. If it runs for more than a couple of minutes, there was an error parsing the chart and you will need to kill the program.

This program converts the PDF to text and then parsers the text for relivent information. The text file I get from the PDF is very difficult to parse due to the way PDF files are formated. This program has known bugs and will not parse all charts correctly.

Running it consists of unzipping the zip file and then double clicking parser.exe, click the "Convert PDF" button, choose a PDF file, then click Open. During this time it will parse the PDF and output a CSV file with the same filename and a "csv" extension.

I have only tested it on Windows XP and with the box I developed it on. Please let me know if you have any problems running it. NOTE: The user uses this program at their own risk and is responsible for verifing the data is correct before making any handicapping decisions using it.

Enjoy!
Ed
osophy_junkie is offline   Reply With Quote Reply
Old 11-24-2005, 05:53 AM   #2
Brian Flewwelling
Not a Schrub Fan!
 
Join Date: Oct 2002
Location: Cranbrook, BC
Posts: 288
I get an error running parser.exe

"libglib-2.0-0.dll cannot be found"
__________________
Brian
Brian Flewwelling is offline   Reply With Quote Reply
Old 11-24-2005, 08:38 AM   #3
headhawg
crusty old guy
 
headhawg's Avatar
 
Join Date: Aug 2003
Location: Snarkytown USA
Posts: 3,914
Me too. Using Windows XP.
headhawg is offline   Reply With Quote Reply
Old 11-24-2005, 08:49 AM   #4
douglasw32
douglasw32
 
douglasw32's Avatar
 
Join Date: Dec 2003
Location: Horseheads, NY
Posts: 1,630
yep me three
douglasw32 is offline   Reply With Quote Reply
Old 11-24-2005, 10:08 AM   #5
nomadpat
Registered User
 
nomadpat's Avatar
 
Join Date: Nov 2003
Location: Denver, CO
Posts: 236
Same error here and I'm on 2000.
nomadpat is offline   Reply With Quote Reply
Old 11-24-2005, 10:59 AM   #6
DJofSD
Screw PC
 
Join Date: Jun 2003
Posts: 15,728
Dudes, try this link.

Good luck. Hopefully there won't be any more after this.
DJofSD is offline   Reply With Quote Reply
Old 11-24-2005, 11:31 AM   #7
DJofSD
Screw PC
 
Join Date: Jun 2003
Posts: 15,728
Not lucky.

Now it's looking for iconv.dll.
DJofSD is offline   Reply With Quote Reply
Old 11-24-2005, 11:48 AM   #8
DJofSD
Screw PC
 
Join Date: Jun 2003
Posts: 15,728
It goes on and on.

After the iconv.dll it complains about something it found in my Interbase (Borland data base) folder.

So much for turkey day computer fun.
DJofSD is offline   Reply With Quote Reply
Old 11-24-2005, 12:44 PM   #9
Tom
The Voice of Reason!
 
Tom's Avatar
 
Join Date: Mar 2001
Location: Canandaigua, New york
Posts: 112,787
Quote:
Originally Posted by DJofSD
It goes on and on.

After the iconv.dll it complains about something it found in my Interbase (Borland data base) folder.

So much for turkey day computer fun.
Go parse the turkey!
__________________
Who does the Racing Form Detective like in this one?
Tom is offline   Reply With Quote Reply
Old 11-24-2005, 01:52 PM   #10
rokitman
Registered BSer
 
rokitman's Avatar
 
Join Date: Jun 2002
Location: New York
Posts: 1,075
It worked on the turkey. Getting lotsa errors on the pies.
rokitman is offline   Reply With Quote Reply
Old 11-24-2005, 08:57 PM   #11
osophy_junkie
Finish Line Profit
 
Join Date: May 2004
Posts: 143
The runtime files were suppose to be included in the zip file. Apparantly they are not or I added them incorrectly. I am out of town and do not have access to a computer that I test with, so it's just a guess.

The runtime files can be found at http://prdownloads.sourceforge.net/g...3.exe?download
osophy_junkie is offline   Reply With Quote Reply
Old 11-24-2005, 10:28 PM   #12
douglasw32
douglasw32
 
douglasw32's Avatar
 
Join Date: Dec 2003
Location: Horseheads, NY
Posts: 1,630
BINGO

Genius...not sure what to do with it....some chart person let me know, but it worked...opened in excell....WOW!!! thanks for sharing
douglasw32 is offline   Reply With Quote Reply
Old 11-25-2005, 10:41 AM   #13
rokitman
Registered BSer
 
rokitman's Avatar
 
Join Date: Jun 2002
Location: New York
Posts: 1,075
Hey Doug, did you download the whole file that link above wants to send? Or did you do it one dll at a time?
rokitman is offline   Reply With Quote Reply
Old 11-25-2005, 08:12 PM   #14
douglasw32
douglasw32
 
douglasw32's Avatar
 
Join Date: Dec 2003
Location: Horseheads, NY
Posts: 1,630
Downloaded the file above 2nd link in the post...
Installed the RUNTIME LIBRARYS the whole setup.

Then downloaded the parser, first link over again, unzipped it and it ran fine.

douglasw32 is offline   Reply With Quote Reply
Old 11-28-2005, 12:02 AM   #15
highnote
Registered User
 
highnote's Avatar
 
Join Date: Feb 2002
Posts: 10,861
I know it's asking alot, but it would be great if someone would write a parser that is open source. That way the racing community could add to it. Perhaps the originator of the code would act as a moderator and approve of any worthwhile additions to the code.

Just a thought.
highnote is offline   Reply With Quote Reply
Reply




Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

» Advertisement
» Current Polls
Wh deserves to be the favorite? (last 4 figures)
Powered by vBadvanced CMPS v3.2.3

All times are GMT -4. The time now is 07:48 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 1999 - 2023 -- PaceAdvantage.Com -- All Rights Reserved
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program
designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.