public class SelectRepresentationFromExample extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SelectRepresentationFromExample.representationSelectorInExample |
Constructor and Description |
---|
SelectRepresentationFromExample(String repr) |
SelectRepresentationFromExample(String repr,
SelectRepresentationFromExample.representationSelectorInExample reprSelector) |
Modifier and Type | Method and Description |
---|---|
String |
describe() |
Object |
extractRepresentation(Example example)
Given an Example, extracts the object related to the given representation
(determined at construction time of class
SelectRepresentationFromExample ). |
String |
getRepresentationName() |
boolean |
isInvokedForAllPairElements() |
void |
setSelectionAllExamples() |
void |
setSelectionToLeftExampleInPairOnly() |
void |
setSelectionToRightExampleInPairOnly() |
public SelectRepresentationFromExample(String repr, SelectRepresentationFromExample.representationSelectorInExample reprSelector)
public SelectRepresentationFromExample(String repr)
public String describe()
public Object extractRepresentation(Example example)
SelectRepresentationFromExample
).example
- a KeLP Examplepublic boolean isInvokedForAllPairElements()
public String getRepresentationName()
public void setSelectionToLeftExampleInPairOnly()
public void setSelectionToRightExampleInPairOnly()
public void setSelectionAllExamples()
Copyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.