modesty / modesty/pdf2json

Get every Word instead of Row

Open
#185 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement not-supported
Dominant language
Java
Stars
2.2k
Forks
394
Avg merge
3d 5h
Merged PRs (30d)
7

Description

Hi, is there a way to get every Word (divided by space) and its coordinates? I want to find the coordinates of specific words so i can draw a recantlge over them with another tool. :-)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the existing PDF-to-JSON and text extraction output to find where rows and coordinates are represented. Determine how words should be divided by spaces and what coordinate data is available, then define an output that lets callers identify individual words and draw rectangles. No file or test is named, so locate the relevant extraction entry point and add coverage for the requested representation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.