Uses of Interface
de.monochromata.anaphors.ast.AnaphorPart
| Package | Description |
|---|---|
| de.monochromata.anaphors | |
| de.monochromata.anaphors.ast |
A generic framework for AST-based anaphora resolution and standard anaphor
resolution strategies.
|
| de.monochromata.anaphors.ast.chain | |
| de.monochromata.anaphors.ast.relatedexp.strategy |
Strategies for identifying and handling related expressions
|
| de.monochromata.anaphors.ast.spi |
Service provider interfaces to be implemented to support anaphora resolution
on a given AST implementation.
|
| de.monochromata.anaphors.ast.strategy |
Anaphora resolution strategies.
|
| de.monochromata.anaphors.perspectivation |
-
Uses of AnaphorPart in de.monochromata.anaphors
Constructors in de.monochromata.anaphors with parameters of type AnaphorPart Constructor Description Anaphora(RelatedExpressionPart<?,?,?,?,?,?,?,?,?> relatedExpressionPart, AnaphorPart<?,?,?,?,?,?,?,?,?,?> anaphorPart) -
Uses of AnaphorPart in de.monochromata.anaphors.ast
Subinterfaces of AnaphorPart in de.monochromata.anaphors.ast Modifier and Type Interface Description interfaceASTBasedAnaphora<N,E,T,B,TB extends B,S,I,QI,R extends RelatedExpression<N,T,B,TB,S,QI,R>,A extends ASTBasedAnaphora<N,E,T,B,TB,S,I,QI,R,A>>The relation between anaphor and related expression.interfaceDirectAnaphora<N,E,T,B,TB extends B,S,I,QI,R extends RelatedExpression<N,T,B,TB,S,QI,R>,A extends ASTBasedAnaphora<N,E,T,B,TB,S,I,QI,R,A>>interfaceIndirectAnaphora<N,E,T,B,TB extends B,S,I,QI,R extends RelatedExpression<N,T,B,TB,S,QI,R>,A extends ASTBasedAnaphora<N,E,T,B,TB,S,I,QI,R,A>>Classes in de.monochromata.anaphors.ast that implement AnaphorPart Modifier and Type Class Description classAbstractASTBasedAnaphora<N,E,T,B,TB extends B,S,I,QI,R extends RelatedExpression<N,T,B,TB,S,QI,R>,A extends ASTBasedAnaphora<N,E,T,B,TB,S,I,QI,R,A>>An abstract implementation of the anaphora interface.classDefaultAnaphorPart<N,E,T,B,VB extends B,TB extends B,S,I,QI,R extends RelatedExpression<N,T,B,TB,S,QI,R>,A extends ASTBasedAnaphora<N,E,T,B,TB,S,I,QI,R,A>>An default implementation of theAnaphorPartinterface.classDefaultDirectAnaphora<N,E,T,B,TB extends B,S,I,QI,R extends RelatedExpression<N,T,B,TB,S,QI,R>,A extends ASTBasedAnaphora<N,E,T,B,TB,S,I,QI,R,A>>A default implementation of a direct anaphora relation.classDefaultIndirectAnaphora<N,E,T,B,TB extends B,S,I,QI,R extends RelatedExpression<N,T,B,TB,S,QI,R>,A extends ASTBasedAnaphora<N,E,T,B,TB,S,I,QI,R,A>>A default implementation of an indirect anaphora relation.Methods in de.monochromata.anaphors.ast that return AnaphorPart Modifier and Type Method Description AnaphorPart<N,E,T,B,TB,S,I,QI,R,A>AbstractASTBasedAnaphora. getAnaphorPart()AnaphorPart<N,E,T,B,TB,S,I,QI,R,A>ASTBasedAnaphora. getAnaphorPart()Methods in de.monochromata.anaphors.ast with parameters of type AnaphorPart Modifier and Type Method Description static <N, E, T, B, TB extends B, S, I, QI, R extends RelatedExpression<N, T, B, TB, S, QI, R>, A extends ASTBasedAnaphora<N, E, T, B, TB, S, I, QI, R, A>>
StringKindComposition. getKind(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart)Returns a kind composed of the kinds provided by theRelatedExpressionPartand theAnaphorPart.Method parameters in de.monochromata.anaphors.ast with type arguments of type AnaphorPart Modifier and Type Method Description static <N, E, T, B, TB extends B, S, I, QI, R extends RelatedExpression<N, T, B, TB, S, QI, R>, A extends ASTBasedAnaphora<N, E, T, B, TB, S, I, QI, R, A>>
List<org.apache.commons.lang3.tuple.Pair<LocalTempVariableContents,String>>AnaphorPartsStreaming. toVariableContentsAndAnaphors(List<AnaphorPart<N,E,T,B,TB,S,I,QI,R,A>> anaphorParts)Constructors in de.monochromata.anaphors.ast with parameters of type AnaphorPart Constructor Description AbstractASTBasedAnaphora(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, boolean isUnderspecified)DefaultDirectAnaphora(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, boolean isUnderspecified)DefaultIndirectAnaphora(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, String underspecifiedRelation, boolean isUnderspecified)DefaultIndirectAnaphora(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, String underspecifiedRelation, Supplier<String> customReferenceDescriptionSupplier, boolean isUnderspecified)DefaultIndirectAnaphora(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, String underspecifiedRelation, Optional<Supplier<String>> customReferenceDescriptionSupplier, boolean isUnderspecified) -
Uses of AnaphorPart in de.monochromata.anaphors.ast.chain
Fields in de.monochromata.anaphors.ast.chain declared as AnaphorPart Modifier and Type Field Description AnaphorPart<N,E,T,B,TB,S,I,QI,R,A>ChainElement. anaphorMethods in de.monochromata.anaphors.ast.chain with parameters of type AnaphorPart Modifier and Type Method Description CChainElementFactory. create(C previous, List<C> next, RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpression, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphor, AT anaphorAttachment)static <TB extends B, PP, E, T, I, B, QI, EV, N, S, AT, R extends RelatedExpression<N, T, B, TB, S, QI, R>, A extends ASTBasedAnaphora<N, E, T, B, TB, S, I, QI, R, A>, C extends ChainElement<N, E, T, B, TB, S, I, QI, AT, R, A, C>>
CChaining. toChain(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, AT anaphorAttachment, ChainElementFactory<N,E,T,B,TB,S,I,QI,AT,R,A,C> factory)Constructors in de.monochromata.anaphors.ast.chain with parameters of type AnaphorPart Constructor Description ChainElement(C previous, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphor, AT anaphorAttachment)ChainElement(C previous, List<C> next, RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpression, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphor, AT anaphorAttachment) -
Uses of AnaphorPart in de.monochromata.anaphors.ast.spi
Methods in de.monochromata.anaphors.ast.spi with type parameters of type AnaphorPart Modifier and Type Method Description <RP extends RelatedExpressionPart<N, E, T, B, TB, S, I, QI, R>, AP extends AnaphorPart<N, E, T, B, TB, S, I, QI, R, A>>
AAnaphoraResolutionSpi. createDirectAnaphora(RP relatedExpressionPart, AP anaphorPart, boolean isUnderspecified)<RP extends RelatedExpressionPart<N, E, T, B, TB, S, I, QI, R>, AP extends AnaphorPart<N, E, T, B, TB, S, I, QI, R, A>>
AAnaphoraResolutionSpi. createIndirectAnaphora(RP relatedExpressionPart, AP anaphorPart, String underspecifiedRelation, boolean isUnderspecified)<RP extends RelatedExpressionPart<N, E, T, B, TB, S, I, QI, R>, AP extends AnaphorPart<N, E, T, B, TB, S, I, QI, R, A>>
AAnaphoraResolutionSpi. createIndirectAnaphora(RP relatedExpressionPart, AP anaphorPart, String underspecifiedRelation, Supplier<String> customReferenceDescriptionSupplier, boolean isUnderspecified)Methods in de.monochromata.anaphors.ast.spi with parameters of type AnaphorPart Modifier and Type Method Description EAnaphoraResolutionSpi. realizeDA1Re(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, E replacee, Optional<I> guessedTempName, Object... support)Replace an anaphor of kind DA1Re by an expression that realizes it.EAnaphoraResolutionSpi. realizeIA1Mr(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, E replacee, Optional<I> guessedTempName, Object[] support)EAnaphoraResolutionSpi. realizeIA2F(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, E replacee, Optional<I> guessedTempName, Object... support)Replace an anaphor of kind IA2F by an expression that realizes it.EAnaphoraResolutionSpi. realizeIA2Mg(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, E replacee, Optional<I> guessedTempName, Object... support)Replace an anaphor of kind IA2Mg by an expression that realizes it. -
Uses of AnaphorPart in de.monochromata.anaphors.ast.strategy
Methods in de.monochromata.anaphors.ast.strategy with parameters of type AnaphorPart Modifier and Type Method Description static <N, E, T, B, MB extends B, TB extends B, S, I, QI, EV, PP, R extends RelatedExpression<N, T, B, TB, S, QI, R>, A extends ASTBasedAnaphora<N, E, T, B, TB, S, I, QI, R, A>>
StringAnaphorCreationForReferentInLocalTempVariable. getAnaphorToBeRealized(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, List<AnaphorPart<N,E,T,B,TB,S,I,QI,R,A>> allAnaphorPartsRelatedToTheRelatedExpression, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, S scope, RelatedExpressionsSpi<N,E,T,B,MB,TB,S,I,QI,EV,PP,R> relatedExpressionsSpi)StringAnaphorResolutionStrategy. getAnaphorToBeRealized(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, List<AnaphorPart<N,E,T,B,TB,S,I,QI,R,A>> allAnaphorPartsRelatedToTheRelatedExpression, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, S scope)To be invoked when a related expression resolved with this strategy is realized to obtain the anaphor that will be present after realization.StringDA1ReStrategy. getAnaphorToBeRealized(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, List<AnaphorPart<N,E,T,B,TB,S,I,QI,R,A>> allAnaphorPartsRelatedToTheRelatedExpression, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, S scope)StringIA1MrStrategy. getAnaphorToBeRealized(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, List<AnaphorPart<N,E,T,B,TB,S,I,QI,R,A>> allAnaphorPartsRelatedToTheRelatedExpression, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, S scope)StringIA2FStrategy. getAnaphorToBeRealized(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, List<AnaphorPart<N,E,T,B,TB,S,I,QI,R,A>> allAnaphorPartsRelatedToTheRelatedExpression, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, S scope)StringIA2MgStrategy. getAnaphorToBeRealized(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, List<AnaphorPart<N,E,T,B,TB,S,I,QI,R,A>> allAnaphorPartsRelatedToTheRelatedExpression, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, S scope)StringAnaphorResolutionStrategy. getKindOfAnaphorResolutionStrategyToBeRealized(AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart)To be invoked when a related expression resolved with this strategy is realized to obtain the kind of anaphor resolution strategy that applies after realization.default StringStoresAnchorInLocalTempVariable. getKindOfAnaphorResolutionStrategyToBeRealized(AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart)default StringStoresReferentInLocalTempVariable. getKindOfAnaphorResolutionStrategyToBeRealized(AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart)StringAnaphorResolutionStrategy. getKindOfReferentializationStrategyToBeRealized(AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart)To be invoked when an anaphora resolved with this strategy is realized to obtain the kind of referentialization that applies after realization.default StringStoresAnchorInLocalTempVariable. getKindOfReferentializationStrategyToBeRealized(AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart)Always returnsNameRecurrence.Rn_KINDbecause re-resolution triggered after realization will always be name-based as it is based on the underspecified representation of the realized anaphor which contains the name of the referent.default StringStoresReferentInLocalTempVariable. getKindOfReferentializationStrategyToBeRealized(AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart)Always returnsNameRecurrence.Rn_KINDbecause re-resolution triggered after realization will always be name-based as it is based on the name of the local variable that was introduced to store the referent.EAnaphorResolutionStrategy. realize(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, E replacee, Optional<I> guessedTempName, Object... support)Replaces the anaphor of the given anaphora relation.EDA1ReStrategy. realize(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, E replacee, Optional<I> guessedTempName, Object... support)EIA1MrStrategy. realize(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, E replacee, Optional<I> guessedTempName, Object... support)EIA2FStrategy. realize(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, E replacee, Optional<I> guessedTempName, Object... support)EIA2MgStrategy. realize(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, E replacee, Optional<I> guessedTempName, Object... support)Method parameters in de.monochromata.anaphors.ast.strategy with type arguments of type AnaphorPart Modifier and Type Method Description static <N, E, T, B, MB extends B, TB extends B, S, I, QI, EV, PP, R extends RelatedExpression<N, T, B, TB, S, QI, R>, A extends ASTBasedAnaphora<N, E, T, B, TB, S, I, QI, R, A>>
StringAnaphorCreationForReferentInLocalTempVariable. getAnaphorToBeRealized(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, List<AnaphorPart<N,E,T,B,TB,S,I,QI,R,A>> allAnaphorPartsRelatedToTheRelatedExpression, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, S scope, RelatedExpressionsSpi<N,E,T,B,MB,TB,S,I,QI,EV,PP,R> relatedExpressionsSpi)StringAnaphorResolutionStrategy. getAnaphorToBeRealized(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, List<AnaphorPart<N,E,T,B,TB,S,I,QI,R,A>> allAnaphorPartsRelatedToTheRelatedExpression, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, S scope)To be invoked when a related expression resolved with this strategy is realized to obtain the anaphor that will be present after realization.StringDA1ReStrategy. getAnaphorToBeRealized(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, List<AnaphorPart<N,E,T,B,TB,S,I,QI,R,A>> allAnaphorPartsRelatedToTheRelatedExpression, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, S scope)StringIA1MrStrategy. getAnaphorToBeRealized(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, List<AnaphorPart<N,E,T,B,TB,S,I,QI,R,A>> allAnaphorPartsRelatedToTheRelatedExpression, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, S scope)StringIA2FStrategy. getAnaphorToBeRealized(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, List<AnaphorPart<N,E,T,B,TB,S,I,QI,R,A>> allAnaphorPartsRelatedToTheRelatedExpression, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, S scope)StringIA2MgStrategy. getAnaphorToBeRealized(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, List<AnaphorPart<N,E,T,B,TB,S,I,QI,R,A>> allAnaphorPartsRelatedToTheRelatedExpression, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, S scope) -
Uses of AnaphorPart in de.monochromata.anaphors.perspectivation
Methods in de.monochromata.anaphors.perspectivation with parameters of type AnaphorPart Modifier and Type Method Description static <N, E, T, B, TB extends B, S, I, QI, EV, PP, R extends RelatedExpression<N, T, B, TB, S, QI, R>, A extends ASTBasedAnaphora<N, E, T, B, TB, S, I, QI, R, A>>
PPUnderspecification. underspecifyAnaphor(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, AnaphorPart<N,E,T,B,TB,S,I,QI,R,A> anaphorPart, S scope, Predicate<EV> condition, AnaphorsSpi<N,E,TB,S,I,QI,EV,PP> anaphorsSpi)Method parameters in de.monochromata.anaphors.perspectivation with type arguments of type AnaphorPart Modifier and Type Method Description static <N, E, T, B, MB extends B, TB extends B, S, I, QI, EV, PP, R extends RelatedExpression<N, T, B, TB, S, QI, R>, A extends ASTBasedAnaphora<N, E, T, B, TB, S, I, QI, R, A>>
PPUnderspecification. underspecifyRelatedExpression(RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R> relatedExpressionPart, List<AnaphorPart<N,E,T,B,TB,S,I,QI,R,A>> anaphorParts, S scope, Predicate<EV> condition, RelatedExpressionsSpi<N,E,T,B,MB,TB,S,I,QI,EV,PP,R> relatedExpressionsSpi)