-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
I want to translate the pdf from Japanese to Korean.
I'd like to replace the text with a translated one.
It's gone as soon as I fix it's gone..
Attached is the pdf used.
My Code
import re
from datetime import datetime
import pdf_redactor
options = pdf_redactor.RedactorOptions()
options.input_stream = r'.\filetest\test.pdf'
options.output_stream = r'.\filetest\test_transed.pdf'
options.content_filters = [
(
re.compile(u"論文の書き方ガイド"),
lambda m : u'테스트'
),
]
pdf_redactor.redactor(options)
test.pdf
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels