code: private ViterbiNode createGlueNode(int startIndex, ViterbiNode glueBase, String surface) {
          return new ViterbiNode(glueBase.getWordId(), surface, glueBase.getLeftId(), glueBase.getRightId(),
                          glueBase.getWordCost(), startIndex, ViterbiNode.Type.INSERTED);
      }
docs: Create a glue node to be inserted based on ViterbiNode already in the lattice.
  The new node takes the same parameters as the node it is based on, but the word is truncated to match the
  hole in the lattice caused by the new user entry
  
  @param startIndex
  @param glueBase
  @param surface
  @return new ViterbiNode to be inserted as glue into the lattice