Skip to content

Python framework for processing Universal Dependencies data

Notifications You must be signed in to change notification settings

dan-zeman/udapi-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

udapi-python

Python framework for processing Universal Dependencies data

Build Status Website Documentation Status

Requirements

  • You need Python 3.3 or higher.

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 to the standard (user) Python paths.

pip3 install --user --upgrade git+https://github.com/udapi/udapi-python.git

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"

About

Python framework for processing Universal Dependencies data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Other 0.2%