-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
類似度計算リファクタリング #60
類似度計算リファクタリング #60
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LLGGTTMM
User description
概要
{"similarity":1.0,"highscoreWord":"bananas"}
例
bananas
→banana
denied
→deny
みたいな感じにできる
リファクタリングでは、全ての組み合わせで類似度出して、最も高いものを最高類似度として出してます
{"similarity":1.0,"highscoreWord":"bananas"}
動作確認
※本番動作確認済

PR Type
enhancement, tests
Description
calcuSimilarity
とcalculate
関数を追加しました。Changes walkthrough 📝
main.py
類似度計算のリファクタリングと例外処理の追加
simirality/main.py
calcuSimilarity
関数を新たに作成し、類似度計算のロジックを整理。calculate
関数を追加し、個別の単語の類似度計算を行う。ai-review.yml
GitHub Actionsワークフローの追加と設定
.github/workflows/ai-review.yml