1. A computer program product having a non-transitory computer-readable medium, wherein the computer-readable medium has a computer program logic recorded thereon, the computer program logic is operative on an input data set involving grammar, the computer program product comprising: code for receiving the input data set; code for determining a target of the input data set, wherein the target is a variable that is a grammatical function; code for expanding the target, thereby forming an expanded target; code for parsing the input data set into a plurality of term units (TUs), wherein each TU is separated from another TU by a delimiter; code for retrieving a respective grammatical function for each TU; code for grouping the TUs according to their respective grammatical function based on the expanded target; and code for presenting the grouped TUs to an interface.