uk.ac.gla.dcs.renaissance.interference
Class Cooccurrences.Statistics
java.lang.Object
uk.ac.gla.dcs.renaissance.interference.Cooccurrences.Statistics
- All Implemented Interfaces:
- bpiwowar.utils.iterators.Updatable<Cooccurrences.Statistics>
- Enclosing class:
- Cooccurrences
public static final class Cooccurrences.Statistics
- extends Object
- implements bpiwowar.utils.iterators.Updatable<Cooccurrences.Statistics>
Field Summary |
int[] |
otherOccurences
Number of times the other word occurs within a window centred around
the word |
int[] |
wordOccurences
Number of times the word occurs in a document where the other terms
also occurs |
wordOccurences
public int[] wordOccurences
- Number of times the word occurs in a document where the other terms
also occurs
otherOccurences
public int[] otherOccurences
- Number of times the other word occurs within a window centred around
the word
Cooccurrences.Statistics
public Cooccurrences.Statistics(String string)
Cooccurrences.Statistics
public Cooccurrences.Statistics()
Cooccurrences.Statistics
public Cooccurrences.Statistics(int oo1,
int wo1,
int oo2,
int wo2)
toString
public String toString()
- Overrides:
toString
in class Object
add
public void add(Cooccurrences.Statistics other)
- Specified by:
add
in interface bpiwowar.utils.iterators.Updatable<Cooccurrences.Statistics>
Copyright © 2011. All Rights Reserved.