Skip to main content

Python framework for processing Universal Dependencies data

Project description

udapi-python

Python framework for processing Universal Dependencies data

Build Status Website Documentation Status

Requirements

  • You need Python 3.6 or higher.
  • If the ufal.udpipe parser is needed, make sure you have a C++11 compiler (e.g. g++ 4.7 or newer) and install UDPipe with pip3 install --user --upgrade ufal.udpipe.

Install Udapi for developers

Let's clone the git repo to ~/udapi-python/, install dependencies and setup $PATH and $PYTHONPATH accordingly.

cd
git clone https://github.com/udapi/udapi-python.git
pip3 install --user -r udapi-python/requirements.txt
echo '## Use Udapi from ~/udapi-python/ ##'                >> ~/.bashrc
echo 'export PATH="$HOME/udapi-python/bin:$PATH"'          >> ~/.bashrc
echo 'export PYTHONPATH="$HOME/udapi-python/:$PYTHONPATH"' >> ~/.bashrc
source ~/.bashrc # or open new bash

Install Udapi for users

This is similar to the above, but installs Udapi from PyPI to the standard (user) Python paths.

pip3 install --user --upgrade udapi

Try udapy -h to check it is installed correctly. If it fails, make sure your PATH includes the directory where pip3 installed the udapy script. Usually, this results in

export PATH="$HOME/.local/bin/:$PATH"

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

udapi-0.3.0.tar.gz (194.8 kB view details)

Uploaded Source

Built Distribution

udapi-0.3.0-py3-none-any.whl (254.4 kB view details)

Uploaded Python 3

File details

Details for the file udapi-0.3.0.tar.gz.

File metadata

  • Download URL: udapi-0.3.0.tar.gz
  • Upload date:
  • Size: 194.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.7

File hashes

Hashes for udapi-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4067215f53be330676b0a16e7c1a27ef49ace2f7d4208846dc147c26f15ef9e9
MD5 bf130aee22f7ede4747be254d2707d59
BLAKE2b-256 139c8e8eefd91d61f7466b9682e79be6bb96f51ee153b0cb6ff3b30b49a1d74f

See more details on using hashes here.

File details

Details for the file udapi-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: udapi-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 254.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.7

File hashes

Hashes for udapi-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 edb16fb798eae44d94fab93a9a95e6fc2186fe0d194448e7d37ad05bd8fc7d27
MD5 713d0280ec7f294cff56639da70a11a7
BLAKE2b-256 4a786e0769e8ccb78405cb904c9ebf76e75cf2bb9ca822688bf79065043835e0

See more details on using hashes here.

Supported by

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