Package de.monochromata.anaphors.ast
A generic framework for AST-based anaphora resolution and standard anaphor resolution strategies.
The interfaces
RelatedExpressionStrategy
, AnaphorResolutionStrategy and
ReferentializationStrategy
interact in the following way. All available
RelatedExpressionStrategy
instances are used to provide potential related expressions to all available
AnaphorResolutionStrategy
instances that uses all available
ReferentializationStrategy
instances to find potential referents.
TODO: Also mention the difference between anaphors and anaphora
TODO: Add caption / refer to the image:
TODO: Add caption / refer to the image:
TODO: Add caption / refer to the image:
Note that this package supports anaphora resolution on different AST
implementations. See the package de.monochromata.anaphors.ast.spi for
a service-provider interface for specific AST implementations.
-
Interface Summary Interface Description AnaphorPart<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>> Represents an anaphor at the AST level.AnaphorPartsStreaming ASTBasedAnaphora<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.DirectAnaphora<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>> IndirectAnaphora<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>> KindComposition RelatedExpressionPart<N,E,T,B,TB extends B,S,I,QI,R extends RelatedExpression<N,T,B,TB,S,QI,R>> Represents a related expression at the AST level. -
Class Summary Class Description AbstractASTBasedAnaphora<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.ASTBasedAnaphorResolution<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 generic interface to anaphora resolution.DefaultAnaphorPart<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.DefaultDirectAnaphora<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.DefaultIndirectAnaphora<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.DefaultRelatedExpressionPart<N,E,T,B,VB extends B,TB extends B,S,I,QI,R extends RelatedExpression<N,T,B,TB,S,QI,R>> An default implementation of theRelatedExpressionPartinterface.