This function can behave like the function IS_CensureProfanity or IS_GetProfanitiesList, according to how it's set.
See chapters 20.4.1.59 IS_CensureProfanity and 20.4.1.60 IS_GetProfanitiesList for more information about these functions.
Parameters
OperationMode: Set here a value to define how the function should operate and which results should it return. If 1 operates as CensureProfanity, if 2 operates as GetProfanitiesList.
Text: The text to parse.
Language: The language of the text. Supported languages are: italiano, english, portuguese, francais, spanish, deutsch, japanese, russian, thai, korean, hebrew, arabic, indian, chinese, greek, vietnamese, chinese_simplified, bahasa, rumenian, georgian, burmese.
Sample response (OperationMode=1):
<string xmlns="http://www.etere.eu/EtereWSApi"><?xml version="1.0" encoding="utf-8"?> <WSApiResponse> <Function Name="PC_ProcessProfanities"> <CensoredText>what the ****</CensoredText> </Function> </WSApiResponse> </string>
Sample response (OperationMode=2):
<string xmlns="http://www.etere.eu/EtereWSApi"><?xml version="1.0" encoding="utf-8"?> <WSApiResponse> <Function Name="PC_ProcessProfanities"> <Profanities><Profanity>hell</Profanity></Profanities> </Function> </WSApiResponse> </string>