You've already forked HeurAMS-legacy
实现 Recognition 部件
This commit is contained in:
@@ -23,7 +23,7 @@ class ClozePuzzle(BasePuzzleWidget):
|
||||
self._work()
|
||||
|
||||
def _work(self):
|
||||
self.puzzle = pz.ClozePuzzle(text=self.atom.register["nucleon"]["content"], min_denominator=2)
|
||||
self.puzzle = pz.ClozePuzzle(text=self.atom.registry["nucleon"]["content"], min_denominator=2)
|
||||
self.puzzle.refresh()
|
||||
self.ans = copy.copy(self.puzzle.answer)
|
||||
random.shuffle(self.ans)
|
||||
|
||||
Reference in New Issue
Block a user