Coder Social home page Coder Social logo

Comments (2)

dlwh avatar dlwh commented on September 24, 2024

probably you ran it on a small corpus first? delete xbar.gr

I should get rid of the need for that file, but that should do it.

On Wed, Oct 8, 2014 at 12:13 AM, Mark Farrell [email protected]
wrote:

Hi,

Experiencing problems using the parser trainer. My goal is to train a
parser with CRAFT's treebank for the biology domain; not sure if the layout
of CRAFT's treebank is supported by epic or not. Tried to start out by
training a parser on "smallbank" -- no luck. Any advice?

$ java -cp target/scala-2.11/epic-assembly-0.2.jar epic.parser.models.ParserTrainer
--treebankType simple
--treebank.path "src/main/resources/smallbank"
--modelFactory epic.parser.models.SpanModelFactory
--cache.path constraints.cache
--opt.useStochastic true
--opt.regularization 1.0
[main] INFO epic.parser.models.ParserTrainer$ - Training Parser...
Exception in thread "main" java.lang.RuntimeException:
error while indexingBinaryRule(VP[^SINV], VBN[^VP], PP[^VP]) to
BinaryRule(VP, VBN, PP)0
at epic.parser.projections.ProjectionIndexer$$anonfun$apply$5.apply(ProjectionIndexer.scala:115)
...


Reply to this email directly or view it on GitHub
#16.

from epic.

markfarrell avatar markfarrell commented on September 24, 2024

Oh, that seems to have worked. I can train the parser on "smallbank". Do you think it will be much work to train the parser on the CRAFT corpus? I believe it contains a collection of biology articles and a list of parsed sentences for each article.

from epic.

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.