Handbook
Glossary
skip-vowels ( i str -- i str )
Vocabulary
porter-stemmer
Inputs
i
an
object
str
an
object
Outputs
i
an
object
str
an
object
Definition
USING:
kernel
math
sequences
;
IN:
porter-stemmer
:
skip-vowels
( i str -- i str )
2dup
bounds-check?
[
2dup
consonant?
[
[
1
+
]
dip
skip-vowels
]
unless
]
when
;