Skip to content

Commit 043a08c

Browse files
Merge pull request #377 from code-kern-ai/sentence-complexity-grouping
Changed grouping of chunked sentence complexity
2 parents 7c68228 + aa79ef7 commit 043a08c

File tree

6 files changed

+11
-9
lines changed

6 files changed

+11
-9
lines changed

classifiers/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99

1010
from .lookup_lists import lookup_list
1111

12+
from .reference_complexity import (
13+
chunked_sentence_complexity,
14+
1215
from .question_type import (
1316
question_type_classifier
1417
)
@@ -20,7 +23,6 @@
2023
from .reference_quality import (
2124
word_count_classifier,
2225
special_character_classifier,
23-
chunked_sentence_complexity,
2426
)
2527

2628
from .dates_and_times import (

classifiers/reference_quality/chunked_sentence_complexity/config.py renamed to classifiers/reference_complexity/chunked_sentence_complexity/config.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ def get_config():
1414
type="python_function",
1515
available_for=["refinery", "common"],
1616
part_of_group=[
17-
"reference_quality",
17+
"reference_complexity",
1818
"text_analysis"
1919
], # first entry should be parent directory
2020
# bricks integrator information
2121
cognition_init_mapping={
22-
"very easy": "null",
23-
"easy": "null",
24-
"fairly easy": "null",
25-
"standard": "null",
26-
"fairly difficult": "Needs fix",
27-
"difficult": "Needs fix",
28-
"very difficult": "Needs fix",
22+
"very easy": "Low",
23+
"easy": "Low",
24+
"fairly easy": "Low",
25+
"standard": "Medium",
26+
"fairly difficult": "Medium",
27+
"difficult": "High",
28+
"very difficult": "High",
2929
},
3030
integrator_inputs={
3131
"name": "chunked_sentence_complexity",

0 commit comments

Comments
 (0)