Class Perspectivation
java.lang.Object
de.monochromata.anaphors.perspectivation.Perspectivation
- Direct Known Subclasses:
Perspectivation.Hide,Perspectivation.ToLowerCase
public abstract class Perspectivation extends Object
A perspectivation relative to an offset in a document.
Conceptually, perspectivation is a process that turns a conceptual/semantic representation into a textual representation - i.e. choosing words and syntactic structures to express meaning. This class represents rather low-level operations that are used during a perspectivation process to turn a document that contains a conceptual/semantic representation that could also be used as textual representation into a text optimized for human readers.
The offset of a perspectivation is relative to the offset of the positions it belongs to. Since positions in a document are updated when the document is changed, the perspectivation remains applicable even after document modifications.
- See Also:
Underspecification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPerspectivation.Hidestatic classPerspectivation.ToLowerCase -
Field Summary
Fields Modifier and Type Field Description intlengthintoriginOffsetRelativeToPositionOffset -
Constructor Summary
Constructors Modifier Constructor Description protectedPerspectivation()Used in contract testing.Perspectivation(int originOffsetRelativeToPositionOffset, int length) -
Method Summary
-
Field Details
-
originOffsetRelativeToPositionOffset
-
length
-
-
Constructor Details
-
Perspectivation
protected Perspectivation()Used in contract testing. -
Perspectivation
- Parameters:
originOffsetRelativeToPositionOffset- is relative to origin offsets because that does not require accounting for previously hidden regions. Must be>= 0.
-
-
Method Details