Skip to content

Commit

Permalink
rename parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnaber committed Feb 2, 2015
1 parent 1627e9d commit bce25fa
Showing 1 changed file with 6 additions and 6 deletions.
Expand Up @@ -39,18 +39,18 @@ public class MorfologikSpeller {


/** /**
* Creates a speller with the given maximum edit distance. * Creates a speller with the given maximum edit distance.
* @param filename path in classpath to morfologik dictionary * @param fileInClassPath path in classpath to morfologik dictionary
*/ */
public MorfologikSpeller(String filename, int maxEditDistance) throws IOException { public MorfologikSpeller(String fileInClassPath, int maxEditDistance) throws IOException {
this(Dictionary.read(JLanguageTool.getDataBroker().getFromResourceDirAsUrl(filename)), maxEditDistance); this(Dictionary.read(JLanguageTool.getDataBroker().getFromResourceDirAsUrl(fileInClassPath)), maxEditDistance);
} }


/** /**
* Creates a speller with a maximum edit distance of one. * Creates a speller with a maximum edit distance of one.
* @param filename path in classpath to morfologik dictionary * @param fileInClassPath path in classpath to morfologik dictionary
*/ */
public MorfologikSpeller(String filename) throws IOException { public MorfologikSpeller(String fileInClassPath) throws IOException {
this(filename, 1); this(fileInClassPath, 1);
} }


/** @since 2.9 */ /** @since 2.9 */
Expand Down

0 comments on commit bce25fa

Please sign in to comment.