Uses of Class
edu.columbia.cs.ref.model.relationship.Relationship

Packages that use Relationship
edu.columbia.cs.api   
edu.columbia.cs.cg.pattern.prdualrank   
edu.columbia.cs.cg.prdualrank   
edu.columbia.cs.cg.prdualrank.graph   
edu.columbia.cs.cg.prdualrank.graph.generator   
edu.columbia.cs.cg.prdualrank.inference   
edu.columbia.cs.cg.prdualrank.inference.quest   
edu.columbia.cs.cg.prdualrank.inference.quest.impl   
edu.columbia.cs.cg.prdualrank.model   
edu.columbia.cs.cg.prdualrank.pattern.extractor   
edu.columbia.cs.cg.prdualrank.pattern.extractor.impl   
edu.columbia.cs.cg.prdualrank.pattern.extractor.resource   
edu.columbia.cs.cg.prdualrank.searchengine.querygenerator   
edu.columbia.cs.cg.prdualrank.searchengine.querygenerator.impl   
edu.columbia.cs.ref.model   
edu.columbia.cs.ref.model.constraint.relationship   
edu.columbia.cs.ref.model.constraint.relationship.impl   
edu.columbia.cs.ref.model.core.structure.impl   
 

Uses of Relationship in edu.columbia.cs.api
 

Classes in edu.columbia.cs.api with type parameters of type Relationship
 class PatternBasedRelationshipExtractor<T extends Relationship,D extends Document>
          Implementation of the relationship extractor that uses patterns to extract information from a document
 

Methods in edu.columbia.cs.api that return types with arguments of type Relationship
 java.util.List<Relationship> PatternBasedRelationshipExtractor.extractTuples(D d)
          Implementation of the extract Tuples method that uses all the patterns available to extract tuples from the input document
 java.util.List<Relationship> RelationshipExtractor.extractTuples(D d)
          Given an input document d this method is responsible for extracting all the relationships between entities of the document
 java.util.List<Relationship> ClassifierBasedRelationshipExtractor.extractTuples(Document d)
          Implementation of the extract Tuples method that uses the classifier to extract tuples from the input document
 java.util.List<Relationship> OpenIEUnsupervisedRelationshipExtractor.extractTuples(Document doc)
          Implementation of the extractTuples method.
 

Uses of Relationship in edu.columbia.cs.cg.pattern.prdualrank
 

Classes in edu.columbia.cs.cg.pattern.prdualrank with type parameters of type Relationship
 class ExtractionPattern<T extends Relationship,D extends TokenizedDocument>
          The Class ExtractionPattern represents a pattern that can be used for Relationship Extraction.
 

Methods in edu.columbia.cs.cg.pattern.prdualrank that return types with arguments of type Relationship
 java.util.List<Relationship> ExtractionPattern.findMatch(TokenizedDocument d)
           
 

Uses of Relationship in edu.columbia.cs.cg.prdualrank
 

Constructor parameters in edu.columbia.cs.cg.prdualrank with type arguments of type Relationship
PRDualRank(PatternExtractor<Document> spe, PatternExtractor<Relationship> epe, SearchEngine se, QueryGenerator<java.lang.String> qg, int k_seed, int minsupport, int k_nolabel, RankFunction<Pattern<Document,TokenizedDocument>> searchpatternRankFunction, RankFunction<Pattern<Relationship,TokenizedDocument>> extractpatternRankFunction, RankFunction<Relationship> tupleRankFunction, Tokenizer tokenizer, RelationshipType rType, TokenBasedAnalyzer myAnalyzer, QueryGenerator<org.apache.lucene.search.Query> forIndexQueryGenerator, QuestCalculator<Document,TokenizedDocument> searchPatternQuestCalculator, QuestCalculator<Relationship,TokenizedDocument> extractionPatternQuestCalculator)
          Instantiates a new pR dual rank.
PRDualRank(PatternExtractor<Document> spe, PatternExtractor<Relationship> epe, SearchEngine se, QueryGenerator<java.lang.String> qg, int k_seed, int minsupport, int k_nolabel, RankFunction<Pattern<Document,TokenizedDocument>> searchpatternRankFunction, RankFunction<Pattern<Relationship,TokenizedDocument>> extractpatternRankFunction, RankFunction<Relationship> tupleRankFunction, Tokenizer tokenizer, RelationshipType rType, TokenBasedAnalyzer myAnalyzer, QueryGenerator<org.apache.lucene.search.Query> forIndexQueryGenerator, QuestCalculator<Document,TokenizedDocument> searchPatternQuestCalculator, QuestCalculator<Relationship,TokenizedDocument> extractionPatternQuestCalculator)
          Instantiates a new pR dual rank.
PRDualRank(PatternExtractor<Document> spe, PatternExtractor<Relationship> epe, SearchEngine se, QueryGenerator<java.lang.String> qg, int k_seed, int minsupport, int k_nolabel, RankFunction<Pattern<Document,TokenizedDocument>> searchpatternRankFunction, RankFunction<Pattern<Relationship,TokenizedDocument>> extractpatternRankFunction, RankFunction<Relationship> tupleRankFunction, Tokenizer tokenizer, RelationshipType rType, TokenBasedAnalyzer myAnalyzer, QueryGenerator<org.apache.lucene.search.Query> forIndexQueryGenerator, QuestCalculator<Document,TokenizedDocument> searchPatternQuestCalculator, QuestCalculator<Relationship,TokenizedDocument> extractionPatternQuestCalculator)
          Instantiates a new pR dual rank.
PRDualRank(PatternExtractor<Document> spe, PatternExtractor<Relationship> epe, SearchEngine se, QueryGenerator<java.lang.String> qg, int k_seed, int minsupport, int k_nolabel, RankFunction<Pattern<Document,TokenizedDocument>> searchpatternRankFunction, RankFunction<Pattern<Relationship,TokenizedDocument>> extractpatternRankFunction, RankFunction<Relationship> tupleRankFunction, Tokenizer tokenizer, RelationshipType rType, TokenBasedAnalyzer myAnalyzer, QueryGenerator<org.apache.lucene.search.Query> forIndexQueryGenerator, QuestCalculator<Document,TokenizedDocument> searchPatternQuestCalculator, QuestCalculator<Relationship,TokenizedDocument> extractionPatternQuestCalculator)
          Instantiates a new pR dual rank.
 

Uses of Relationship in edu.columbia.cs.cg.prdualrank.graph
 

Methods in edu.columbia.cs.cg.prdualrank.graph that return types with arguments of type Relationship
 java.util.Set<Relationship> PRDualRankGraph.getMatchingTuples(Pattern<T,D> pattern)
          Gets the matching tuples given a pattern
 java.util.Set<Relationship> PRDualRankGraph.getTuples()
          Gets the tuples from the graph.
 

Methods in edu.columbia.cs.cg.prdualrank.graph with parameters of type Relationship
 void PRDualRankGraph.addContext(Pattern<T,D> pattern, Relationship tuple, int frequency)
          Adds a new connection between a pattern and a tuple.
 int PRDualRankGraph.getFrequency(Relationship tuple)
          Gets the total frequency of a tuple.
 int PRDualRankGraph.getMatchingFrequency(Pattern<T,D> pattern, Relationship tuple)
          Gets the matching frequency between a pattern and a tuple.
 int PRDualRankGraph.getMatchingFrequency(Relationship tuple, Pattern<T,D> pattern)
          Gets the matching frequency between a tuple and a pattern.
 java.util.Set<Pattern<T,D>> PRDualRankGraph.getMatchingPatterns(Relationship tuple)
          Gets the matching patterns of a given tuple.
 

Uses of Relationship in edu.columbia.cs.cg.prdualrank.graph.generator
 

Classes in edu.columbia.cs.cg.prdualrank.graph.generator with type parameters of type Relationship
 class ExtractionGraphGenerator<T extends Relationship,D extends TokenizedDocument>
          This class is used for our implementation of: "Searching Patterns for Relation Extraction over the Web: Rediscovering the Pattern-Relation Duality" .
 

Method parameters in edu.columbia.cs.cg.prdualrank.graph.generator with type arguments of type Relationship
 PRDualRankGraph<T,D> GraphGenerator.generateGraph(java.util.Set<Relationship> topTuples, java.util.Set<Pattern<T,D>> patterns, java.util.Set<D> documents)
          Generates the graph given the top tuples and the patterns that match them.
 

Uses of Relationship in edu.columbia.cs.cg.prdualrank.inference
 

Methods in edu.columbia.cs.cg.prdualrank.inference that return types with arguments of type Relationship
 java.util.SortedSet<Relationship> InferencePRDualRank.getRankedTuples()
          Gets the ranked tuples.
 

Method parameters in edu.columbia.cs.cg.prdualrank.inference with type arguments of type Relationship
 void InferencePRDualRank.rank(PRDualRankGraph<T,D> gs, RankFunction<Pattern<T,D>> patternRankFunction, RankFunction<Relationship> tupleRankFunction, QuestCalculator<T,D> questCalculator)
          Ranks the patterns and tuples in the graph based on the specified ranking function, using the passed questCalculator.
 

Uses of Relationship in edu.columbia.cs.cg.prdualrank.inference.quest
 

Methods in edu.columbia.cs.cg.prdualrank.inference.quest that return types with arguments of type Relationship
 java.util.Map<Relationship,java.lang.Double> QuestCalculator.getTuplePrecisionMap()
          Gets the Tuple-Precision map (containing the calculated precisions by QuestP).
 java.util.Map<Relationship,java.lang.Double> QuestCalculator.getTupleRecallMap()
          Gets the Tuple-Recall map (containing the calculated recalls by QuestR).
 

Method parameters in edu.columbia.cs.cg.prdualrank.inference.quest with type arguments of type Relationship
 void QuestCalculator.setSeeds(java.util.Set<Relationship> seeds)
          Sets the initial seeds.
 

Uses of Relationship in edu.columbia.cs.cg.prdualrank.inference.quest.impl
 

Methods in edu.columbia.cs.cg.prdualrank.inference.quest.impl that return types with arguments of type Relationship
 java.util.Map<Relationship,java.lang.Double> MatricesBasedQuestCalculator.getTuplePrecisionMap()
           
 java.util.Map<Relationship,java.lang.Double> MapBasedQuestCalculator.getTuplePrecisionMap()
           
 java.util.Map<Relationship,java.lang.Double> MatricesBasedQuestCalculator.getTupleRecallMap()
           
 java.util.Map<Relationship,java.lang.Double> MapBasedQuestCalculator.getTupleRecallMap()
           
 

Method parameters in edu.columbia.cs.cg.prdualrank.inference.quest.impl with type arguments of type Relationship
 void MatricesBasedQuestCalculator.setSeeds(java.util.Set<Relationship> seeds)
           
 void MapBasedQuestCalculator.setSeeds(java.util.Set<Relationship> seeds)
           
 

Uses of Relationship in edu.columbia.cs.cg.prdualrank.model
 

Constructor parameters in edu.columbia.cs.cg.prdualrank.model with type arguments of type Relationship
PRDualRankModel(java.util.SortedSet<Pattern<S,D>> searchPatterns, java.util.SortedSet<Pattern<E,D>> extractionPatterns, java.util.SortedSet<Relationship> searchTuples, java.util.SortedSet<Relationship> extractionTuples)
          Instantiates a new pR dual rank model.
PRDualRankModel(java.util.SortedSet<Pattern<S,D>> searchPatterns, java.util.SortedSet<Pattern<E,D>> extractionPatterns, java.util.SortedSet<Relationship> searchTuples, java.util.SortedSet<Relationship> extractionTuples)
          Instantiates a new pR dual rank model.
 

Uses of Relationship in edu.columbia.cs.cg.prdualrank.pattern.extractor
 

Methods in edu.columbia.cs.cg.prdualrank.pattern.extractor with parameters of type Relationship
 java.util.Map<Pattern<Document,TokenizedDocument>,java.lang.Integer> SearchPatternExtractor.extractPatterns(TokenizedDocument document, Relationship relationship, java.util.List<Relationship> matchingRelationships)
           
 java.util.Map<Pattern<T,TokenizedDocument>,java.lang.Integer> PatternExtractor.extractPatterns(TokenizedDocument document, Relationship relationship, java.util.List<Relationship> matchingRelationships)
          Extract specific patterns from the document in the parameter list for the specified relationship and other matching relationships in the same document.
 

Method parameters in edu.columbia.cs.cg.prdualrank.pattern.extractor with type arguments of type Relationship
 java.util.Map<Pattern<Document,TokenizedDocument>,java.lang.Integer> SearchPatternExtractor.extractPatterns(TokenizedDocument document, Relationship relationship, java.util.List<Relationship> matchingRelationships)
           
 java.util.Map<Pattern<T,TokenizedDocument>,java.lang.Integer> PatternExtractor.extractPatterns(TokenizedDocument document, Relationship relationship, java.util.List<Relationship> matchingRelationships)
          Extract specific patterns from the document in the parameter list for the specified relationship and other matching relationships in the same document.
 

Uses of Relationship in edu.columbia.cs.cg.prdualrank.pattern.extractor.impl
 

Classes in edu.columbia.cs.cg.prdualrank.pattern.extractor.impl with type parameters of type Relationship
 class ExtractionPatternExtractor<T extends Relationship>
          This class is used for our implementation of: "Searching Patterns for Relation Extraction over the Web: Rediscovering the Pattern-Relation Duality" .
 

Methods in edu.columbia.cs.cg.prdualrank.pattern.extractor.impl that return types with arguments of type Relationship
 java.util.Map<Pattern<Relationship,TokenizedDocument>,java.lang.Integer> ExtractionPatternExtractor.extractPatterns(TokenizedDocument document, Relationship relationship, java.util.List<Relationship> matchingRelationships)
           
 

Methods in edu.columbia.cs.cg.prdualrank.pattern.extractor.impl with parameters of type Relationship
 java.util.Map<Pattern<Relationship,TokenizedDocument>,java.lang.Integer> ExtractionPatternExtractor.extractPatterns(TokenizedDocument document, Relationship relationship, java.util.List<Relationship> matchingRelationships)
           
 

Method parameters in edu.columbia.cs.cg.prdualrank.pattern.extractor.impl with type arguments of type Relationship
 java.util.Map<Pattern<Relationship,TokenizedDocument>,java.lang.Integer> ExtractionPatternExtractor.extractPatterns(TokenizedDocument document, Relationship relationship, java.util.List<Relationship> matchingRelationships)
           
 

Uses of Relationship in edu.columbia.cs.cg.prdualrank.pattern.extractor.resource
 

Methods in edu.columbia.cs.cg.prdualrank.pattern.extractor.resource that return types with arguments of type Relationship
 java.util.List<Pattern<Relationship,TokenizedDocument>> AttributeContext.generateExtractionPatterns(int size)
          Generate extraction patterns based on the context of all the attributes.
 

Uses of Relationship in edu.columbia.cs.cg.prdualrank.searchengine.querygenerator
 

Methods in edu.columbia.cs.cg.prdualrank.searchengine.querygenerator with parameters of type Relationship
abstract  Q QueryGenerator.generateQuery(Relationship relationship)
          Generate query based on a relationship (tuple)
 

Uses of Relationship in edu.columbia.cs.cg.prdualrank.searchengine.querygenerator.impl
 

Methods in edu.columbia.cs.cg.prdualrank.searchengine.querygenerator.impl with parameters of type Relationship
 org.apache.lucene.search.Query LuceneQueryGenerator.generateQuery(Relationship relationship)
           
 java.lang.String ConcatQueryGenerator.generateQuery(Relationship relationship)
           
 

Uses of Relationship in edu.columbia.cs.ref.model
 

Methods in edu.columbia.cs.ref.model that return Relationship
 Relationship CandidateSentence.getRelationship(RelationshipType t)
          Given a relationship type, it returns the relationship between the entities of the candidate sentence
 Relationship Document.getRelationship(java.lang.String id)
          Obtains the relationship annotation with a given id
 

Methods in edu.columbia.cs.ref.model that return types with arguments of type Relationship
 java.util.Collection<Relationship> Document.getRelationships()
          Obtains the annotations of relationships present in the document
 

Methods in edu.columbia.cs.ref.model with parameters of type Relationship
 void CandidateSentence.addRelationship(Relationship rel)
          This method allows for the annotation of a candidate sentence.
 void Document.addRelationship(Relationship relationship)
          Adds a new annotation of a relationship present in the document
 

Uses of Relationship in edu.columbia.cs.ref.model.constraint.relationship
 

Methods in edu.columbia.cs.ref.model.constraint.relationship with parameters of type Relationship
 boolean RelationshipConstraint.checkConstraint(Relationship rel)
          Checks if the relationship constraint is fulfilled on the input relationship.
 

Uses of Relationship in edu.columbia.cs.ref.model.constraint.relationship.impl
 

Methods in edu.columbia.cs.ref.model.constraint.relationship.impl with parameters of type Relationship
 boolean AndRelationshipConstraint.checkConstraint(Relationship rel)
           
 boolean DummyRelationshipConstraint.checkConstraint(Relationship rel)
           
 boolean EntitiesOrderNotRelevantConstraint.checkConstraint(Relationship rel)
           
 boolean DistanceBetweenEntitiesConstraint.checkConstraint(Relationship rel)
           
 boolean OrRelationshipConstraint.checkConstraint(Relationship rel)
           
 boolean WordDistanceBetweenEntities.checkConstraint(Relationship rel)
           
 

Uses of Relationship in edu.columbia.cs.ref.model.core.structure.impl
 

Methods in edu.columbia.cs.ref.model.core.structure.impl that return Relationship
 Relationship RelationOperableStructure.getRelation()
           
 

Constructors in edu.columbia.cs.ref.model.core.structure.impl with parameters of type Relationship
RelationOperableStructure(Relationship relation)