toggle menu
smile-kotlin
3.1.0
jvm
switch theme
search in API
smile-kotlin
/
smile.nlp
/
bag2
bag2
fun
String
.
bag2
(
filter
:
String
=
"default"
,
stemmer
:
Stemmer
?
=
porter
)
:
Set
<
String
>
Returns the binary bag of words. Presence/absence is used instead of frequencies.