Giter Club home page Giter Club logo

nlp_tools's People

Contributors

compartia avatar thingumajig avatar

Watchers

 avatar  avatar  avatar

nlp_tools's Issues

Errors during batch contract parsing

see dev: Parse contracts and save all to JSONs.ipynb
branch: semantic-tags

/content/gdrive/My Drive/GazpromOil/Contracts/Проект договора ООО Чудеса.doc
zero-size array to reduction operation maximum which has no identity
/content/gdrive/My Drive/GazpromOil/Contracts/Доп.согл3 Доверие.doc
zero-size array to reduction operation maximum which has no identity
nlp_tools/integration/doc_providers.py:29: RuntimeWarning: Cannot read file /content/gdrive/My Drive/GazpromOil/Contracts/Проект договора ООО Чудеса.doc with docx2txt, error: (<class 'KeyError'>, KeyError("There is no item named 'word/document.xml' in the archive",), <traceback object at 0x7f88aee33208>)
  warnings.warn(info_, RuntimeWarning)
nlp_tools/integration/doc_providers.py:29: RuntimeWarning: Cannot read file /content/gdrive/My Drive/GazpromOil/Contracts/Доп.согл3 Доверие.doc with docx2txt, error: (<class 'KeyError'>, KeyError("There is no item named 'word/document.xml' in the archive",), <traceback object at 0x7f88aee33188>)
  warnings.warn(info_, RuntimeWarning)
nlp_tools/integration/doc_providers.py:29: RuntimeWarning: Cannot read file /content/gdrive/My Drive/GazpromOil/Contracts/Проект договора ООО Зеленые.doc with docx2txt, error: (<class 'KeyError'>, KeyError("There is no item named 'word/document.xml' in the archive",), <traceback object at 0x7f88aee33188>)
  warnings.warn(info_, RuntimeWarning)
/content/gdrive/My Drive/GazpromOil/Contracts/Проект договора ООО Зеленые.doc
zero-size array to reduction operation maximum which has no identity
nlp_tools/integration/doc_providers.py:29: RuntimeWarning: Cannot read file /content/gdrive/My Drive/GazpromOil/Contracts/Договор купли-продажи_ООО Парацельс.doc with docx2txt, error: (<class 'KeyError'>, KeyError("There is no item named 'word/document.xml' in the archive",), <traceback object at 0x7f88aee33308>)
  warnings.warn(info_, RuntimeWarning)
/content/gdrive/My Drive/GazpromOil/Contracts/Договор купли-продажи_ООО Парацельс.doc
zero-size array to reduction operation maximum which has no identity
nlp_tools/integration/doc_providers.py:29: RuntimeWarning: Cannot read file /content/gdrive/My Drive/GazpromOil/Contracts/Договор хранения нефти_ХранТрансНефть.doc with docx2txt, error: (<class 'KeyError'>, KeyError("There is no item named 'word/document.xml' in the archive",), <traceback object at 0x7f88aee33108>)
  warnings.warn(info_, RuntimeWarning)
/content/gdrive/My Drive/GazpromOil/Contracts/Договор хранения нефти_ХранТрансНефть.doc
zero-size array to reduction operation maximum which has no identity
nlp_tools/integration/doc_providers.py:29: RuntimeWarning: Cannot read file /content/gdrive/My Drive/GazpromOil/Contracts/7. Соглашение БГ Газпромнефть-Региональные продажи.doc with docx2txt, error: (<class 'zipfile.BadZipFile'>, BadZipFile('File is not a zip file',), <traceback object at 0x7f88aee33388>)
  warnings.warn(info_, RuntimeWarning)
/content/gdrive/My Drive/GazpromOil/Contracts/7. Соглашение БГ Газпромнефть-```
Региональные продажи.doc
zero-size array to reduction operation maximum which has no identity
nlp_tools/integration/doc_providers.py:29: RuntimeWarning: Cannot read file /content/gdrive/My Drive/GazpromOil/Contracts/Купля-продажа.doc with docx2txt, error: (<class 'KeyError'>, KeyError("There is no item named 'word/document.xml' in the archive",), <traceback object at 0x7f88aee33348>)
  warnings.warn(info_, RuntimeWarning)
/content/gdrive/My Drive/GazpromOil/Contracts/Купля-продажа.doc
zero-size array to reduction operation maximum which has no identity
/content/gdrive/My Drive/GazpromOil/Contracts/ГПН 3 Договор пожертвования 21.02.2019.doc
zero-size array to reduction operation maximum which has no identity
nlp_tools/integration/doc_providers.py:29: RuntimeWarning: Cannot read file /content/gdrive/My Drive/GazpromOil/Contracts/ГПН 3 Договор пожертвования 21.02.2019.doc with docx2txt, error: (<class 'KeyError'>, KeyError("There is no item named 'word/document.xml' in the archive",), <traceback object at 0x7f88aee33348>)
  warnings.warn(info_, RuntimeWarning)

extract sum fails

this fails
print (extract_sum('взаимосвязанных сделок в совокупности составляет от 1000000 ( одного ) миллиона рублей до 50000000 '))

branch: structured

Capture d’écran 2019-04-16 à 22 33 41

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.