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

pt data #56

Merged
merged 22 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions ePICreator/pdf-to-html/asssesser_of_toc.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
import re

import fitz # PyMuPDF
import re

LANGUAGE = "pt"
lang_folder = {
Expand All @@ -12,22 +12,22 @@

if LANGUAGE == "da":
from parser_dk import (
parse_html,
cleanhtml,
parse_html,
)
if LANGUAGE == "pt":
from parser_pt import (
parse_html,
cleanhtml,
parse_html,
)
if LANGUAGE == "es":
from parser_es import parse_html, cleanhtml
from parser_es import cleanhtml, parse_html
if LANGUAGE == "fr":
from parser_fr import parse_html, cleanhtml
from parser_fr import cleanhtml, parse_html
if LANGUAGE == "en":
from parser_en import parse_html, cleanhtml
from parser_en import cleanhtml, parse_html
if LANGUAGE == "uk":
from parser_uk import parse_html, cleanhtml
from parser_uk import cleanhtml, parse_html


header_list = []
Expand Down
Loading