<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">

<html>

<!--(==============================================================)-->
<!--(Document created with RoboEditor. )============================-->
<!--(==============================================================)-->

<head>

<title>Functions</title>

<!--(Meta)==========================================================-->

<meta http-equiv=content-type content="text/html; charset=windows-1252">
<meta name=date content="06 17, 2002 2:59:21 PM">
<meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">
<meta name=generator-major-version content=0.1>
<meta name=generator-minor-version content=1>
<meta name=filetype content=kadov>
<meta name=filetype-version content=1>
<meta name=page-count content=1>
<meta name=layout-height content=665>
<meta name=layout-width content=1024>


<!--(Links)=========================================================-->

<link REL="StyleSheet" HREF="../default.css">



</head>

<!--(Body)==========================================================-->


<body>

<h1>Functions</h1>

<p>NLP++ provides a variety of predefined functions for managing the parse 
 tree and knowledge base. Convenient functions also support output formatting, 
 string handling, and spelling. The spell functions can be used to help 
 with unknown word lookup by a text analyzer.</p>

<p>As NLP++ evolved from an &quot;action language&quot; for rules, the 
 Actions section provides functions that expect to apply before, during, 
 and after the matching of a rule. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->They 
 are &quot;rule-aware,&quot; in that they can address the matched nodes, 
 the suggested concept, and the &quot;dominating&quot; or context nodes 
 within which the rule match occurred. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->The 
 actions are deprecated in the sense that some of them cannot accept full 
 NLP++ expressions as function arguments, but require literal arguments. 
 <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->Some actions, 
 such as group, have been upgraded to full-fledged NLP++ functions and 
 are listed in both the Actions and Functions sections.</p>

<!--(Table)=========================================================-->
<table x-use-null-cells
		wrapperparagraphselector=P
		style="width: 90%;
				margin-top: 14pt;
				border-spacing: 0px;
				border-spacing: 0px;"
		cellspacing=0
		width=90%>

<tr>
<td style="background-color: #FFFFD5;
			x-cell-content-align: TOP;
			width: 100%;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top
	bgcolor=#FFFFD5
	width=100%>
<p style="margin-bottom: 0;"><span style="font-weight: bold;">Note</span>: 
 Boolean type is currently implemented by integer <span style="font-weight: bold;">1</span> 
 (or non-zero) for <span style="font-weight: bold;">true</span> and <span 
 style="font-weight: bold;">0</span> for <span style="font-weight: bold;">false</span>. 
 Floating point type is newly (but incompletely) available. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->Char 
 type is not implemented. </td></tr>
</table>

<h2>See Also</h2>

<p style="margin-top: 0pt; margin-bottom: 0pt;"><a href="../Table_of_Database_Functions.htm">Database 
 Functions</a></p>

<p style="margin-top: 0pt; margin-bottom: 0pt;"><a href="../Table_of_Special_Functions.htm">Special 
 Functions</a></p>

<p style="margin-top: 0pt; margin-bottom: 0pt;"><a href="../Table_of_Knowledge_Base_Functions.htm">Knowledge 
 Base Functions</a></p>

<p style="margin-top: 0pt; margin-bottom: 0pt;"><a href="../Table_of_Formatting_and_I_O_Functions.htm">Formatting 
 and I/O Functions</a></p>

<p style="margin-top: 0pt; margin-bottom: 0pt;">Math Functions</p>

<p style="margin-top: 0pt; margin-bottom: 0pt;"><a href="../Table_of_Parse_Tree_Functions.htm">Parse 
 Tree Functions</a></p>

<p style="margin-top: 0pt; margin-bottom: 0pt;"><a href="../Table_of_String_Functions.htm">String 
 Functions</a></p>

<p style="margin-top: 0pt; margin-bottom: 0pt;"><a href="../Table_of_Spelling_Functions.htm">Spelling 
 Functions</a></p>

<p style="margin-top: 0pt; margin-bottom: 0pt;"><a href="../Table_of_Web_Functions.htm">Web 
 Functions</a></p>

<p style="margin-top: 0pt; margin-bottom: 0pt;">&nbsp;</p>

<p style="margin-top: 0pt; margin-bottom: 0pt;"><a href="Actions.htm">Actions</a></p>

<p style="margin-bottom: 0;">&nbsp;</p>

</body>

</html>
