Home

Awesome

What's Wrong With My NLP? reimplemented in Python 3 (whats-wrong-python)

What's Wrong With My NLP?: A visualizer for Natural Language Processing problems.

Original project page and source: https://code.google.com/archive/p/whatswrong/

What's Wrong With My NLP? is rewritten in Python 3 using SVG instead of JAVA canvas.

Features

For planned features see the Development section of this document.

Demo

There is a demo sentence pair to test for MALT-tab format in the test_data directory.

Installation

At the time of writing the program is in beta state, and some improvement is still due. To install the program install all the depencies separately clone the repository and run whatswrong.py

Dependencies

Development and contributing

Our plan is to achieve the functionality of the original JAVA program, but in a new, extendable, standards compilant, innovative form

Our main interests in development:

Contributing

Rules of contributing

Please consult the general rules of contributing before you start with the following steps:

  1. Open an issue and describe the task you want to implement!
  2. If accepted fork and implement the task with extensive tests!
  3. Make a pull request and reference the issue!
  4. Modify the pull request as asked to be accepted!
  5. Profit! :)

Style guide

  1. We prefer the Google Style docstring format
  2. Concerning the code style: what is good for PyCharm or similar linter by default (i.e. no warnings), it's good for us. (It is more relaxed, than the Google Style guide.)
    • For example Pylint: pylint3 --disable="missing-docstring,too-many-instance-attributes,too-many-arguments,too-many-nested-blocks,too-many-boolean-expressions,too-many-locals,too-few-public-methods,too-many-statements,too-many-ancestors,no-member" --notes="" --max-line-length=120
    • For example Pycodestyle: pycodestyle --max-line-length=120 --exclude="./Qt5GUI/GUI"

License

This code is made available under the GNU Lesser General Public License v3.0.

If you use this program please cite the following paper:

Indig, Balázs és Simonyi, András és Ligeti-Nagy, Noémi (2018) What's Wrong, Python? -- A Visual Differ and Graph Library for NLP in Python. In: Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018), 2018.05.07-2018.05.12, Miyazaki.

@InProceedings{INDIG18.886,
  author = {Balázs Indig and András Simonyi and Noémi Ligeti-Nagy},
  title = "{What's Wrong, Python? -- A Visual Differ and Graph Library for NLP in Python}",
  booktitle = {Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018)},
  year = {2018},
  month = {May 7-12, 2018},
  address = {Miyazaki, Japan},
  editor = {Nicoletta Calzolari (Conference chair) and Khalid Choukri and Christopher Cieri and Thierry Declerck and Sara Goggi and Koiti Hasida and Hitoshi Isahara and Bente Maegaard and Joseph Mariani and Hélène Mazo and Asuncion Moreno and Jan Odijk and Stelios Piperidis and Takenobu Tokunaga},
  publisher = {European Language Resources Association (ELRA)},
  isbn = {979-10-95546-00-9},
  language = {english}
  }