Code Monkey home page Code Monkey logo

Comments (1)

rbossy avatar rbossy commented on August 19, 2024

Pay attention: this one's brutal.

It's a bad combination of -inputDir and inhibitCheck.

When running for the first time, alvisnlp will convert the value for the parameter yateaFile in module entities.tomap. Since it is a relative path, then it will use the -inputDir as bases and look for an existing file.

However neither corpus/test/batch/0000/yatea/corpus/default/xml/candidates.xml or corpus/test/batch/0000/output/yatea/corpus/default/xml/candidates.xml exist. So the convertion returns yatea/corpus/default/xml/candidates.xml without base.

alvisnlp does not complain it doesn't exists because of inhibitCheck. When the module runs, it fails because it opens an nonexistent file.

Solution

First, the conversion has been modified on Bibliome/bibliome-java-utils@8d728f5. If the file is not found in any inputDir then it returns the path with the first inputDir as a base. That's actually way better because input files will always have a base rooted on a inputDir.

The change has been pushed and exposed on the maven repo.

@ldeleger
In order to function you must swap the two -inputDir in your command line.

from alvisnlp.

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.