Updated the matchSentences to work correctly
This commit is contained in:
@@ -606,7 +606,7 @@ def gen_paragraph_match_exercise(text: str, quantity: int, start_id):
|
|||||||
for i, paragraph in enumerate(paragraphs, start=start_id):
|
for i, paragraph in enumerate(paragraphs, start=start_id):
|
||||||
sentences.append({
|
sentences.append({
|
||||||
"id": i,
|
"id": i,
|
||||||
"sentence": paragraph["heading"],
|
"sentence": paragraph["heading"]["heading"],
|
||||||
"solution": paragraph["letter"]
|
"solution": paragraph["letter"]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user