Modifier and Type | Method and Description |
---|---|
Representation |
SimpleExample.getRepresentation(String representationName) |
abstract Representation |
Example.getRepresentation(String representationName)
Returns the representation corresponding to
representationName |
Modifier and Type | Method and Description |
---|---|
Map<String,Representation> |
SimpleExample.getRepresentations() |
abstract Map<String,Representation> |
Example.getRepresentations()
Returns the example representations
|
static Map.Entry<String,Representation> |
ExampleFactory.parseSingleRepresentation(String textualRepresentation)
Parse a single
Representation from its string representation |
Modifier and Type | Method and Description |
---|---|
void |
SimpleExample.addRepresentation(String representationName,
Representation representation) |
abstract void |
Example.addRepresentation(String representationName,
Representation representation)
Adds a representation to this example
|
static String |
ExampleFactory.getTextualRepresentation(Representation representation) |
static String |
ExampleFactory.getTextualRepresentation(Representation representation,
String identifier) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleExample.setRepresentations(HashMap<String,Representation> representations) |
abstract void |
Example.setRepresentations(HashMap<String,Representation> representations)
Sets the example representations
|
Constructor and Description |
---|
SimpleExample(Label[] labels,
HashMap<String,Representation> representations)
Initializes a SimpleExample with the input representations and labels
|
Modifier and Type | Interface and Description |
---|---|
interface |
Normalizable
It is a representation that has a norm
|
interface |
Vector
It is a Vectorial representation
|
Modifier and Type | Method and Description |
---|---|
Representation |
RepresentationFactory.parseRepresentation(String representationType,
String representationBody)
Initializes and returns the representation described in
representationBody |
Modifier and Type | Method and Description |
---|---|
static String |
RepresentationFactory.getRepresentationIdentifier(Class<? extends Representation> c)
Returns the identifier of a given class
|
Modifier and Type | Class and Description |
---|---|
class |
SequenceRepresentation
Sequence Representation used for example to represent a sentence (i.e.
|
Modifier and Type | Class and Description |
---|---|
class |
StringRepresentation
String representation.
|
Modifier and Type | Class and Description |
---|---|
class |
TreeRepresentation
Tree Representation used for example to represent the syntactic tree of a
sentence.
|
Modifier and Type | Class and Description |
---|---|
class |
DenseVector
Dense Feature Vector.
|
class |
SparseVector
Sparse Feature Vector.
|
Modifier and Type | Class and Description |
---|---|
class |
DirectKernel<T extends Representation>
It is a kernel that operates exploiting directly on a specific
representation.
|
Copyright © 2015 Semantic Analytics Group @ Uniroma2. All rights reserved.