GithubHelp home page GithubHelp logo

Comments (3)

rsennrich avatar rsennrich commented on May 24, 2024 1

thanks; this was a bit more involved, since the position of features, and the formatting of the morphological features, is also different. The script should now support both current versions of TüBa-D/Z and HDT.

from parzu.

johann-petrak avatar johann-petrak commented on May 24, 2024

Thanks!

When I try this, it now looks as if the create_statistics.sh script can directly digest the original CONLL-format version of the HDT while what I did was to use the statistics/stats_creator/hamburg_treebank_to_conll.py script first to convert the HDT to Conll, and that file then created the problem with the incorrect number of fields.

However, when I tried now to run the create_statistics.sh script with the output of the hamburg to conll script, I got an error

ERROR: '<meta-call>'/1: Undefined procedure: w/7
   Exception: (11) w(_2524, _2530, _2558, ne, _2562, _2536, _2542) ? 

This is not really a problem since using the original HDT conll file is probably better anyways, but it may be confusing because the README.md file still suggests that this should work, if I understand correctly.

from parzu.

rsennrich avatar rsennrich commented on May 24, 2024

thanks for pointing that out; I removed the hamburg_treebank_to_conll.py and updated the README - taking the CONLL-formatted HDT is now the supported way to use it.

from parzu.

Related Issues (20)

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.