Repository: iai-group/DialogueKit (language: python)

Issue:
Move cosine intent classifier under a models/ subfolder



Discussion / hints:

Fix patch:
diff --git a/dialoguekit/nlu/intent_classifier_cosine.py b/dialoguekit/nlu/models/intent_classifier_cosine.py
similarity index 100%
rename from dialoguekit/nlu/intent_classifier_cosine.py
rename to dialoguekit/nlu/models/intent_classifier_cosine.py


Test patch:
diff --git a/tests/nlu/test_intent_classifier_cosine.py b/tests/nlu/test_intent_classifier_cosine.py
index ee0d9009..be25cd3d 100644
--- a/tests/nlu/test_intent_classifier_cosine.py
+++ b/tests/nlu/test_intent_classifier_cosine.py
@@ -3,7 +3,9 @@
 import pytest
 from dialoguekit.core.utterance import Utterance
 from dialoguekit.core.intent import Intent
-from dialoguekit.nlu.intent_classifier_cosine import IntentClassifierCosine
+from dialoguekit.nlu.models.intent_classifier_cosine import (
+    IntentClassifierCosine,
+)
 
 PLACEHOLDER = "(.*)"