Cyrillic symbol і is not parsed correctly
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 2.7k
- Forks
- 579
- Avg merge
- 2m
- Merged PRs (30d)
- 1
Description
During parsing Ukrainian text, I faced that Cyrillic symbol і is parsed incorrectly: inserting extra spaces before and after this symbol.
Example of the initial text:
Приймаючи рішення щодо збільшення дози, слід брати до уваги, що при застосуванні лікарського засобу в
дозі 50 мг збільшується ризик підвищення рівня трансаміназ. Рішення щодо збільшення дози до 50 мг має
базуватися на оцінці показника користь/ризик для кожного пацієнта з обов’язковим проведенням
печінкових тестів.
Example of result:
Приймаючи р і шення щодо зб і льшення дози, сл і д брати до уваги, що при застосуванн і л і карського засобу в
доз і 50 мг зб і льшу є ться ризик п і двищення р і вня трансам і наз. Р і шення щодо зб і льшення дози до 50 мг ма є
базуватися на оц і нц і показника користь/ризик для кожного пац іє нта з обов’язковим проведенням
печ і нкових тест і в.
Waiting for your support.
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 Ukrainian-text parsing case in the PDF parser and trace how the Cyrillic symbol і is handled. Compare the parsed output with the supplied input, and consider the issue complete when parsing no longer inserts extra spaces around і while preserving the surrounding text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100