Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a docstring #26

Merged
merged 4 commits into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
coverage:
status:
project:
default:
threshold: 0.5%
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
version:
- '1.3'
- '1.6'
- '1' # automatically expands to the latest stable 1.x release of Julia.
os:
- ubuntu-latest
Expand All @@ -44,6 +44,7 @@ jobs:
env:
JULIA_NUM_THREADS: 2
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
- uses: codecov/codecov-action@v3
with:
file: lcov.info
files: lcov.info

2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ MLJModelInterface = "1.4"
ScientificTypes = "2.2.2, 3"
ScientificTypesBase = "2.2.0, 3"
TextAnalysis = "0.7.3"
julia = "1.3"
julia = "1.6"

[extras]
MLJBase = "a7f614a8-145f-11e9-1d2a-a57a1082229d"
Expand Down
2 changes: 1 addition & 1 deletion src/bm25_transformer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ The transformer converts a collection of documents, tokenized or pre-parsed as b
words/ngrams, to a matrix of [Okapi BM25 document-word
statistics](https://en.wikipedia.org/wiki/Okapi_BM25). The BM25 scoring function uses both
term frequency (TF) and inverse document frequency (IDF, defined below), as in
[`TfidfTransformer`](ref), but additionally adjusts for the probability that a user will
[`TfidfTransformer`](@ref), but additionally adjusts for the probability that a user will
consider a search result relevant based, on the terms in the search query and those in
each document.

Expand Down
Loading