You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,19 +89,19 @@ BM25Transformer(
89
89
```
90
90
Please see [http://ethen8181.github.io/machine-learning/search/bm25_intro.html](http://ethen8181.github.io/machine-learning/search/bm25_intro.html) for more details about how these parameters affect the matrix that is generated.
91
91
92
-
## Bag-of-Words Transformer
92
+
## Count Transformer
93
93
The `MLJText` package also offers a way to represent documents using the simpler bag-of-words representation. This returns a document-term matrix (as you would get in `TextAnalysis`) that consists of the count for every word in the corpus for each document in the corpus.
94
94
95
95
### Usage
96
96
```julia
97
97
using MLJ, MLJText, TextAnalysis
98
98
99
99
docs = ["Hi my name is Sam.", "How are you today?"]
0 commit comments