Text Distance from Nested and Hierarchical Repetitions | AI Deep Signal