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

<html>

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

<head>

<title>stem</title>

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

<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=679>
<meta name=layout-width content=916>
<meta name=date content="01 4, 2002 12:04:41 PM">


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

<link rel=StyleSheet href=default.css>



</head>

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


<body>

<h1>stem</h1>

<h2 style="color: #008080;">Purpose</h2>

<p>Compute a stem for nouns and verbs.</p>

<h2 style="color: #008080;">Syntax</h2>

<p style="line-height: normal;
			margin-bottom: 14pt;
			margin-top: 14pt;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-family: monospace;
			font-size: 10pt;">returnedString = stem(word)</p>

<p style="margin-left: 40px;
			line-height: normal;
			margin-bottom: 14pt;
			margin-top: 14pt;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-family: monospace;
			font-size: 10pt;">returnedString - type: str<br>
word- type: str</p>

<h2 style="color: #008080;">Returns</h2>

<p>Returns a lowercase string. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->If 
 no stem is computed, returns the given string.</p>

<h2 style="color: #008080;">Remarks</h2>

<p>Uses dictionary, morphological, and heuristic methods to compute the 
 stem for a word. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->Stems 
 only nouns and verbs. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->Assumes 
 that the given string is a valid English word or name, limited to about 
 35 characters.</p>

<h2 style="color: #008080;">Example</h2>

<p style="line-height: normal;
			margin-bottom: 14pt;
			margin-top: 14pt;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-family: monospace;
			font-size: 10pt;">@CODE<br>
G(&quot;stem&quot;) = stem(&quot;lounging&quot;);<br>
@@CODE</p>

<h2 style="color: #008080;">See Also</h2>

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

<p>&nbsp;</p>

<p>&nbsp;</p>

</body>

</html>
