Skip to content

Commit

Permalink
Version 1
Browse files Browse the repository at this point in the history
  • Loading branch information
bean5 committed Jun 29, 2015
0 parents commit 980ab58
Show file tree
Hide file tree
Showing 11 changed files with 998 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry excluding="alliterationGUI/ActionListenerImpl.java" kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="output" path="bin"/>
</classpath>
17 changes: 17 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>AlliterationLocator</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
12 changes: 12 additions & 0 deletions .settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#Wed Feb 29 10:08:43 MST 2012
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
35 changes: 35 additions & 0 deletions src/NGramSet/Alliteration.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
package NGramSet;

import java.util.HashMap;
import java.util.List;

public interface Alliteration {
public static boolean STRICT = false;

String processWord(String word);

void popFirstWord();

int consume(HashMap<String, List<Alliteration>> map);

void setDocument(List<String> words);

int getCountOfWord(String key);
// public List<String> getWordList();
public List<String> getModifiedWordList();

public int getMinSize();
public int getMaxSize();

int size();

String toString();

boolean hasMatches();
boolean isStopWord(String word);

List<String> getDocument();

int getPosition();
// int hashCode();
}
Loading

0 comments on commit 980ab58

Please sign in to comment.