code: function findPhrase(match) {
    var node = match.node
    var prev = findPhraseInDirection(node, match.index, match.parent, -1)
    var next = findPhraseInDirection(node, match.index, match.parent, 1)
    var stems = merge(prev.stems, stemNode(node), next.stems)
  
    return {
      stems: stems,
      value: stems.join(' '),
      nodes: merge(prev.nodes, node, next.nodes)
    }
  }
docs: Find the phrase surrounding a node.