★ wanayoo — archive 1999 https://github.com/udapi/udapi-python/issues/50Nouvelle recherche | Portail wanayoo
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using the UDAPI-python within a Python code #50

Open
bperak opened this issue Aug 26, 2018 · 1 comment
Open

Using the UDAPI-python within a Python code #50

bperak opened this issue Aug 26, 2018 · 1 comment

Comments

@bperak
Copy link

@bperak bperak commented Aug 26, 2018

Dear admins of the UDAPI
Is there a clear documentation how to use the UDAPI from within a code, as a part of the Python code?
I am trying to include the UDAPI function to parse a text and then to get the result within a custom Python programme.
Thank you
Benedikt

@martinpopel
Copy link
Contributor

@martinpopel martinpopel commented Aug 28, 2018

test_node.py shows some examples how to use Udapi from Python, but I usually it is less work to the CLI udapy. You can do it the other way round: write a Udapi block which will wrap your custom Python programme.

Udapi can integrate various taggers and parsers, but currently only UDPipe is integrated. If you want use Udapi just for tagging+parsing, you can use UDPipe directly - it has a Python interface and much better documentation than Udapi. (There is also an option to load the parsed CoNLL-U files in your custom Python programme without using any Python API.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.