Skip to content

Commit

Permalink
small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnaber committed Apr 15, 2015
1 parent f6a66b7 commit 7ef6575
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
@@ -1,5 +1,5 @@
Copyright 2004-2007 Sven Abels, University of Oldenburg, abels@wi-ol.de
Copyright 2007-2012 Daniel Naber, http://www.danielnaber.de
Copyright 2007-2015 Daniel Naber, http://www.danielnaber.de

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Expand Up @@ -58,7 +58,6 @@ public abstract class AbstractWordSplitter {
*
* @param hideInterfixCharacters whether the word parts returned by {@link #splitWord(String)} still contain
* the connecting character (a.k.a. interfix)
* @throws IOException
*/
public AbstractWordSplitter(boolean hideInterfixCharacters) throws IOException {
this.hideInterfixCharacters = hideInterfixCharacters;
Expand All @@ -70,7 +69,6 @@ public AbstractWordSplitter(boolean hideInterfixCharacters) throws IOException {
* the connecting character (a.k.a. interfix)
* @param plainTextDict a stream of a text file with one word per line, to be used instead of the embedded dictionary,
* must be in UTF-8 format
* @throws IOException
*/
public AbstractWordSplitter(boolean hideInterfixCharacters, InputStream plainTextDict) throws IOException {
this.hideInterfixCharacters = hideInterfixCharacters;
Expand All @@ -82,7 +80,6 @@ public AbstractWordSplitter(boolean hideInterfixCharacters, InputStream plainTex
* the connecting character (a.k.a. interfix)
* @param plainTextDict a stream of a text file with one word per line, to be used instead of the embedded dictionary,
* must be in UTF-8 format
* @throws IOException
*/
public AbstractWordSplitter(boolean hideInterfixCharacters, File plainTextDict) throws IOException {
this.hideInterfixCharacters = hideInterfixCharacters;
Expand All @@ -102,7 +99,6 @@ public void setMinimumWordLength(int minimumWordLength) {
/**
* @param filename UTF-8 encoded file with exceptions in the classpath, one exception per line, using pipe as delimiter.
* Example: <tt>Pilot|sendung</tt>
* @throws IOException
*/
public void setExceptionFile(String filename) throws IOException {
exceptionSplits = new ExceptionSplits(filename);
Expand Down
Expand Up @@ -32,7 +32,6 @@ private FastObjectSaver() {
/**
* Stores serializable objects. IMPORTANT: THOSE OBJECTS SHOULD HAVE A serialVersionUID!
* private static final long serialVersionUID = 1L;
* @throws IOException
*/
public static void saveToFile(File file, Serializable serializableObject) throws IOException {
final FileOutputStream fos = new FileOutputStream(file);
Expand All @@ -44,7 +43,6 @@ public static void saveToFile(File file, Serializable serializableObject) throws
/**
* Load a serialized dictionary.
* @param filenameInClassPath a plain text dictionary file in the classpath
* @throws IOException
*/
public static Object load(String filenameInClassPath) throws IOException {
final InputStream is = FastObjectSaver.class.getResourceAsStream(filenameInClassPath);
Expand Down
Expand Up @@ -9,11 +9,11 @@ Flasche
Flaschen
Störung
Verhalten
Verhaltens
Kotflügel
Kot
Flügel
Ei
Verhalten
Haus
Krawehl
Pusselsumm

0 comments on commit 7ef6575

Please sign in to comment.