1<?xml version="1.0" encoding="utf-8"?> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 4<head> 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 6 <meta http-equiv="Content-Style-Type" content="text/css" /> 7 <link rel="stylesheet" href="../../css/manpage.css" type="text/css" /> 8</head> 9<body> 10<h1>ugc - ngc_simple Demo</h1> 11<h2>Description</h2> 12<div class="section"> 13 <p>This sample runs a profanity check without specifying a market.</p> 14 <p>The demo gets the version number of the profanity pattern file currently installed on the system.<BR> A profanity check is also performed on the following four words: "mario," "luigi," "badword," and "kuppa."</p> 15</div> 16<h2>Required Environment</h2> 17<div class="section"> 18 <p>None.</p> 19</div> 20<h2>How to Use</h2> 21<div class="section"> 22 <p>None.</p> 23</div> 24<h2>Notes</h2> 25<div class="section"> 26 <ul> 27 <li>Although only debug output is made for execution results, <CODE>NN_LOG</CODE> is also configured for output in the OMakefile in the case of release builds.</li> 28 </ul> 29</div> 30<h2>Execution Procedure</h2> 31<div class="section"> 32 <p>When this demo is run, it displays the following log.</p> 33 <code>pattern version = 1<br /> id[0] is not a profanity word.<br /> id[1] is not a profanity word.<br /> id[2] is a profanity word.<br /> id[3] is not a profanity word.<br /> *** End of demo ***</code> 34<p>There is no shutdown process. Stop execution in a timely manner.</p> 35</div> 36<h2>Revision History</h2> 37<div class="section"> 38 <dl class="history"> 39 <dt>2011/02/02</dt> 40 <dd>Initial version.</dd> 41 </dl> 42</div> 43<hr><p>CONFIDENTIAL</p></body> 44</html> 45