提交 8a4678aa 编写于 作者: M MissPenguin

refine

上级 16c247ac
...@@ -325,14 +325,8 @@ class TableLabelDecode(object): ...@@ -325,14 +325,8 @@ class TableLabelDecode(object):
""" """ """ """
def __init__(self, def __init__(self,
max_text_length,
max_elem_length,
max_cell_num,
character_dict_path, character_dict_path,
**kwargs): **kwargs):
self.max_text_length = max_text_length
self.max_elem_length = max_elem_length
self.max_cell_num = max_cell_num
list_character, list_elem = self.load_char_elem_dict(character_dict_path) list_character, list_elem = self.load_char_elem_dict(character_dict_path)
list_character = self.add_special_char(list_character) list_character = self.add_special_char(list_character)
list_elem = self.add_special_char(list_elem) list_elem = self.add_special_char(list_elem)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册