Skip to content

Commit

Permalink
dkpro#66 Add inflection group to word form
Browse files Browse the repository at this point in the history
  - Fixed JavaDocs
  • Loading branch information
highsource committed Dec 19, 2018
1 parent 744c7f7 commit 523dca4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public interface IWiktionaryWordForm {
* Semantics of this property may differ from language to language.
* Roughly speaking, inflection group corresponds to the column in
* the inflection table.
* @return Index of the inflection group, <code>-1<code> if there this word form
* @return Index of the inflection group, <code>-1</code> if there this word form
* does not belong to an inflection group.
*/
int getInflectionGroup();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ public void setGender(final GrammaticalGender grammaticalGender) {
this.grammaticalGender = grammaticalGender;
}

@Override
public int getInflectionGroup() {
return this.inflectionGroup;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ public interface IWiktionaryWordFormTemplateParameterHandler {
* word form.
* @param context
* parsing context.
* @return <code>true<code> if this handler can handle the given parameter,
* <code>false<code> otherwise.
* @return <code>true</code> if this handler can handle the given parameter,
* <code>false</code> otherwise.
*/
public boolean canHandle(String label, String value, WiktionaryWordForm wordForm, ParsingContext context);

/**
* Handles the given parameter. This should only be called if
* {@see #canHandle(String, String, WiktionaryWordForm, ParsingContext)}
* returned true.
* @see #canHandle(String, String, WiktionaryWordForm, ParsingContext)
* returned <code>true</code>.
*
* @param label
* parameter label.
Expand Down

0 comments on commit 523dca4

Please sign in to comment.