-
Notifications
You must be signed in to change notification settings - Fork 101
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
Show some more examples #794
base: odin-debugger
Are you sure you want to change the base?
Conversation
…tches data structure is buggy
Make it compile
Trace what is happening with simple example rules and document
…b/processors into nick-avalani/odin-debugger
type InstToDebuggerRecords = Map[Inst, Seq[DebuggerRecord]] | ||
|
||
def visualize(extractor: Extractor, sentence: Sentence): Unit = { | ||
val transcript = instance.transcript.toSeq.filter { debuggerRecord => |
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.
Possibly interesting changes here
nextInst == null || (nextInst.getPosId <= inst.getPosId && nextInst.getPosId != 0) | ||
} | ||
|
||
val matchVisualization = debuggerRecords.map {debuggerRecord => |
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.
Possibly interesting changes here
@NickAvalani , this partially overlaps with your matchTokens, but you might find it useful. Example output:
|
Thanks @kwalcock, that helps alot! |
No description provided.