-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jamr rebase #8
base: master
Are you sure you want to change the base?
Jamr rebase #8
Conversation
…dout Conflicts: src/AMRParser.scala src/Aligner.scala
…ent basic (non named) chacheing of State2 weights Conflicts: src/AlignSpans2.scala src/Aligner.scala
…lts. Additional concepts.
Conflicts: src/AMRParser.scala
Oh, I'm sorry, I was only looking at the last commit "Added --input and --output options...". Lot's more changes here than I thought... |
var previousStage2: Map[String, GraphDecoder.Decoder] = Map() | ||
|
||
// an optional callback that lets us get direct access to decoderResultGraph when parsing | ||
var resultHandler: Option[Graph => Unit] = None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see this ever being set to anything other than None
.
Also, adding side-effecting callbacks makes the code harder to grok/change/debug/test. Is there a way to extract a method for the part of the code that produces decoderResultGraph
instead?
Thanks Sam! Yeah I'll get to it soon, I just had some other stuff to take care of first. |
Jeff, any idea when you may take a look at this? I have more work I'd like to do but I'm holding off |
Lots of changes to allow JAMR to integrate with and run in a server environment.