Skip to content

Commit

Permalink
fix javadoc syntax (Java 8 is more strict)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnaber committed Dec 29, 2015
1 parent f4b974c commit 427337c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Expand Up @@ -45,14 +45,14 @@ public Probability(double prob, float coverage) {
}

/**
* A probability-like value, but can be filled with any float >= 0.
* A probability-like value, but can be filled with any float >= 0.
*/
public double getProb() {
return prob;
}

/**
* The fraction of lookups that had occurrence counts > 0. This
* The fraction of lookups that had occurrence counts > 0. This
* might be used to ignore the whole probability for low coverage items.
*/
public float getCoverage() {
Expand Down
Expand Up @@ -33,7 +33,7 @@
* One-time script: find missing "-es" forms in the German tagger dictionary,
* e.g. Morphy knows "Antrag" and "Antrags", but not "Antrages".
* Uses Google n-gram data as a filter, but may nonetheless create
* forms that aren't common anymore (e.g. Verb -> Verbes).
* forms that aren't common anymore (e.g. Verb -> Verbes).
*
* @author Daniel Naber
*/
Expand Down
Expand Up @@ -34,8 +34,8 @@
/**
* Access to a simple error corpus with this format:
* <pre>
* 1. This is _a_ error. => an
* 2. Here _come_ another example. => comes
* 1. This is _a_ error. =&gt; an
* 2. Here _come_ another example. =&gt; comes
* </pre>
* @since 3.2
*/
Expand Down
Expand Up @@ -37,7 +37,7 @@

/**
* Create a Morfologik binary dictionary from plain text data.
* @deprecated Please use {@link org.languagetool.tools.DictionaryBuilder}
* @deprecated Please use {@code org.languagetool.tools.DictionaryBuilder}
*/
@Deprecated
class DictionaryBuilder {
Expand Down
Expand Up @@ -25,7 +25,7 @@
/**
* Create a Morfologik binary dictionary from plain text data.
* @since public since 2.8
* @deprecated Please use {@link org.languagetool.tools.POSDictionaryBuilder}
* @deprecated Please use {@code org.languagetool.tools.POSDictionaryBuilder}
*/
@Deprecated
public final class POSDictionaryBuilder extends DictionaryBuilder {
Expand Down

0 comments on commit 427337c

Please sign in to comment.