[2410.07708] Learning Tree Pattern Transformations