This sample runs a profanity check without specifying a market.
The demo gets the version number of the profanity pattern file currently installed on the system.
A profanity check is also performed on the following four words: "mario," "luigi," "badword," and "kuppa."
None.
None.
NN_LOG
is also configured for output in the OMakefile in the case of release builds.When this demo is run, it displays the following log.
pattern version = 1
id[0] is not a profanity word.
id[1] is not a profanity word.
id[2] is a profanity word.
id[3] is not a profanity word.
*** End of demo ***
There is no shutdown process. Stop execution in a timely manner.
CONFIDENTIAL