All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends
Public Member Functions | Static Public Attributes | Private Attributes
instruction.semanticObjects.Word Class Reference
Inheritance diagram for instruction.semanticObjects.Word:
Inheritance graph
[legend]

List of all members.

Public Member Functions

boolean equals (Object w)
ArrayList< String > getCycConcepts ()
String getLabel ()
ArrayList< String > getSynSetIDs ()
int getType ()
void setCycConcepts (ArrayList< String > concepts)
void setLabel (String label)
void setSynSetIDs (ArrayList< String > synsets)
void setType (int type)
String toString ()
String typeToString (int type)
 Word ()
 Word (int type, String label)

Static Public Attributes

static final int TYPE_ADJ = 2
static final int TYPE_ADV = 3
static final int TYPE_ARTICLE = 10
static final int TYPE_CONJ = 7
static final int TYPE_GERUND = 13
static final int TYPE_NOUN = 0
static final int TYPE_NUMBER = 5
static final int TYPE_PARTICLE = 4
static final int TYPE_PAST_PARTICIPLE = 12
static final int TYPE_PREPOSITION = 9
static final int TYPE_PRONOUN = 8
static final int TYPE_PUNCTUATION = 11
static final int TYPE_UNKNOWN = - 1
static final int TYPE_VERB_INFINITIVE = 1

Private Attributes

ArrayList< String > cycConcepts = new ArrayList<String>()
String label
ArrayList< String > synSetIDs = new ArrayList<String>()
int type

Detailed Description

Author:
Daniel Nyga

Definition at line 11 of file Word.java.


Constructor & Destructor Documentation

Constructs a new Word with empty label and unknown type

Definition at line 55 of file Word.java.

instruction.semanticObjects.Word.Word ( int  type,
String  label 
) [inline]

Definition at line 61 of file Word.java.


Member Function Documentation

boolean instruction.semanticObjects.Word.equals ( Object  w) [inline]

Compares two Words for equality Object.equals

Definition at line 169 of file Word.java.

ArrayList<String> instruction.semanticObjects.Word.getCycConcepts ( ) [inline]

Definition at line 72 of file Word.java.

Definition at line 81 of file Word.java.

ArrayList<String> instruction.semanticObjects.Word.getSynSetIDs ( ) [inline]

Definition at line 67 of file Word.java.

Definition at line 86 of file Word.java.

void instruction.semanticObjects.Word.setCycConcepts ( ArrayList< String >  concepts) [inline]

Definition at line 77 of file Word.java.

void instruction.semanticObjects.Word.setLabel ( String  label) [inline]

Definition at line 91 of file Word.java.

void instruction.semanticObjects.Word.setSynSetIDs ( ArrayList< String >  synsets) [inline]

Definition at line 101 of file Word.java.

void instruction.semanticObjects.Word.setType ( int  type) [inline]

Definition at line 96 of file Word.java.

Definition at line 106 of file Word.java.

String instruction.semanticObjects.Word.typeToString ( int  type) [inline]

Definition at line 123 of file Word.java.


Member Data Documentation

ArrayList<String> instruction.semanticObjects.Word.cycConcepts = new ArrayList<String>() [private]

A List of Cyc-Concepts associated with the SynSets of synSetIDs
Is not automatically filled!

Definition at line 50 of file Word.java.

The label of the Word

Definition at line 36 of file Word.java.

ArrayList<String> instruction.semanticObjects.Word.synSetIDs = new ArrayList<String>() [private]

A List of WordNet-SynSet-IDs.
Is not automatically filled!
Use WordNet.getSynIDs() method to retrieve them!

Definition at line 43 of file Word.java.

Specifies the type of the Word. One of the TYPE_-Fields

Definition at line 31 of file Word.java.

Definition at line 16 of file Word.java.

Definition at line 17 of file Word.java.

Definition at line 23 of file Word.java.

Definition at line 20 of file Word.java.

Definition at line 26 of file Word.java.

Definition at line 14 of file Word.java.

Definition at line 19 of file Word.java.

Definition at line 18 of file Word.java.

Definition at line 25 of file Word.java.

Definition at line 22 of file Word.java.

Definition at line 21 of file Word.java.

Definition at line 24 of file Word.java.

Definition at line 13 of file Word.java.

Definition at line 15 of file Word.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


comp_ehow
Author(s): Moritz Tenorth, Daniel Nyga
autogenerated on Tue Apr 16 2013 00:18:25