Add note about irregular nouns not being implemented
This commit is contained in:
parent
94a46a7072
commit
59343064c6
|
@ -1,6 +1,7 @@
|
||||||
package models
|
package models
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -19,6 +20,11 @@ type Noun struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Noun) Plural() string {
|
func (n Noun) Plural() string {
|
||||||
|
if !n.Regular {
|
||||||
|
fmt.Println("[noun] Irregular nouns not implemented")
|
||||||
|
return n.Word
|
||||||
|
}
|
||||||
|
|
||||||
suffixes := []string{
|
suffixes := []string{
|
||||||
"s",
|
"s",
|
||||||
"x",
|
"x",
|
||||||
|
|
Loading…
Reference in New Issue