Structural analysis of oral tradition