Add colours to logging
Signed-off-by: András Schmelczer <andras@schmelczer.dev>
This commit is contained in:
parent
85a06096bf
commit
3730a884b0
1 changed files with 84 additions and 268 deletions
|
|
@ -1,5 +1,4 @@
|
|||
import html
|
||||
import logging
|
||||
import re
|
||||
import unicodedata
|
||||
|
||||
|
|
@ -7,8 +6,10 @@ import unidecode
|
|||
|
||||
from .data import left_regular_punctuations, right_regular_punctuations
|
||||
from .external.pylatexenc.latex2text import LatexNodes2Text
|
||||
from .logger.create_logger import create_logger
|
||||
|
||||
logger = create_logger("clean")
|
||||
|
||||
logger = logging.getLogger("clean")
|
||||
latex = LatexNodes2Text()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue