Skip to content

Commit

Permalink
Merge pull request #26 from JuliaAI/docstring-fix
Browse files Browse the repository at this point in the history
Fix a docstring
  • Loading branch information
ablaom authored Sep 27, 2023
2 parents fa15988 + b8589be commit 5ab8f37
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
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

0 comments on commit 5ab8f37

Please sign in to comment.