Words containing "ff" are not parsing properly
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 2.7k
- Forks
- 579
- Avg merge
- 2m
- Merged PRs (30d)
- 1
Description
when parsing pdf files, words containing "ff" are not properly saved in the word table through pdfparser.
For example "puff" is saved as "pu"
It only happens with words in the content, not in the title. IOW, if "stuff" is a title word, then "stuff" is saved. If "stuff" is in the content, then only "stu" is saved.
Upon further testing, it appears that multiple "f" are treated as a space, anywhere in a word.
The word boardfflamps is parsed and saved as 2 words "board" and "lamps"
The word Cablefknoss is parsed and saved correctly as "cablefknoss"
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported PDF parsing cases with words such as “puff,” “stuff,” “boardfflamps,” and “Cablefknoss,” comparing content with title text. Trace the content path that saves words to the word table; done means repeated f characters remain part of content words without changing the observed title behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 54/100