annotate inverted node and inverted child-nodes. if -s is given with cmd line, then a sitg is trained, otherwise an itg is trained