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

Yalign module not found #5

Open
sanjanasri opened this issue May 5, 2016 · 12 comments
Open

Yalign module not found #5

sanjanasri opened this issue May 5, 2016 · 12 comments

Comments

@sanjanasri
Copy link

Hi,

      I tried installing yalign in python 3.4 using `sudo pip3 install yalign` , it shows installed correctly, but when i try to import i get no module found, i also checked in  `sys.path`, i see the yalign in dist-packages. I dunno what I am doing wrong. Please help
@jmansilla
Copy link

I'm almost sure that yalign is not completely usable on python3.

With python2.7 I found no issues.

@sanjanasri
Copy link
Author

Thank you. It did get installed on windows python 2.7 32 bit . i am able
to import modules. but i see no output. Please do guide me

On Thu, May 5, 2016 at 7:29 PM, Javier Mansilla [email protected]
wrote:

I'm almost sure that yalign is not completely usable on python3.

With python2.7 I found no issues.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#5 (comment)

Thanks and regards,

Sanjanasri J.P

@jmansilla
Copy link

Did you see the documentation? https://yalign.readthedocs.io/en/latest/
Even better, the tutorial: https://yalign.readthedocs.io/en/latest/tutorial.html

@sanjanasri
Copy link
Author

Hi,

    This is the screenshot. I get nothing on cmd screen

On Sun, May 8, 2016 at 5:11 AM, Javier Mansilla [email protected]
wrote:

Did you see the documentation? https://yalign.readthedocs.io/en/latest/
Even better, the tutorial:
https://yalign.readthedocs.io/en/latest/tutorial.html


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#5 (comment)

Thanks and regards,

Sanjanasri J.P

@sanjanasri
Copy link
Author

Am i missing out something.. pls guide

On Sun, May 8, 2016 at 6:02 PM, Sanjanashree Palanivel <
[email protected]> wrote:

Hi,

    This is the screenshot. I get nothing on cmd screen

On Sun, May 8, 2016 at 5:11 AM, Javier Mansilla [email protected]
wrote:

Did you see the documentation? https://yalign.readthedocs.io/en/latest/
Even better, the tutorial:
https://yalign.readthedocs.io/en/latest/tutorial.html


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#5 (comment)

Thanks and regards,

Sanjanasri J.P

Thanks and regards,

Sanjanasri J.P

@rafacarrascosa
Copy link
Member

Hi @sanjanasri ,

We cannot see the screenshot you attached. Instead of attaching another, please tell us in detail what are you doing so we can try to help you.
Bear in mind that we need to replicate the error you are seeing to be able to help you.
So please add detail, be informate and try to put yourself in our shoes while receiving your feedback.

Regards,

Rafael

@sanjanasri
Copy link
Author

I worked with yalign-train using the corpus given in tutorial.tar.gz, the
model was created successfully resulting in two files "aligner.pickle and
metadata.json...but, when I tried to execute the command "yalign-align
en-es http://en.wikipedia.org/wiki/Antiparticle
http://es.wikipedia.org/wiki/Antipart%C3%ADcula > 2.txt" I am getting
nothing written in the file. I mean just an 0KB file.

I do not know what I am mssing

On Tue, May 10, 2016 at 11:25 PM, Rafael Carrascosa <
[email protected]> wrote:

Hi @sanjanasri https://github.com/sanjanasri ,

We cannot see the screenshot you attached. Instead of attaching another,
please tell us in detail what are you doing so we can try to help you.
Bear in mind that we need to replicate the error you are seeing to be able
to help you.
So please add detail, be informate and try to put yourself in our shoes
while receiving your feedback.

Regards,

Rafael


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#5 (comment)

Thanks and regards,

Sanjanasri J.P

@simontite-capita-ti
Copy link

simontite-capita-ti commented May 16, 2016

Similarly for me!

yalign-align -a en -b es -f tmx en-es http://en.wikipedia.org/wiki/Antiparticle http://es.wikipedia.org/wiki/Antipart%C3%ADcula

results in output

<?xml version="1.0" ?>
<!DOCTYPE tmx SYSTEM "tmx14.dtd">
<tmx version="1.4">
<header datatype="PlainText" srclang="en" segtype="sentence" creationtool="MTrans"/>
<body>
</body>
</tmx>

and using -f plaintext or not using the -f flag at all results in absolutely nothing.

Do these comments belong in issue #6? It seems to be the same thing...

@sanjanasri
Copy link
Author

yep. Now I get the same result. But I am supposed to get parallel sentence
rite. How do i get that

On Mon, May 16, 2016 at 9:45 PM, Simon Tite [email protected]
wrote:

Similarly for me!

yalign-align -a en -b es -f tmx en-es
http://en.wikipedia.org/wiki/Antiparticle
http://es.wikipedia.org/wiki/Antipart%C3%ADcula

results in output

and using -f plaintext or not using the -f flag at all results in
absolutely nothing.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#5 (comment)

Thanks and regards,

Sanjanasri J.P

@sanjanasri
Copy link
Author

Hi,

 It is gentle reminder to let you know that I am totally unaware of the

output (tmx file) that was created from yalign. How do i extract data. I
couldn't see the sentences. pLease help

On Mon, May 16, 2016 at 10:08 PM, Sanjanashree Palanivel <
[email protected]> wrote:

yep. Now I get the same result. But I am supposed to get parallel sentence
rite. How do i get that

On Mon, May 16, 2016 at 9:45 PM, Simon Tite [email protected]
wrote:

Similarly for me!

yalign-align -a en -b es -f tmx en-es
http://en.wikipedia.org/wiki/Antiparticle
http://es.wikipedia.org/wiki/Antipart%C3%ADcula

results in output

and using -f plaintext or not using the -f flag at all results in
absolutely nothing.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#5 (comment)

Thanks and regards,

Sanjanasri J.P

Thanks and regards,

Sanjanasri J.P

@simontite-capita-ti
Copy link

@sanjanasri
This issue has been fixed, for me at least, please see the answer to issue #6.

@imrrahul
Copy link

@sanjanasri @simontite-capita-ti I need ur help guys currently I am working on extraction of parallel senetences from comparable corpora using Yalign tool but I am facing problem plzz help..... give me ur mail id so that I can communicate with you regarding this.

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

5 participants