Skip to content

detcorpus/udpiper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UDPiper

Tiny UDPipe+Mystem-wrapper based on an official example

Installation

$ pip install git+https://github.com/detcorpus/udpiper

Usage

$ udpiper --help
$ wget -O ru-ud23.udpipe "https://lindat.mff.cuni.cz/repository/xmlui/bitstream/handle/11234/1-2898/russian-syntagrus-ud-2.3-181115.udpipe?sequence=71&isAllowed=y"
$ udpiper -m ru-ud23.udpipe -i *.txt
from udpiper import UDPiper
pipe = UDPiper('ru-ud23.udpipe') # path to model file
conllu = pipe.process(text)

Releases

No releases published

Packages

No packages published

Languages