Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling char normalization does not work #928

Open
tenebrius opened this issue Feb 10, 2025 · 0 comments
Open

Disabling char normalization does not work #928

tenebrius opened this issue Feb 10, 2025 · 0 comments
Assignees
Labels
bug Something isn't working pdf PDF issue (except docling-parse)

Comments

@tenebrius
Copy link

tenebrius commented Feb 10, 2025

Bug

The "一" character in Chinese is changed to "-" using DocumentConverter to convert a standard 'text' PDF to MD. No OCR.

Steps to reproduce

model = nlp_model(loglevel="debug", text_ordering=True)
model.apply_on_text("一些")
>> -些

I tried

self.model = nlp_model(loglevel="debug", text_ordering=True, normalise_chars=False, normalise_text=False)

But no success

Docling version

2.20.0

Python version

3.11

@tenebrius tenebrius added the bug Something isn't working label Feb 10, 2025
@dolfim-ibm dolfim-ibm added the pdf PDF issue (except docling-parse) label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pdf PDF issue (except docling-parse)
Projects
None yet
Development

No branches or pull requests

3 participants