Parse PDFs at lightspeed (this video is at 1x)
144,675 次观看
27 条评论
评论来自 X (Twitter) 上的原帖

@BasedInfra
Parsing PDFs is not that difficult if you don’t obsess about the format. Problems appear when the PDF is not OCR’d and is some random image taken from some random app but in PDF format. I’m not sure if liteparse fixes that
8 个赞

@sighjith
hey i think there's a bug in your bbox generation for pages with rotated text columns (like the arxiv watermark). i just tried it with random papers and it extracted text for the first page but the bboxes are all offset.
4 个赞

@jerryjliu0
ooh cc @LoganMarkewich for visibility
3 个赞

@xmijo
Unfortunately rather useless if it cannot output into markdown preserving structure.
4 个赞

@jerryjliu0
we are working on markdown
6 个赞

@xmijo
Would also be interesting if you could benchmark against @firecrawl pdf-inspector, also built in rust

@DoDataThings
Nice work @jerryjliu0 and team. So snappy.
1 个赞

@aaryan_kakad
@llama_index is it open source?
1 个赞

@jerryjliu0
@llama_index yes!
8 个赞

@sumitsahoo
This is amazing
1 个赞

@bendersej
Brilliant work! We’ll definitely give it a go and possibly replace our existing custom parsing logic with it!
1 个赞

@ErinJConnors
Honestly, this is the sort of speed that changes the feel of agents. A model-free parser ripping through a resume at 1x is funny because the model finally gets to do the clever bit instead of waiting for page 47 to become text.
1 个赞

@Osantobi
But the tables bro, what about the tables?
1 个赞

@Synslius
Pain resolved😭

@Merisdabhi
Interesting

@dawoodSaleh12
Did it support arabic language?

@mh_sattarian
Does it support RTL languages? I tested it on a Persian/Farsi PDF file and the output text wasn't quite right.

@imzeeshan
Can we just stop producing PDFs :)

@BrandonTyler
@grok with my Opus4.8 kiro-cli agent is it better to just let the model parse a pdf or let the model use lightparse v2 as a tool. Frontier models can parse PDFs themselves but these tools might offer better parsing than the model. Do research, think hard, take your time.

@watcher_cb
I triex it.. It working good but is there any way to convert it into html like docling or open data loader?






