Python framework for processing Universal Dependencies data
Project description
udapi-python
Python framework for processing Universal Dependencies data
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.2.3.tar.gz
(122.4 kB
view details)
Built Distribution
udapi-0.2.3-py3-none-any.whl
(184.6 kB
view details)
File details
Details for the file udapi-0.2.3.tar.gz
.
File metadata
- Download URL: udapi-0.2.3.tar.gz
- Upload date:
- Size: 122.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 601a4498f82e62921124e911f16e24e1bcde4b36335f70ace2bd798ab4c48b99 |
|
MD5 | e27fc99bff158340be5e28cbae60c95b |
|
BLAKE2b-256 | 3d23baf08b578d0bec4636138a1a67187eed32e509389eb4c4a976a60c3beb8a |
File details
Details for the file udapi-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: udapi-0.2.3-py3-none-any.whl
- Upload date:
- Size: 184.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11135738f8cc0478b896bdbf16356033cfbdd607fc2929cc9a8db0ba7a0f6e90 |
|
MD5 | 1cb3ca751eac1fea1c0493830975ee87 |
|
BLAKE2b-256 | d39dd0589c9c6913e1563c1624cab6a5d19a86f50dae6f70b007e45f406c5b3b |