Ralph, too, needs a test train split
softwaredoug.com·1d·
Discuss: Hacker News
📝Parser Combinators
Preview
Report Post

For fun, I vibe coded a parser that would take a PDF of a Patent and parse out the abstract.

Or more accurately, I trained Claude to generate code that did an OK-enough job. I fit a parser. I don’t code one. It turns out, unsupervised Wiggum loop coding needs a training task - basically exactly how I’d think about training ML.

Getting clean text out of a PDF is a huge PITA. I didn’t want to labor over the minutia of bounding boxes, text elements, and weirdly interleaved column text.

image.png

So, I thought, just let the Claude Code figure it out:

  1. Here’s a bunch of patents
  2. Add them to the test…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help