Handbook
Glossary
singular? ( word -- ? )
English natural language transformations
Prev:
count-of-things ( count word -- str )
Next:
singularize ( word -- singular )
Vocabulary
english
Inputs
word
a
string
Outputs
?
a
boolean
Word description
Attempt to determine whether the word is in singular form.
Examples
USING: english prettyprint ; "octopi" plural? .
t
See also
pluralize
,
?pluralize
,
plural?
,
count-of-things
,
singularize
Definition
USING:
kernel
;
IN:
english
:
singular?
( word -- ? )
[
singularize
]
[
=
]
bi
;