GithubHelp home page GithubHelp logo

srlie's Issues

Tokens in part are not sorted

When war between France and England broke out in the 1790s Congress authorized President Washington to begin construction of a system of fortifications along the coast.

Index OOB exception

Should be able to recreate it by pasting the following sentence into nlpweb:

Having trouble catching up with all the stalking after your two days of socialising (i.e. getting greeked)?

Error message returned is "String index out of range: -7"

requirement failed exception

I should split this into two separate issues. Here are more detailed for one of the issues.

I live (near Fort Gordon) healthy is far from how I would describe them, in other words some of them should consider laying off on the donuts but then again so should I :p lol

java.lang.IllegalArgumentException: requirement failed: Invalid relation name: :p
    at scala.Predef$.require(Predef.scala:233)
    at edu.knowitall.tool.srl.Relation.<init>(Frame.scala:28)
    at edu.knowitall.tool.srl.Relation$.fromString(Frame.scala:35)
    at edu.knowitall.tool.srl.ClearSrl$$anonfun$5$$anonfun$apply$4.apply(ClearSrl.scala:68)
    at edu.knowitall.tool.srl.ClearSrl$$anonfun$5$$anonfun$apply$4.apply(ClearSrl.scala:68)
    at scala.Option.map(Option.scala:145)
    at edu.knowitall.tool.srl.ClearSrl$$anonfun$5.apply(ClearSrl.scala:68)
    at edu.knowitall.tool.srl.ClearSrl$$anonfun$5.apply(ClearSrl.scala:66)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at edu.knowitall.tool.srl.ClearSrl.apply(ClearSrl.scala:66)
    at edu.knowitall.srlie.SrlExtractor.apply(SrlExtractor.scala:22)
    at edu.knowitall.srlie.SrlExtractor$$anonfun$run$1$$anonfun$apply$9$$anonfun$apply$1$$anonfun$apply$mcV$sp$1.apply(SrlExtractor.scala:134)
    at edu.knowitall.srlie.SrlExtractor$$anonfun$run$1$$anonfun$apply$9$$anonfun$apply$1$$anonfun$apply$mcV$sp$1.apply(SrlExtractor.scala:131)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at edu.knowitall.srlie.SrlExtractor$$anonfun$run$1$$anonfun$apply$9$$anonfun$apply$1.apply$mcV$sp(SrlExtractor.scala:131)
    at edu.knowitall.srlie.SrlExtractor$$anonfun$run$1$$anonfun$apply$9$$anonfun$apply$1.apply(SrlExtractor.scala:131)
    at edu.knowitall.srlie.SrlExtractor$$anonfun$run$1$$anonfun$apply$9$$anonfun$apply$1.apply(SrlExtractor.scala:131)
    at edu.knowitall.common.Timing$.time(Timing.scala:50)
    at edu.knowitall.common.Timing$.timeThen(Timing.scala:72)
    at edu.knowitall.srlie.SrlExtractor$$anonfun$run$1$$anonfun$apply$9.apply(SrlExtractor.scala:188)
    at edu.knowitall.srlie.SrlExtractor$$anonfun$run$1$$anonfun$apply$9.apply(SrlExtractor.scala:129)
    at edu.knowitall.common.Resource$.using(Resource.scala:14)
    at edu.knowitall.srlie.SrlExtractor$$anonfun$run$1.apply(SrlExtractor.scala:129)
    at edu.knowitall.srlie.SrlExtractor$$anonfun$run$1.apply(SrlExtractor.scala:128)
    at edu.knowitall.common.Resource$.using(Resource.scala:14)
    at edu.knowitall.srlie.SrlExtractor$.run(SrlExtractor.scala:128)
    at edu.knowitall.srlie.SrlExtractor$delayedInit$body.apply(SrlExtractor.scala:111)
    at scala.Function0$class.apply$mcV$sp(Function0.scala:40)
    at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
    at scala.App$$anonfun$main$1.apply(App.scala:71)
    at scala.App$$anonfun$main$1.apply(App.scala:71)
    at scala.collection.immutable.List.foreach(List.scala:318)
    at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:32)
    at scala.App$class.main(App.scala:71)
    at edu.knowitall.srlie.SrlExtractor$.main(SrlExtractor.scala:35)
    at edu.knowitall.srlie.SrlExtractor.main(SrlExtractor.scala)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at sbt.Run.invokeMain(Run.scala:68)
    at sbt.Run.run0(Run.scala:61)
    at sbt.Run.execute$1(Run.scala:50)
    at sbt.Run$$anonfun$run$1.apply$mcV$sp(Run.scala:54)
    at sbt.TrapExit$.executeMain$1(TrapExit.scala:33)
    at sbt.TrapExit$$anon$1.run(TrapExit.scala:42)

Nested extractions needs improvement

Growth causes the leaves of a plant to become larger.

Growth  causes  the leaves of a plant; to become larger
the leaves of a plant   to become   larger

This does not become nested because the arg2s together cover the other extraction, not a single arg2.

Exception on input

a. Underlying geology and geomorphology.1 The geologic setting of a coastal site controls surficial geomorphology, sediment type and availability, and overall gradient.

Arg2 can have no tokens when triplizing

Many of the defendants were also ordered to forfeit sums of money ranging from $100,000 to $2,000,000 as proceeds of their unlawful drug trafficking activities.

MatchError in SrlExtractor

Can be reproduced in nlpweb - example sentence:

Wikipedia is saying.28 au for Cc (the planet is question), several different online Kepler's 3rd calculators are giving me different numbers as well.

Stack trace:

scala.MatchError: [Ljava.lang.String;@13db7229 (of class [Ljava.lang.String;)
    at edu.knowitall.tool.srl.Relation$.fromString(Frame.scala:34)
    at edu.knowitall.tool.srl.ClearSrl$$anonfun$5$$anonfun$apply$4.apply(ClearSrl.scala:68)
    at edu.knowitall.tool.srl.ClearSrl$$anonfun$5$$anonfun$apply$4.apply(ClearSrl.scala:68)
    at scala.Option.map(Option.scala:145)
    at edu.knowitall.tool.srl.ClearSrl$$anonfun$5.apply(ClearSrl.scala:68)
    at edu.knowitall.tool.srl.ClearSrl$$anonfun$5.apply(ClearSrl.scala:66)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at edu.knowitall.tool.srl.ClearSrl.apply(ClearSrl.scala:66)
    at edu.knowitall.srlie.SrlExtractor.apply(SrlExtractor.scala:21)
    at edu.knowitall.tac2013.openie.KbpSrlExtractor.extract(KbpExtractor.scala:145)
    at edu.knowitall.tac2013.openie.KbpCombinedExtractor.extract(KbpExtractor.scala:108)
    at edu.knowitall.tac2013.openie.KbpExtractor$$anonfun$8$$anonfun$9.apply(KbpExtractor.scala:87)
    at edu.knowitall.tac2013.openie.KbpExtractor$$anonfun$8$$anonfun$9.apply(KbpExtractor.scala:86)
    at scala.collection.parallel.AugmentedIterableIterator$class.flatmap2combiner(RemainsIterator.scala:136)
    at scala.collection.parallel.immutable.ParVector$ParVectorIterator.flatmap2combiner(ParVector.scala:67)
    at scala.collection.parallel.ParIterableLike$FlatMap.leaf(ParIterableLike.scala:1075)
    at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply$mcV$sp(Tasks.scala:54)
    at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply(Tasks.scala:53)
    at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply(Tasks.scala:53)
    at scala.collection.parallel.Task$class.tryLeaf(Tasks.scala:56)
    at scala.collection.parallel.ParIterableLike$FlatMap.tryLeaf(ParIterableLike.scala:1071)
    at scala.collection.parallel.AdaptiveWorkStealingTasks$WrappedTask$class.internal(Tasks.scala:172)
    at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.internal(Tasks.scala:514)
    at scala.collection.parallel.AdaptiveWorkStealingTasks$WrappedTask$class.compute(Tasks.scala:162)
    at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.compute(Tasks.scala:514)
    at scala.concurrent.forkjoin.RecursiveAction.exec(RecursiveAction.java:160)
    at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:262)
    at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975)
    at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1478)
    at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)

Handle arguments before A0

It was a dark stormy night in 1948 when John first heard the news.

(It, was, a dark stormy night)
(John, when heard, the news)

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.