asoroa / ukb

Ukb: graph-based WSD and similarity
106 stars 28 forks source link

Installation #5

Closed rahmanjalayer closed 7 years ago

rahmanjalayer commented 7 years ago

hi. All of the Ixa Tools have install instruction, like NER and POS as follow: https://github.com/ixa-ehu/ixa-pipe-nerc https://github.com/ixa-ehu/ixa-pipe-pos

but ukb doesn't have. I don't know how to install and use it? can anyone help me to install it like another tools?

asoroa commented 7 years ago

Hi,

instructions for installing ukb are in src/INSTALL. Please note that, unlike ixa-pipes, ukb is written in C++, and thus requires you to compile the source files to obtain the executables. Alternatively, you can get pre-compiled binaries here: http://ixa2.si.ehu.es/ukb/ukb_3.0.tgz

best, aitor

rahmanjalayer commented 7 years ago

thanks for your answer. I have got pre-compiled binaries. but how to use it?for example in tokenizer i can use this command to execute: cat Sample.txt | java-jar ixa-pipe-tok-2.0.0-exec.jar tok -l en and it gives me a naf file. how to use this tool and what is its input and output?

On Monday, August 28, 2017, 8:08:12 PM GMT+4:30, asoroa notifications@github.com wrote:

Hi,

instructions for installing ukb are in src/INSTALL. Please note that, unlike ixa-pipes, ukb is written in C++, and thus requires you to compile the source files to obtain the executables. Alternatively, you can get pre-compiled binaries here: http://ixa2.si.ehu.es/ukb/ukb_3.0.tgz

best, aitor

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

asoroa commented 7 years ago

Hi,

to use ukb as a ixa-pipes module you need the naf_ukb script at https://github.com/asoroa/naf_ukb The script contains documentation, including installation instructions and usage examples. Hopefully they will be clear enough, but please don't hesitate to ask if you have further questions.

best, aitor

rahmanjalayer commented 7 years ago

thank you. it was very useful for me and it worked.but I've run follow sentence in ixa-demo( http://ixa2.si.ehu.es/nrdemo/demo.php ) : "Porsche family buys back 10 pc stake from Qatar" for instance, the term "family" has several external references:

but in my file it has just resource="wn30g.bin64" and doesn't have wordnet-3.0. like follow:

how to add both of the wordnet3.0 and wn30g.bin64 to output naf file?thanks in advance.

On Tuesday, August 29, 2017, 1:31:52 PM GMT+4:30, asoroa notifications@github.com wrote:

Hi,

to use ukb as a ixa-pipes module you need the naf_ukb script at https://github.com/asoroa/naf_ukb The script contains documentation, including installation instructions and usage examples. Hopefully they will be clear enough, but please don't hesitate to ask if you have further questions.

best, aitor

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

asoroa commented 7 years ago

Hi, this is because the ixa-demo runs 2 wsd modules: ukb, which creates the 'wn30g.bin64' links, and svm_wsd (at https://github.com/cltl/svm_wsd) which creates the Wordnet-3.0 links. You should contact the developers of svm_wsd to integrate it into your workflow.

best, aitor

rahmanjalayer commented 7 years ago

thank you very much.