Skip to content
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

391 compare student speech to slides text #400

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix imports
arhihihipov committed Mar 14, 2024
commit a7f96f9d56f3757d9c330e2de9bbc0097ee7ffd7
6 changes: 3 additions & 3 deletions app/criteria/comparison_speech_slides/criterion.py
Original file line number Diff line number Diff line change
@@ -8,12 +8,12 @@
from app.localisation import *
from ..criterion_base import BaseCriterion
from ..criterion_result import CriterionResult
from ...audio import Audio
from ...presentation import Presentation
from app.audio import Audio
from app.presentation import Presentation


# Функция нормализации текста
def normalize_text(text: list[str]) -> list[str]:
def normalize_text(text: list) -> list:
# Получение списка стоп-слов на русском языке
nltk.download('stopwords')
russian_stop_words = stopwords.words('russian')