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

How to use conllu.js #19

Open
sakinho opened this issue Apr 18, 2020 · 3 comments
Open

How to use conllu.js #19

sakinho opened this issue Apr 18, 2020 · 3 comments

Comments

@sakinho
Copy link

sakinho commented Apr 18, 2020

Hello,

I'm happy to find conllu.js. I would like to use it for dependency tree visualization in my university.

I have a conll output and I would like to "print" the tree in a website, I tried to do that but I don't know how to start.

As far as I can see conllu.js is part of a bigger project. I tried to get into annodoc, brat and the rest of the dependencies but they are too much for my knowledge.

My cuestion is, is there an easy way to load some js files and then call to a function to paint the tree?

I really appreciate your help

@plefebvre91
Copy link

@sakinho did you find the way to use it ?

@sakinho
Copy link
Author

sakinho commented Jun 15, 2020

No, not a single clue :(

@francescomambrini
Copy link

While more documentation by the author is hopefully underway, one simple thing that you can do, if you just want to test the library or play around with it a bit, is the following:

  1. make sure you download/clone the branch called gh-pages! This will pull also the libraries you need in the expected location;
  2. edit line 103 of index.html by supplying the path to the directory where you copied the repo;
  3. open your local copy of the index.html: you'll see that if you edit the text in the editable box, your tree will appear right there.

(at least, that's what I did, but I am total newbie with javascript)

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

No branches or pull requests

3 participants