Skip to content

Commit

Permalink
Support NTextCat and comparison in accuracy_report.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
russcam committed May 22, 2024
1 parent 2581492 commit cb1045b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/accuracy_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,15 @@ on:
language_detection:
type: boolean
default: true
description: "include LanguageDetection library?"
description: "include LanguageDetection library?"
ntextcat:
type: boolean
default: true
description: "include NTextCat library?"
compare:
type: boolean
default: false
description: "Allow fair comparison across detectors by using same subset of supported languages?"

jobs:
report:
Expand All @@ -24,7 +32,7 @@ jobs:
with:
dotnet-version: 8.0.x
- name: Build Accuracy Report
run: ./build.sh report ${{ inputs.lingua && '--implementation Lingua' || '' }} ${{ inputs.language_detection && '--implementation LanguageDetection' || '' }}
run: ./build.sh report ${{ inputs.lingua && '--implementation Lingua' || '' }} ${{ inputs.language_detection && '--implementation LanguageDetection' || '' }} ${{ inputs.ntextcat && '--implementation NTextCat' || '' }} ${{ inputs.compare && '--compare' || '' }}
- name: Write Summary
run: |
cat accuracy-reports/report.md >> $GITHUB_STEP_SUMMARY
Expand Down

0 comments on commit cb1045b

Please sign in to comment.