You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
for right to left languages the output of reading a document is printed left to right,
for example instead of printing "Hello world", in arabic for example, the output print : "Dlor wolleh"
To Reproduce
from unstructured.partition.pdf import partition_pdf
elements=partition_pdf(
filename=file_path,
languages= languages,
strategy="hi_res",
)
elements_dict = [el.to_dict() for el in elements]
Expected behavior
the output text is printed right to left sentences
Activity
rhajou commentedon Jul 27, 2025
@nizar2yas hello, have you found a solution for that?
Crystora commentedon Mar 31, 2026
@PastelStorm @rhajou Can I pick this up? I can solve it correctly. I'd love to contribute
ma7555 commentedon Jul 5, 2026
@Crystora can you explain how to solve it