Giter VIP home page Giter VIP logo

zpar's People

Contributors

leoncrashcode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

zpar's Issues

something wrong with ZPar/doc/doc/seg_files/evaluate.py

Hi all,

I'm using the ctb70 corpus to train a segmentation model and evaluate it.
The evaluate.py crashed at line 246 which is assert( len(tTagged) < 3),
because the corpus has the sentence such as (_)-(_) and link which has two _ in the it.
I think it's not a bug but the evaluate.py really crashed and I want to tell you.

Best,
PanDa

Chinese Dependency Parser Compile error

python configure.py chinese depparser
cmake .
make

Scanning dependencies of target chinese.depparser.parser
[ 5%] Building CXX object CMakeFiles/chinese.depparser.parser.dir/src/libs/reader.cpp.o
[ 10%] Building CXX object CMakeFiles/chinese.depparser.parser.dir/src/libs/writer.cpp.o
[ 15%] Building CXX object CMakeFiles/chinese.depparser.parser.dir/src/libs/options.cpp.o
[ 20%] Building CXX object CMakeFiles/chinese.depparser.parser.dir/src/libs/linguistics/lemma.cpp.o
[ 25%] Building CXX object CMakeFiles/chinese.depparser.parser.dir/src/libs/linguistics/conll.cpp.o
[ 30%] Building CXX object CMakeFiles/chinese.depparser.parser.dir/src/libs/learning/dbn.cpp.o
[ 35%] Building CXX object CMakeFiles/chinese.depparser.parser.dir/src/common/depparser/implementations/arceager/depparser.cpp.o
[ 40%] Building CXX object CMakeFiles/chinese.depparser.parser.dir/src/common/depparser/implementations/arceager/depparser_weight.cpp.o
[ 45%] Building CXX object CMakeFiles/chinese.depparser.parser.dir/src/common/depparser/main.cpp.o
/home/mason/workspace/ZPar/src/common/depparser/main.cpp: In function ‘void process(std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, long unsigned int, bool, const string&, bool, const string&)’:
/home/mason/workspace/ZPar/src/common/depparser/main.cpp:85:23: error: cannot convert ‘std::istream {aka std::basic_istream}’ to ‘bool’ in assignment
bReadSuccessful = ( (_is) >> input_conll );
^
/home/mason/workspace/ZPar/src/common/depparser/main.cpp:138:26: error: cannot convert ‘std::istream {aka std::basic_istream}’ to ‘bool’ in assignment
bReadSuccessful = ( (_is) >> input_conll );
^
CMakeFiles/chinese.depparser.parser.dir/build.make:254: recipe for target 'CMakeFiles/chinese.depparser.parser.dir/src/common/depparser/main.cpp.o' failed
make[2]: *** [CMakeFiles/chinese.depparser.parser.dir/src/common/depparser/main.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/chinese.depparser.parser.dir/all' failed
make[1]: *** [CMakeFiles/chinese.depparser.parser.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

cmake not work

And the error information is : call to function 'operator<<' that is neither visible in the template definition nor found by argument-dependent lookup

please find the attached
2016-06-16 11 54 31

Universal Dependencies and Stanford Dependencies Support

The default tagsets for depparser is penn treebank style(ROOT AMOD DEP NMOD OBJ P PMOD PRD SBAR SUB VC VMOD), which I can't find the description or corpus anymore.
How can I change it using Universal or Stanford dependencies?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.