X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=problem.py;h=0795de193dff1afd7ddb44910cb34f1e184b62db;hb=5eca344648e789099dbad211f41ca690d50e7475;hp=25ffc494b9c9fe6e97cfe824a0e224a0af9abcce;hpb=e2c3b8046c3fddef8aacb74cf5f848d42044897e;p=culture.git diff --git a/problem.py b/problem.py index 25ffc49..0795de1 100755 --- a/problem.py +++ b/problem.py @@ -7,11 +7,15 @@ class Problem: - def generate_seq(self, nb): + # returns a nb x (L+1+L) long tensor where L is the length of one + # of the two states of a quizz + def generate_token_sequences(self, nb): pass - def save_quizzes(self, input, result_dir, filename_prefix, logger): + # save a file to vizualize quizzes, you can save a txt or png file + def save_quizzes(self, input, result_dir, filename_prefix): pass + # returns a pair (forward_tokens, backward_token) def direction_tokens(self): pass