Procházet zdrojové kódy

fix es exception (#298)

### What problem does this PR solve?

Issue link:#295
### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
tags/v0.1.0
KevinHuSh před 1 rokem
rodič
revize
24c15daaed
Žádný účet není propojen s e-mailovou adresou tvůrce revize
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3
    3
      rag/nlp/__init__.py

+ 3
- 3
rag/nlp/__init__.py Zobrazit soubor

d["position_int"] = [] d["position_int"] = []
d["top_int"] = [] d["top_int"] = []
for pn, left, right, top, bottom in poss: for pn, left, right, top, bottom in poss:
d["page_num_int"].append(pn + 1)
d["top_int"].append(top)
d["position_int"].append((pn + 1, left, right, top, bottom))
d["page_num_int"].append(int(pn + 1))
d["top_int"].append(int(top))
d["position_int"].append((int(pn + 1), int(left), int(right), int(top), int(bottom)))
def remove_contents_table(sections, eng=False): def remove_contents_table(sections, eng=False):

Načítá se…
Zrušit
Uložit