modesty / modesty/pdf2json

Not parsing line correctly

Open
#125 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

On the PDF Input File, the line
Method: ......................... KX−122

is not being parsed correctly.

In the JSON Output file, it is broken up into the following 3 lines:
Method%3A%20.........................%20KX
%E2%88%92
122

It should be in the JSON file on one line:
Method%3A%20.........................%20KX%E2%88%92122

Thanks for looking at these files and helping figuring out why it is not parsing correctly.

Input File:
16180015_PTS20170428142349.pdf

Output File:
16180015_PTS20170428142349.txt

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

Reproduce the issue using 16180015_PTS20170428142349.pdf and compare the generated 16180015_PTS20170428142349.txt with the expected single encoded line. Trace the PDF-to-JSON parsing path to determine why the minus sign and surrounding text are split, then verify that the complete Method value remains on one output line.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.