"The politeness dataset was analyzed to determine the frequency and distribution of words in the polite and nonpolite sentences. Then the team developed a “tag and generate” pipeline to perform politeness transfers."
https://www.futurity.org/communications-politeness-transfer-2396442/