Home page  
Help >
WtWordNet
Version 7.11

Description

Native WordNet Interface

Whamtech WordNet Interface

Initialize WordNet

int wninit()
non-zero return indicates error

long WnInit()
result is handle for subsequent calls;
result 0 indicates error;

Initialize WordNet Stemming

int morphinit()
non-zero return indicates error

int MorphInit(long WnH)
non-zero return indicates error

Determine the stem of a word
Note: returns NULL is word is stem
Note: requires word to be all lower case;

char *morphword(char *word,int pos);

char *MorphWord(long WnH,char *word,int pos);

Determine the parts of speech

int in_wn(char *word,int pos);

int WnPos(long WnH,char *word,int pos);

 

 

 

Terminate Stemming

NA

void MorphTerm(long WnH);

Terminate WordNet

NA

void WnTerm(long WnH);

 

Copyright © 2019 , WhamTech, Inc.  All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. Names may be trademarks of their respective owners.