This commit is contained in:
Astatin3
2024-03-26 14:07:09 -06:00
parent f8d9da826c
commit f8d5729e52
24 changed files with 4318 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
// Object structure for correlation between two words
public class corrolation {
public int correlativeOccurrences = 0;
public word startWord;
public word endWord;
public double getCorrelation() {
return (double)(correlativeOccurrences) / (double)(startWord.count);
}
}