In Section 3.1, we explain PARENT METHOD and ANCESTOR METHOD, which determine the modifiee of each chunk based on the likeliness of only one type of the relation.
the cosine distance is equivalent to the Euclidean distance under the condition that the absolute value of every component of string[k] is 1.