Namespace: Wnlib

Class WNDB

System.Object
  |
  +-- Wnlib.WNDB

public class WNDB
extends System.Object

Static
False
Persistent
False
Sealed
False
Abstract
False

Field Summary
  public  string lexfiles
 
  public  string path
 
 

Method Summary
  public string binSearch(string word, PartOfSpeech pos)
 
  public string binSearch(string searchKey, StreamReader fp)
 
  public string binSearchSemCor(string uniqueid, string searchKey, StreamReader fp)
 
  public StreamReader data(PartOfSpeech p)
 
  internal string DataFile(PartOfSpeech n)
 
  internal string ExcFile(PartOfSpeech n)
 
  public StreamReader index(PartOfSpeech p)
 
  internal string IndexFile(PartOfSpeech n)
 
  public SearchSet is_defined(string searchstr, PartOfSpeech fpos)
 
  public SearchSet is_defined(string word, string p)
 
  public void reopen(PartOfSpeech p)
 
  internal ArrayList wngrep(string wordPassed, PartOfSpeech pos)
 
 

Field Detail

lexfiles

public static string lexfiles = {
			"adj.all",			/* 0 */
			"adj.pert",			/* 1 */
			"adv.all",			/* 2 */
			"noun.Tops",		/* 3 */
			"noun.act",			/* 4 */
			"noun.animal",		/* 5 */
			"noun.artifact",		/* 6 */
			"noun.attribute",		/* 7 */
			"noun.body",		/* 8 */
			"noun.cognition",		/* 9 */
			"noun.communication",	/* 10 */
			"noun.event",		/* 11 */
			"noun.feeling",		/* 12 */
			"noun.food",		/* 13 */
			"noun.group",		/* 14 */
			"noun.location",		/* 15 */
			"noun.motive",		/* 16 */
			"noun.object",		/* 17 */
			"noun.person",		/* 18 */
			"noun.phenomenon",		/* 19 */
			"noun.plant",		/* 20 */
			"noun.possession",		/* 21 */
			"noun.process",		/* 22 */
			"noun.quantity",		/* 23 */
			"noun.relation",		/* 24 */
			"noun.shape",		/* 25 */
			"noun.state",		/* 26 */
			"noun.substance",		/* 27 */
			"noun.time",		/* 28 */
			"verb.body",		/* 29 */
			"verb.change",		/* 30 */
			"verb.cognition",		/* 31 */
			"verb.communication",	/* 32 */
			"verb.competition",		/* 33 */
			"verb.consumption",		/* 34 */
			"verb.contact",		/* 35 */
			"verb.creation",		/* 36 */
			"verb.emotion",		/* 37 */
			"verb.motion",		/* 38 */
			"verb.perception",		/* 39 */
			"verb.possession",		/* 40 */
			"verb.social",		/* 41 */
			"verb.stative",		/* 42 */
			"verb.weather",		/* 43 */
			"adj.ppl",			/* 44 */
		}
Readonly
False
Initial
{ "adj.all", /* 0 */ "adj.pert", /* 1 */ "adv.all", /* 2 */ "noun.Tops", /* 3 */ "noun.act", /* 4 */ "noun.animal", /* 5 */ "noun.artifact", /* 6 */ "noun.attribute", /* 7 */ "noun.body", /* 8 */ "noun.cognition", /* 9 */ "noun.communication", /* 10 */ "noun.event", /* 11 */ "noun.feeling", /* 12 */ "noun.food", /* 13 */ "noun.group", /* 14 */ "noun.location", /* 15 */ "noun.motive", /* 16 */ "noun.object", /* 17 */ "noun.person", /* 18 */ "noun.phenomenon", /* 19 */ "noun.plant", /* 20 */ "noun.possession", /* 21 */ "noun.process", /* 22 */ "noun.quantity", /* 23 */ "noun.relation", /* 24 */ "noun.shape", /* 25 */ "noun.state", /* 26 */ "noun.substance", /* 27 */ "noun.time", /* 28 */ "verb.body", /* 29 */ "verb.change", /* 30 */ "verb.cognition", /* 31 */ "verb.communication", /* 32 */ "verb.competition", /* 33 */ "verb.consumption", /* 34 */ "verb.contact", /* 35 */ "verb.creation", /* 36 */ "verb.emotion", /* 37 */ "verb.motion", /* 38 */ "verb.perception", /* 39 */ "verb.possession", /* 40 */ "verb.social", /* 41 */ "verb.stative", /* 42 */ "verb.weather", /* 43 */ "adj.ppl", /* 44 */ }
Volatile
False
Type
string[]
Nullable
False
Const
False
New
False
Static
True

path

public static string path
Readonly
False
Volatile
False
Type
string
Nullable
False
Const
False
New
False
Static
True

Method Detail

binSearch

public string binSearch(string word, PartOfSpeech pos)
Returns
string
Nullable
False
Virtual
False
New
False
Sealed
False
Extern
False
Override
False
Abstract
False
Static
True

binSearch

public string binSearch(string searchKey, StreamReader fp)
Returns
string
Nullable
False
Virtual
False
New
False
Sealed
False
Extern
False
Override
False
Abstract
False
Static
True

binSearchSemCor

public string binSearchSemCor(string uniqueid, string searchKey, StreamReader fp)
Returns
string
Nullable
False
Virtual
False
New
False
Sealed
False
Extern
False
Override
False
Abstract
False
Static
True

data

public StreamReader data(PartOfSpeech p)
Returns
StreamReader
Nullable
False
Virtual
False
New
False
Sealed
False
Extern
False
Override
False
Abstract
False
Static
True

DataFile

internal string DataFile(PartOfSpeech n)
Returns
string
Nullable
False
Virtual
False
New
False
Sealed
False
Extern
False
Override
False
Abstract
False
Static
True

ExcFile

internal string ExcFile(PartOfSpeech n)
Returns
string
Nullable
False
Virtual
False
New
False
Sealed
False
Extern
False
Override
False
Abstract
False
Static
True

index

public StreamReader index(PartOfSpeech p)
Returns
StreamReader
Nullable
False
Virtual
False
New
False
Sealed
False
Extern
False
Override
False
Abstract
False
Static
True

IndexFile

internal string IndexFile(PartOfSpeech n)
Returns
string
Nullable
False
Virtual
False
New
False
Sealed
False
Extern
False
Override
False
Abstract
False
Static
True

is_defined

public SearchSet is_defined(string searchstr, PartOfSpeech fpos)
Returns
SearchSet
Nullable
False
Virtual
False
New
False
Sealed
False
Extern
False
Override
False
Abstract
False
Static
True

is_defined

public SearchSet is_defined(string word, string p)
Returns
SearchSet
Nullable
False
Virtual
False
New
False
Sealed
False
Extern
False
Override
False
Abstract
False
Static
True

reopen

public void reopen(PartOfSpeech p)
Returns
void
Nullable
False
Virtual
False
New
False
Sealed
False
Extern
False
Override
False
Abstract
False
Static
True

wngrep

internal ArrayList wngrep(string wordPassed, PartOfSpeech pos)
Returns
ArrayList
Nullable
False
Virtual
False
New
False
Sealed
False
Extern
False
Override
False
Abstract
False
Static
True