Giter Club home page Giter Club logo

rotating-ccg's People

Contributors

stanojevic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rotating-ccg's Issues

Facing issues while running run.sh

After completing the setup exactly as mentioned in the README, I am running the following command:

"./scripts/run.sh" "edin.ccg.MainParse" \ --model_dirs model \ --beam-parsing 1 \ --input_file input.sentences \ --output_file output.trees

The content of my input.sentences file is as follows:

It's been a while since I last ate Ice-cream!
It's a lovely day.

The parser does not seem to be running perfectly for me, and I am facing this exception:

Starting ELMo server START
using port 9002 for ELMo
Exception in thread "main" org.apache.thrift.TApplicationException: Internal error
	at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:79)
	at edin.nn.embedder.SequenceEmbedderELMo_Service$Client.recv_start_elmo(SequenceEmbedderELMo_Service.java:68)
	at edin.nn.embedder.SequenceEmbedderELMo_Service$Client.start_elmo(SequenceEmbedderELMo_Service.java:56)
	at edin.nn.embedder.SequenceEmbedderELMo$.elmo_service(SequenceEmbedderELMo.scala:152)
	at edin.nn.embedder.SequenceEmbedderELMo$.embed_sents(SequenceEmbedderELMo.scala:127)
	at edin.nn.embedder.SequenceEmbedderELMo.embedSents(SequenceEmbedderELMo.scala:244)
	at edin.nn.embedder.SequenceEmbedderELMo.embedSent(SequenceEmbedderELMo.scala:238)
	at edin.nn.embedder.SequenceEmbedderELMo.transduce(SequenceEmbedderELMo.scala:209)
	at edin.nn.embedder.SequenceEmbedderBiRecurrent.transduce(SequenceEmbedderBiRecurrent.scala:39)
	at edin.ccg.parsing.Parser$.initParserState(Parser.scala:76)
	at edin.ccg.MainParse$.$anonfun$main$4(MainParse.scala:86)
	at scala.collection.immutable.List.map(List.scala:283)
	at edin.ccg.MainParse$.$anonfun$main$3(MainParse.scala:86)
	at edin.ccg.MainParse$.$anonfun$main$3$adapted(MainParse.scala:73)
	at scala.collection.Iterator.foreach(Iterator.scala:944)
	at scala.collection.Iterator.foreach$(Iterator.scala:944)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1432)
	at edin.ccg.MainParse$.main(MainParse.scala:73)
	at edin.ccg.MainParse.main(MainParse.scala)

Is there something wrong with the format of my input.sentences file? How do I get around this issue?

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.