主权项 |
1. A method of generating one or more new equivalent phrases for an input phrase, comprising:
receiving, by a data processing system, a first input phrase for natural language expansion; generating, by the data processing system, tokens that correspond to parts of speech for the first input phrase; generating, by the data processing system, an original grammar tree using at least some of the tokens; generating, by the data processing system, one or more alternate grammar trees that are different from the original grammar tree but substantially equivalent to the original grammar tree; generating, by the data processing system, one or more synonyms for at least one of the tokens; and generating, by the data processing system, one or more new phrases based on the one or more alternate grammar trees and the one or more synonyms. |