|
ABL4J (Alignment Based Learning for Java) - 0.9.7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EditOperation
This interface contains the definition of an EditOperation as well as some default implementations of EditOperation.
| Nested Class Summary | |
|---|---|
static class |
EditOperation.Biased
|
static class |
EditOperation.Default
|
static class |
EditOperation.Delete
|
static class |
EditOperation.Insert
|
static class |
EditOperation.SubDis
|
static class |
EditOperation.Substitute
|
| Method Summary | |
|---|---|
Pair<Float,EditOperation> |
gamma(Pair<Integer,Integer> p)
return the gamma value of the operation (the pair of ints are indices in the sentences and 1 is the first word in the sentence) |
Pair<Integer,Integer> |
nextCoordinates(Pair<Integer,Integer> p)
return the next coordinates (when the operation is applied) |
Pair<Integer,Integer> |
previousCoordinates(Pair<Integer,Integer> p)
return the previous coordinates (when the operation was applied) |
| Method Detail |
|---|
Pair<Float,EditOperation> gamma(Pair<Integer,Integer> p)
Pair<Integer,Integer> previousCoordinates(Pair<Integer,Integer> p)
Pair<Integer,Integer> nextCoordinates(Pair<Integer,Integer> p)
|
ABL4J (Alignment Based Learning for Java) - 0.9.7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||