Skip to content

Commit

Permalink
It's done
Browse files Browse the repository at this point in the history
  • Loading branch information
TomLisankie committed Mar 5, 2017
1 parent a464725 commit 7622fa3
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 611 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified src/.DS_Store
Binary file not shown.
Binary file modified src/com/.DS_Store
Binary file not shown.
23 changes: 0 additions & 23 deletions src/com/shakenearth/rhyme_essentials/CartesianProduct.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ public CartesianProduct(Word word1, Word word2){ //builds a new Cartesian produc
Word shorterWord = null;
Word longerWord = null;

System.out.println("Cartesian Product of Newest Method: \n");

//these conditionals find which word is longer and which is shorter
if(word1.getListOfPhonemes().size() < word2.getListOfPhonemes().size()){

Expand All @@ -36,33 +34,12 @@ public CartesianProduct(Word word1, Word word2){ //builds a new Cartesian produc
OrderedPair newOrderedPair = new OrderedPair(shorterWord.getListOfPhonemes().get(s), longerWord.getListOfPhonemes().get(l), l);
currentRow.add(newOrderedPair);

//print the Ordered Pairs and make it look pretty

if(newOrderedPair.getShorterWordPhoneme().length() == 2 && newOrderedPair.getLongerWordPhoneme().length() == 2){

System.out.print(newOrderedPair + " ");

}else if(newOrderedPair.getShorterWordPhoneme().length() != newOrderedPair.getLongerWordPhoneme().length()){

System.out.print(newOrderedPair + " ");

}else if(newOrderedPair.getShorterWordPhoneme().length() == 1 && newOrderedPair.getLongerWordPhoneme().length() == 1){

System.out.print(newOrderedPair + " ");

}

//End print of ordered pairs

}

System.out.println();
cartesianProductMatrix.add(currentRow);

}

System.out.println();

}

public void resetOrderedPairRVs(){
Expand Down
37 changes: 0 additions & 37 deletions src/com/shakenearth/rhyme_essentials/Layer.java

This file was deleted.

104 changes: 0 additions & 104 deletions src/com/shakenearth/rhyme_essentials/Node.java

This file was deleted.

4 changes: 0 additions & 4 deletions src/com/shakenearth/rhyme_essentials/OrderedPair.java
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ public void setIndexes(ArrayList<Integer> indexes) {
public void calculateGapPenalty(int lSize) {

double deduction = 0.0;
System.out.println("INDEXES: " + getIndexes());

for(int i = 0; i < getIndexes().size() - 1; i++){

Expand Down Expand Up @@ -186,9 +185,6 @@ public void calculateGapPenalty(int lSize) {

}

System.out.println("NEW DEDUCTION: " + deduction);
System.out.println("RV BEFORE DEDUCTION: " + getRhymeValue());

setRhymeValue(getRhymeValue() - deduction);

}
Expand Down
28 changes: 0 additions & 28 deletions src/com/shakenearth/rhyme_essentials/PhonemeSequence.java

This file was deleted.

25 changes: 0 additions & 25 deletions src/com/shakenearth/rhyme_essentials/Point2DCompare.java

This file was deleted.

Loading

0 comments on commit 7622fa3

Please sign in to comment.