public static class InMemoryAlignment.Builder
extends java.lang.Object
InMemoryAlignment
instances.Constructor and Description |
---|
InMemoryAlignment.Builder()
Constructs an empty builder.
|
Modifier and Type | Method and Description |
---|---|
InMemoryAlignment.Builder |
align(int src,
int trg)
Sets that the specified indexes are aligned.
|
InMemoryAlignment |
build()
Builds an
InMemoryAlignment representing the data in this builder. |
public InMemoryAlignment.Builder()
public InMemoryAlignment.Builder align(int src, int trg)
src
- the index in the source sentence.trg
- the index in the target sentence.public InMemoryAlignment build()
InMemoryAlignment
representing the data in this builder.InMemoryAlignment
representing the data in this builder.