Skip to main content

Automatic calls to VISL online parser

Project description

Python VISL Parser

Python module for automating calls to the morphosyntactic parser online for portuguese VISL.

Getting Started

The following instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Clone this repo
  • Install virtualenvwrapper following the steps listed here
  • Create your venv using the command:
mkvirtualenv --python=<your_python3.6_installation_dir> <your_env_name>
  • Install the needed modules using the command:
pip install -r requirements.pip

After that you shold be able to work just fine.

Usage

To use the module you have just to import and call the parse method.

Example:

import vislparser

vislparser.parse('Bom dia')

# [
#     {'word': 'bom', 'stem': 'bom', 'semantic_tags': [], 'word_class_tag': 'ADJ', 'other_tags': 'M S', 'syntatic_tag': '@>N'}, 
#     {'word': 'dia', 'stem': 'dia', 'semantic_tags': ['temp', 'dur', 'per', 'unit'], 'word_class_tag': 'N', 'other_tags': 'M S', 'syntatic_tag': '@NPHR'}
# ]

Now GO TO WORK!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vislparser-0.0.5.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vislparser-0.0.5-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file vislparser-0.0.5.tar.gz.

File metadata

  • Download URL: vislparser-0.0.5.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for vislparser-0.0.5.tar.gz
Algorithm Hash digest
SHA256 c463b0d1c31a0a05a04f0849f23e568bc9066b6ca47365b2988b6dc297891388
MD5 16f61cfbd58577f463e2f70208a01f1d
BLAKE2b-256 a372f5d84e104ac9a39e543826fe973b4444bf5fdadba0d69d3a2706031c8034

See more details on using hashes here.

File details

Details for the file vislparser-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: vislparser-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for vislparser-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e8ecf9ace30db8e9450eefefa26861443ecf4ccff4fbb49f5ce528ea1e270d51
MD5 9e5c0bd3c4a8529c8691c9549e9785cc
BLAKE2b-256 76d7d10bd2f19eccd14a93ab7febbfaafe489bcae4a09d6ad5e11b67ad14ece1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page