Adds multiprocessing to the fuzzy matching for a speedup

This commit is contained in:
Trenton H
2023-09-11 08:48:30 -07:00
parent 060966aa22
commit e82aaa7d85
3 changed files with 83 additions and 34 deletions

View File

@@ -586,6 +586,7 @@ those which look close according to a given ratio.
document_fuzzy_match [--ratio]
```
Optional arguments:
--ratio - a number between 0 and 100, setting how similar a document must be for it to be reported.
Higher numbers mean more similarity.
| Option | Required | Default | Description |
| ----------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------ |
| --ratio | No | 85.0 | a number between 0 and 100, setting how similar a document must be for it to be reported. Higher numbers mean more similarity. |
| --processes | No | 4 | Number of processes to use for matching. Setting 1 disables multiple processes |