TermCoOccurrenceGraph class abstract
A RAKE co-occurrence graph for evaluating the score of keywords extracted from text.
- Implementers
Constructors
-
TermCoOccurrenceGraph(Iterable<
List< keywords)String> > -
Unnamed factory constructor hydrates a TermCoOccurrenceGraph from the
keywords
.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
keywords
→ Iterable<
List< String> > -
The collection of keywords, each as a list of terms.
no setter
-
keywordScores
→ Map<
String, double> -
Returns a mapping of the keywords to their RAKE scores.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
uniqueTerms
→ Set<
String> -
The set of unique terms in the co-occurrence graph.
no setter
Methods
-
keyWordScore(
List< String> keyWord) → double -
The RAKE keyword score for the
keyWord
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
termDegree(
String term) → int - The word degree of the term
-
termFrequency(
String term) → int - The word frequency for the term.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited