-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #632 from PrimozGodec/scorer-widget
[ENH] Score documents widget
- Loading branch information
Showing
7 changed files
with
990 additions
and
12 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Score Documents | ||
=============== | ||
|
||
Scores documents based on word appearance. | ||
|
||
**Inputs** | ||
|
||
- Corpus: A collection of documents | ||
- Words: A table with at least one column with words | ||
|
||
**Outputs** | ||
|
||
- Corpus: A collection of documents with scores | ||
|
||
**Score Document** assigns scores to each document based on words at the input. The score with the selected scoring method is calculated for each word and aggregated together with the selected aggregation function on the document level. | ||
|
||
![](images/Score-Documents.png) | ||
|
||
1. Select one or more scoring methods for words: | ||
- **Word frequency**: The count of the frequency of a word in the text. | ||
- **Word ratio**: Indicate the appearance of the word in the document. | ||
- **Similarity**: The cosine similarity between document embedding and word embedding. | ||
2. Select aggregation function to aggregate word scores in document scores. | ||
3. Filter documents based on the document title in the first column | ||
4. The table with the document titles in the first column and scores for in other columns. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.