redshift icon indicating copy to clipboard operation
redshift copied to clipboard

Running disfluency parser

Open masashi-y opened this issue 8 years ago • 3 comments

Hello, I am interested in your joint dependency parser with disfluency detection.

I want to try running it, but it fails, even though I read the previous issue and paid attention to the version pinning while installing.

I am trying to install it on a machine with ubuntu 12.04. What I did in installing is almost the same recipe you wrote in installation in README.rst, But just I did "git checkout develop" not after cloning, but almost in the last part of the installation, just before "fab make test", because doing "git checkout develop" strips away information about the version pinning. But this ends up with an error with message:

index/lexicon.cpp:249:36: fatal error: murmurhash/MurmurHash3.h: No such file or directory
 #include "murmurhash/MurmurHash3.h"
                                    ^
compilation terminated.
error: command 'gcc' failed with exit status 1

Fatal error: local() encountered an error (return code 1) while executing 'python setup.py build_ext --inplace'

Aborting.

Though I changed to do "git checkout" as explained, and replace the requirements.txt with the one with the version pinnings before "pip install -r requirements.txt", I got the same error. How should I solve this problem??

masashi-y avatar Jan 04 '16 19:01 masashi-y

Hey,

Sorry for the difficulties on this. Looking it to this, thanks for the interest.

honnibal avatar Jan 04 '16 20:01 honnibal

I've added a version pin for the Murmurhash dependency, and pushed.

Can you try checking out the master branch, deleting your virtualenv, creating a new one, activating it, installing the requirements (pip install -r requirements.txt) and compiling?

honnibal avatar Jan 04 '16 20:01 honnibal

Thank you for your prompt reply. I did the installation again following readme, but this time with "git checkout develop" part replaced with "git checkout master". But still have problem and got the following message running "fab make test":

Tip: Make a _secret_paths.py file to set up paths.
_secret_paths.py is in the .gitignore, so won't be commited.
[localhost] local: source .env/bin/activate && python setup.py build_ext --inplace
/bin/sh: 1: source: not found

Fatal error: local() encountered an error (return code 127) while executing 'source .env/bin/activate && python setup.py build_ext --inplace'

Aborting.

masashi-y avatar Jan 05 '16 09:01 masashi-y