Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
Update copmarison test.
Browse files Browse the repository at this point in the history
  • Loading branch information
finnbear committed Feb 18, 2021
1 parent 2cfce05 commit 2c7d733
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ $ go run hello_world.go
Accuracy was evaluated based on a [dataset of moderated comments](https://raw.githubusercontent.com/vzhou842/profanity-check/master/profanity_check/data/clean_data.csv).
**Package**|**Accuracy**|**Comment**
:-----:|:-----:|:-----:
https://github.com/finnbear/moderation|90.49%|Current version is not stable
https://github.com/TwinProduction/go-away|74.83%|Many false positives from combined words like "push it"
https://github.com/finnbear/moderation|90.44%|Current version is not stable
https://github.com/TwinProduction/go-away|82.06%|Many false positives from combined words like "push it"


## Acknowledgements
Expand Down
3 changes: 2 additions & 1 deletion comparison/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ go 1.15
replace github.com/finnbear/moderation => ../

require (
github.com/TwinProduction/go-away v1.0.1
github.com/TwinProduction/go-away v1.1.0
github.com/finnbear/moderation v0.5.0
golang.org/x/text v0.3.5 // indirect
)
4 changes: 4 additions & 0 deletions comparison/go.sum
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
github.com/TwinProduction/go-away v1.0.1 h1:LDe6jPktucIz/dftNGL5x2LYRB6VXjVUtRsrlVHo+Ag=
github.com/TwinProduction/go-away v1.0.1/go.mod h1:VB/lNzhkzh7Xw2QgU+tYBjMheldukJaIJzVaIx2rh30=
github.com/TwinProduction/go-away v1.1.0 h1:AhkmMxDIxI4Dr0/Hki/qtFfLh/02MOtmDEqLuyA55lU=
github.com/TwinProduction/go-away v1.1.0/go.mod h1:VB/lNzhkzh7Xw2QgU+tYBjMheldukJaIJzVaIx2rh30=
github.com/finnbear/moderation v0.5.0 h1:k00252U3XaworO6EN/VRf1hasn0pcANWe7tNjEoyzsc=
github.com/finnbear/moderation v0.5.0/go.mod h1:zoexQHUm4TZCb9x/Re0TqV8SgvnDPZjMRdSMAjEqmgE=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.4 h1:0YWbFKbhXG/wIiuHDSKpS0Iy7FSA+u45VtBMfQcFTTc=
golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.5 h1:i6eZZ+zk0SOf0xgBpEpPD18qWcJda6q1sxt3S0kzyUQ=
golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=

0 comments on commit 2c7d733

Please sign in to comment.