MCPcopy Create free account
hub / github.com/brendano/arkref / findNodeThatCoversSpan

Method findNodeThatCoversSpan

src/arkref/data/Document.java:100–106  ·  view source on GitHub ↗

Given a span defined by indexes for the sentence, start token, and end token, this method returns the smallest node that includes that span. @param sentenceIndex @param spanStart inclusive @param spanEnd inclusive @return

(int sentenceIndex, int spanStart, int spanEnd)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

testFindNodeFromSpanMethod · 0.95
alignToTreeMethod · 0.80

Calls 4

rootNodeMethod · 0.80
parentMethod · 0.80
sizeMethod · 0.45
getMethod · 0.45

Tested by 2

testFindNodeFromSpanMethod · 0.76