Initial langage detection #16

Merged
buckbanzai merged 2 commits from detect-post-language into main 2024-02-11 13:58:46 -08:00
Owner

Closes #7

Detects using the Lingua library, falls back to setting the post language to English if none could be detected. In the future, this should likely be set to None and log if it can't match, but waiting to see how often that happens with this running for a while first

Closes #7 Detects using the Lingua library, falls back to setting the post language to English if none could be detected. In the future, this should likely be set to None and log if it can't match, but waiting to see how often that happens with this running for a while first
buckbanzai added 1 commit 2024-02-11 13:48:04 -08:00
Initial langage detection
Some checks failed
ci/woodpecker/pr/lint Pipeline failed
d4eb54740f
buckbanzai added 1 commit 2024-02-11 13:56:51 -08:00
Change lint Docker image to one which Lingua is available for
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pull_request_closed/lint Pipeline was successful
9891b8af87
buckbanzai merged commit 7061e433fd into main 2024-02-11 13:58:46 -08:00
buckbanzai deleted branch detect-post-language 2024-02-11 13:58:46 -08:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: buckbanzai/kuow-mastodon-bot#16
No description provided.