Web service to transform an aligned-text to a tree-style text