The value of k depends on the size of the training set and the occurrences of each tag.
for instance, as shown in figure 2, the vector of 'is very interesting' can be composed from the vector of the left node 'is' and that of the right node 'very interesting'.