?? appendix-c.htm
字號:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
</head>
<body>
<p align="center">Appendix C<br>
Library Functions<br>
<br>
</p>
<table border="1" cellpadding="0" cellspacing="0" width="701" height="1038">
<tr>
<td width="101" height="22"><font color="#0000FF"><b>Function Name</b></font></td>
<td width="156" height="22"><font color="#0000FF"><b>Input Arguments</b></font></td>
<td width="229" height="22"><font color="#0000FF"><b>Process Performed</b></font></td>
<td width="207" height="22"><font color="#0000FF"><b>Information Returned</b></font></td>
</tr>
<tr>
<td width="101" height="122"><font size="1">findtheinfo<br>
findtheinfo_ds</font></td>
<td width="156" height="122">
<p align="left"><font size="1"><br>
word<br>
syntactic category<br>
search type <br>
sense number</font></td>
<td width="229" height="122"><font size="1">Search of database</font></td>
<td width="207" height="122"><font size="1">Formatted search results in buffer or data
structure</font></td>
</tr>
<tr>
<td width="101" height="85"><font size="1">traceptrs<br>
traceptrs_ds</font></td>
<td width="156" height="85"><font size="1">synset
structure<br>
pointer type<br>
syntactic category<br>
depth</font></td>
<td width="229" height="85"><font size="1">Trace
pointer hierarchy and place formatted synsets in output buffer or data
structure</font></td>
<td width="207" height="85"><font size="1">None or
data structure</font></td>
</tr>
<tr>
<td width="101" height="35"><font size="1">tracecoords</font></td>
<td width="156" height="35"><font size="1">see
traceptrs</font></td>
<td width="229" height="35"><font size="1">Trace
coordinate terms</font></td>
<td width="207" height="35"><font size="1">None</font></td>
</tr>
<tr>
<td width="101" height="30"><font size="1">traceinherit</font></td>
<td width="156" height="30"><font size="1">see
traceptrs</font></td>
<td width="229" height="30"><font size="1">Trace
meronyms</font></td>
<td width="207" height="30"><font size="1">None</font></td>
</tr>
<tr>
<td width="101" height="30"><font size="1">traceadjant</font></td>
<td width="156" height="30"><font size="1">synset structure</font></td>
<td width="229" height="30"><font size="1">Trace adjective antonyms</font></td>
<td width="207" height="30"><font size="1">None</font></td>
</tr>
<tr>
<td width="101" height="30"><font size="1">is_defined</font></td>
<td width="156" height="30"><font size="1">word<br>
syntactic category</font></td>
<td width="229" height="30"><font size="1">Find all possible searches for word</font></td>
<td width="207" height="30"><font size="1">Bit mask with one bit set for each possible
search type</font></td>
</tr>
<tr>
<td width="101" height="78"><font size="1">index_lookup<br>
getindex</font></td>
<td width="156" height="78"><font size="1">word<br>
syntactic category</font></td>
<td width="229" height="78"><font size="1">Find word in index file</font></td>
<td width="207" height="78"><font size="1">Data structure for index entry</font></td>
</tr>
<tr>
<td width="101" height="44"><font size="1">read_synset</font></td>
<td width="156" height="44"><font size="1">syntactic category<br>
offset<br>
word</font></td>
<td width="229" height="44"><font size="1">Read synset from data file</font></td>
<td width="207" height="44"><font size="1">Data structure for synset</font></td>
</tr>
<tr>
<td width="101" height="75"><font size="1">free_syns</font></td>
<td width="156" height="75"><font size="1">synset list pointer</font></td>
<td width="229" height="75"><font size="1">Free synsets from findtheinfo_ds</font></td>
<td width="207" height="75"><font size="1">None</font></td>
</tr>
<tr>
<td width="101" height="60"><font size="1">morphstr<br>
morphword</font></td>
<td width="156" height="60"><font size="1">word<br>
syntactic category</font></td>
<td width="229" height="60"><font size="1">Morphology on collocation or single word</font></td>
<td width="207" height="60"><font size="1">Base form of word or NULL if none</font></td>
</tr>
<tr>
<td width="101" height="56"><font size="1">wninit</font></td>
<td width="156" height="56"><font size="1">None</font></td>
<td width="229" height="56"><font size="1">Initialize
library functions</font></td>
<td width="207" height="56"><font size="1">None</font></td>
</tr>
<tr>
<td width="101" height="54"><font size="1">bin_search</font></td>
<td width="156" height="54"><font size="1">word<br>
file descriptor</font></td>
<td width="229" height="54"><font size="1">Binary
search algorithm</font></td>
<td width="207" height="54"><font size="1">Line from
file containing word<br>
or NULL if not found</font></td>
</tr>
<tr>
<td width="101" height="97"><font size="1">cntwords</font></td>
<td width="156" height="97"><font size="1">collocation<br>
char</font></td>
<td width="229" height="97"><font size="1">Count
number of words in string<br>
separated by char</font></td>
<td width="207" height="97"><font size="1">Integer
number of<br>
words in collocation</font></td>
</tr>
<tr>
<td width="101" height="55"><font size="1">strtolower</font></td>
<td width="156" height="55"><font size="1">string</font></td>
<td width="229" height="55"><font size="1">Convert
string to lower case</font></td>
<td width="207" height="55"><font size="1">Lower case
string</font></td>
</tr>
<tr>
<td width="101" height="99"><font size="1">strsubst</font></td>
<td width="156" height="99"><font size="1">string<br>
'from'char 'to' char</font></td>
<td width="229" height="99"><font size="1">Replace all occurrences of 'from' with 'to' in
string</font></td>
<td width="207" height="99"><font size="1">Modified string</font></td>
</tr>
<tr>
<td width="101" height="30"><font size="1">getptrtype</font></td>
<td width="156" height="30"><font size="1">pointer name</font></td>
<td width="229" height="30"><font size="1">Convert string into pointer type</font></td>
<td width="207" height="30"><font size="1">Integer pointer type</font></td>
</tr>
<tr>
<td width="101" height="72"><font size="1">getpos</font></td>
<td width="156" height="72"><font size="1">string</font></td>
<td width="229" height="72"><font size="1">Convert string to syntactic category</font></td>
<td width="207" height="72"><font size="1">Integer syntactic category</font></td>
</tr>
<tr>
<td width="101" height="84"><font size="1">getsstype</font></td>
<td width="156" height="84"><font size="1">string</font></td>
<td width="229" height="84"><font size="1">Convert string to synstet type</font></td>
<td width="207" height="84"><font size="1">Integer synset type</font></td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -