Package | Description |
---|---|
edu.illinois.cs.cogcomp.lbjava.classify | |
edu.illinois.cs.cogcomp.lbjava.IR | |
edu.illinois.cs.cogcomp.lbjava.util |
Modifier and Type | Field and Description |
---|---|
protected ByteString |
RealReferringFeature.identifier
The
identifier string distinguishes this Feature from other
Feature s. |
protected ByteString |
DiscreteReferringFeature.identifier
The
identifier string distinguishes this Feature from other
Feature s. |
protected ByteString |
RealPrimitiveFeature.identifier
The
identifier string distinguishes this Feature from other
Feature s. |
protected ByteString |
DiscretePrimitiveFeature.identifier
The
identifier string distinguishes this Feature from other
Feature s. |
protected ByteString |
DiscretePrimitiveFeature.value
The discrete value is represented as a string.
|
Modifier and Type | Method and Description |
---|---|
ByteString |
RealReferringFeature.getByteStringIdentifier()
Retrieves this feature's identifier as a byte string.
|
ByteString |
RealPrimitiveStringFeature.getByteStringIdentifier()
Retrieves this feature's identifier as a byte string.
|
ByteString |
RealConjunctiveFeature.getByteStringIdentifier()
Retrieves this feature's identifier as a byte string.
|
abstract ByteString |
Feature.getByteStringIdentifier()
Retrieves this feature's identifier as a byte string.
|
ByteString |
DiscreteReferringFeature.getByteStringIdentifier()
Retrieves this feature's identifier as a byte string.
|
ByteString |
DiscretePrimitiveStringFeature.getByteStringIdentifier()
Retrieves this feature's identifier as a byte string.
|
ByteString |
DiscreteConjunctiveFeature.getByteStringIdentifier()
Retrieves this feature's identifier as a byte string.
|
ByteString |
RealReferringStringFeature.getByteStringIdentifier()
Retrieves this feature's identifier as a byte string.
|
ByteString |
RealPrimitiveFeature.getByteStringIdentifier()
Retrieves this feature's identifier as a byte string.
|
ByteString |
DiscreteReferringStringFeature.getByteStringIdentifier()
Retrieves this feature's identifier as a byte string.
|
ByteString |
DiscretePrimitiveFeature.getByteStringIdentifier()
Retrieves this feature's identifier as a byte string.
|
ByteString |
RealFeature.getByteStringValue()
Gives a string representation of the value of this feature.
|
abstract ByteString |
Feature.getByteStringValue()
Gives a string representation of the value of this feature.
|
ByteString |
DiscretePrimitiveStringFeature.getByteStringValue()
Gives a string representation of the value of this feature.
|
ByteString |
DiscreteConjunctiveFeature.getByteStringValue()
Gives a string representation of the value of this feature.
|
ByteString |
DiscreteReferrer.getByteStringValue()
Gives a string representation of the value of this feature.
|
ByteString |
DiscretePrimitiveFeature.getByteStringValue()
Gives a string representation of the value of this feature.
|
Modifier and Type | Method and Description |
---|---|
void |
RealReferringFeature.lexRead(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessInputStream in,
Lexicon lex,
String p,
String g,
String si,
ByteString bi)
Reads the representation of a feature with this object's run-time type as stored by a
lexicon, overwriting the data in this object.
|
void |
RealPrimitiveStringFeature.lexRead(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessInputStream in,
Lexicon lex,
String p,
String g,
String si,
ByteString bi)
Reads the representation of a feature with this object's run-time type as stored by a
lexicon, overwriting the data in this object.
|
void |
RealConjunctiveFeature.lexRead(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessInputStream in,
Lexicon lex,
String p,
String g,
String si,
ByteString bi)
Reads the representation of a feature with this object's run-time type as stored by a
lexicon, overwriting the data in this object.
|
void |
RealArrayFeature.lexRead(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessInputStream in,
Lexicon lex,
String p,
String g,
String si,
ByteString bi)
Reads the representation of a feature with this object's run-time type as stored by a
lexicon, overwriting the data in this object.
|
void |
Feature.lexRead(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessInputStream in,
Lexicon lex,
String p,
String g,
String si,
ByteString bi)
Reads the representation of a feature with this object's run-time type as stored by a
lexicon, overwriting the data in this object.
|
void |
DiscreteReferringFeature.lexRead(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessInputStream in,
Lexicon lex,
String p,
String g,
String si,
ByteString bi)
Reads the representation of a feature with this object's run-time type as stored by a
lexicon, overwriting the data in this object.
|
void |
DiscretePrimitiveStringFeature.lexRead(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessInputStream in,
Lexicon lex,
String p,
String g,
String si,
ByteString bi)
Reads the representation of a feature with this object's run-time type as stored by a
lexicon, overwriting the data in this object.
|
void |
DiscreteConjunctiveFeature.lexRead(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessInputStream in,
Lexicon lex,
String p,
String g,
String si,
ByteString bi)
Reads the representation of a feature with this object's run-time type as stored by a
lexicon, overwriting the data in this object.
|
void |
DiscreteArrayFeature.lexRead(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessInputStream in,
Lexicon lex,
String p,
String g,
String si,
ByteString bi)
Reads the representation of a feature with this object's run-time type as stored by a
lexicon, overwriting the data in this object.
|
void |
RealReferringStringFeature.lexRead(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessInputStream in,
Lexicon lex,
String p,
String g,
String si,
ByteString bi)
Reads the representation of a feature with this object's run-time type as stored by a
lexicon, overwriting the data in this object.
|
void |
RealReferrer.lexRead(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessInputStream in,
Lexicon lex,
String p,
String g,
String si,
ByteString bi)
Reads the representation of a feature with this object's run-time type as stored by a
lexicon, overwriting the data in this object.
|
void |
RealPrimitiveFeature.lexRead(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessInputStream in,
Lexicon lex,
String p,
String g,
String si,
ByteString bi)
Reads the representation of a feature with this object's run-time type as stored by a
lexicon, overwriting the data in this object.
|
void |
RealArrayStringFeature.lexRead(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessInputStream in,
Lexicon lex,
String p,
String g,
String si,
ByteString bi)
Reads the representation of a feature with this object's run-time type as stored by a
lexicon, overwriting the data in this object.
|
void |
DiscreteReferringStringFeature.lexRead(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessInputStream in,
Lexicon lex,
String p,
String g,
String si,
ByteString bi)
Reads the representation of a feature with this object's run-time type as stored by a
lexicon, overwriting the data in this object.
|
void |
DiscreteReferrer.lexRead(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessInputStream in,
Lexicon lex,
String p,
String g,
String si,
ByteString bi)
Reads the representation of a feature with this object's run-time type as stored by a
lexicon, overwriting the data in this object.
|
void |
DiscretePrimitiveFeature.lexRead(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessInputStream in,
Lexicon lex,
String p,
String g,
String si,
ByteString bi)
Reads the representation of a feature with this object's run-time type as stored by a
lexicon, overwriting the data in this object.
|
void |
DiscreteFeature.lexRead(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessInputStream in,
Lexicon lex,
String p,
String g,
String si,
ByteString bi)
Reads the representation of a feature with this object's run-time type as stored by a
lexicon, overwriting the data in this object.
|
void |
DiscreteArrayStringFeature.lexRead(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessInputStream in,
Lexicon lex,
String p,
String g,
String si,
ByteString bi)
Reads the representation of a feature with this object's run-time type as stored by a
lexicon, overwriting the data in this object.
|
static Feature |
Feature.lexReadFeature(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessInputStream in,
Lexicon lex,
Class c,
String p,
String g,
String si,
ByteString bi)
Reads the representation of a feature of any type as stored by a lexicon, omitting redundant
information.
|
String |
RealReferringFeature.lexWrite(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessOutputStream out,
Lexicon lex,
String c,
String p,
String g,
String si,
ByteString bi)
Writes a binary representation of the feature intended for use by a lexicon, omitting
redundant information when possible.
|
String |
RealPrimitiveStringFeature.lexWrite(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessOutputStream out,
Lexicon lex,
String c,
String p,
String g,
String si,
ByteString bi)
Writes a binary representation of the feature intended for use by a lexicon, omitting
redundant information when possible.
|
String |
RealConjunctiveFeature.lexWrite(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessOutputStream out,
Lexicon lex,
String c,
String p,
String g,
String si,
ByteString bi)
Writes a binary representation of the feature intended for use by a lexicon, omitting
redundant information when possible.
|
String |
RealArrayFeature.lexWrite(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessOutputStream out,
Lexicon lex,
String c,
String p,
String g,
String si,
ByteString bi)
Writes a binary representation of the feature intended for use by a lexicon, omitting
redundant information when possible.
|
String |
Feature.lexWrite(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessOutputStream out,
Lexicon lex,
String c,
String p,
String g,
String si,
ByteString bi)
Writes a binary representation of the feature intended for use by a lexicon, omitting
redundant information when possible.
|
String |
DiscreteReferringFeature.lexWrite(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessOutputStream out,
Lexicon lex,
String c,
String p,
String g,
String si,
ByteString bi)
Writes a binary representation of the feature intended for use by a lexicon, omitting
redundant information when possible.
|
String |
DiscretePrimitiveStringFeature.lexWrite(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessOutputStream out,
Lexicon lex,
String c,
String p,
String g,
String si,
ByteString bi)
Writes a binary representation of the feature intended for use by a lexicon, omitting
redundant information when possible.
|
String |
DiscreteConjunctiveFeature.lexWrite(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessOutputStream out,
Lexicon lex,
String c,
String p,
String g,
String si,
ByteString bi)
Writes a binary representation of the feature intended for use by a lexicon, omitting
redundant information when possible.
|
String |
DiscreteArrayFeature.lexWrite(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessOutputStream out,
Lexicon lex,
String c,
String p,
String g,
String si,
ByteString bi)
Writes a binary representation of the feature intended for use by a lexicon, omitting
redundant information when possible.
|
String |
RealReferringStringFeature.lexWrite(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessOutputStream out,
Lexicon lex,
String c,
String p,
String g,
String si,
ByteString bi)
Writes a binary representation of the feature intended for use by a lexicon, omitting
redundant information when possible.
|
String |
RealReferrer.lexWrite(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessOutputStream out,
Lexicon lex,
String c,
String p,
String g,
String si,
ByteString bi)
Writes a binary representation of the feature intended for use by a lexicon, omitting
redundant information when possible.
|
String |
RealPrimitiveFeature.lexWrite(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessOutputStream out,
Lexicon lex,
String c,
String p,
String g,
String si,
ByteString bi)
Writes a binary representation of the feature intended for use by a lexicon, omitting
redundant information when possible.
|
String |
RealArrayStringFeature.lexWrite(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessOutputStream out,
Lexicon lex,
String c,
String p,
String g,
String si,
ByteString bi)
Writes a binary representation of the feature intended for use by a lexicon, omitting
redundant information when possible.
|
String |
DiscreteReferringStringFeature.lexWrite(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessOutputStream out,
Lexicon lex,
String c,
String p,
String g,
String si,
ByteString bi)
Writes a binary representation of the feature intended for use by a lexicon, omitting
redundant information when possible.
|
String |
DiscreteReferrer.lexWrite(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessOutputStream out,
Lexicon lex,
String c,
String p,
String g,
String si,
ByteString bi)
Writes a binary representation of the feature intended for use by a lexicon, omitting
redundant information when possible.
|
String |
DiscretePrimitiveFeature.lexWrite(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessOutputStream out,
Lexicon lex,
String c,
String p,
String g,
String si,
ByteString bi)
Writes a binary representation of the feature intended for use by a lexicon, omitting
redundant information when possible.
|
String |
DiscreteFeature.lexWrite(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessOutputStream out,
Lexicon lex,
String c,
String p,
String g,
String si,
ByteString bi)
Writes a binary representation of the feature intended for use by a lexicon, omitting
redundant information when possible.
|
String |
DiscreteArrayStringFeature.lexWrite(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessOutputStream out,
Lexicon lex,
String c,
String p,
String g,
String si,
ByteString bi)
Writes a binary representation of the feature intended for use by a lexicon, omitting
redundant information when possible.
|
Constructor and Description |
---|
DiscreteArrayFeature(String p,
String c,
ByteString id,
ByteString v,
int i,
int l)
Sets the identifier, value, array index, and size of the containing array.
|
DiscreteArrayFeature(String p,
String c,
ByteString id,
ByteString v,
short vi,
short t,
int i,
int l)
Sets all member variables.
|
DiscretePrimitiveFeature(String p,
String c,
ByteString i,
ByteString v)
Sets both the identifier and the value.
|
DiscretePrimitiveFeature(String p,
String c,
ByteString i,
ByteString v,
short vi,
short t)
Sets the identifier, value, value index, and total allowable values.
|
DiscreteReferringFeature(Classifier c,
ByteString i,
DiscreteFeature r)
Sets both the identifier and the referent.
|
DiscreteReferringFeature(Classifier c,
ByteString i,
DiscreteFeature r,
String[] av)
Sets both the identifier and the referent.
|
DiscreteReferringFeature(String p,
String c,
ByteString i,
DiscreteFeature r,
short vi,
short t)
Constructs a new referring feature.
|
RealArrayFeature(String p,
String c,
ByteString id,
double v,
int i,
int l)
Sets all member variables.
|
RealPrimitiveFeature(String p,
String c,
ByteString i,
double v)
Sets both the identifier and the value.
|
RealReferringFeature(Classifier c,
ByteString i,
RealFeature r)
Sets both the identifier and the referent.
|
RealReferringFeature(String p,
String c,
ByteString i,
RealFeature r)
Sets both the identifier and the referent.
|
Constructor and Description |
---|
ConstantList(ByteString[] a)
Creates an entire list from an array of values.
|
Modifier and Type | Field and Description |
---|---|
static ByteString |
ByteString.emptyString
A byte string representing
"" . |
Modifier and Type | Method and Description |
---|---|
ByteString |
ByteString.append(ByteString b)
Appends the string represented by the given byte string onto the existing content in this
object.
|
ByteString |
ByteString.append(ByteString[] b)
Appends the strings represented by the given byte strings onto the existing content in this
object.
|
ByteString |
ByteString.append(String s)
Appends the encoding of the given string onto the existing encoding in this object.
|
ByteString |
ByteString.append(String[] s)
Appends the encodings of all the given strings onto the existing encoding in this object.
|
static ByteString |
ByteString.lexReadByteString(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessInputStream in,
ByteString i)
Reads and returns a byte string as written by a lexicon.
|
static ByteString |
ByteString.readByteString(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessInputStream in)
Reads and returns a byte string from an input stream.
|
Modifier and Type | Method and Description |
---|---|
ByteString |
ByteString.append(ByteString b)
Appends the string represented by the given byte string onto the existing content in this
object.
|
ByteString |
ByteString.append(ByteString[] b)
Appends the strings represented by the given byte strings onto the existing content in this
object.
|
void |
ByteString.lexRead(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessInputStream in,
ByteString i)
Reads the representation of a byte string as stored by a lexicon, overwriting the data in
this object.
|
static ByteString |
ByteString.lexReadByteString(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessInputStream in,
ByteString i)
Reads and returns a byte string as written by a lexicon.
|
void |
ByteString.lexWrite(edu.illinois.cs.cogcomp.core.datastructures.vectors.ExceptionlessOutputStream out,
ByteString i)
Writes a binary representation of this byte string intended for use by a lexicon, omitting
redundant information when possible.
|
Constructor and Description |
---|
ByteString(ByteString b,
String e)
Creates a byte string with the given encoding, which may involve converting the specified
byte string's contents if the encodings differ.
|
Copyright © 2016. All rights reserved.