<s> import pprint <EOL> import re <EOL> from mw . api import Session <EOL> from mw . lib import persistence <EOL> session = Session ( "<STR_LIT>" ) <EOL> rev , tokens_added , future_revs = persistence . api . score ( session , <NUM_LIT> , <EOL> properties = { '<STR_LIT:user>' } ) <EOL> words_re = re . compile ( "<STR_LIT>" , re . UNICODE ) <EOL> print ( "<STR_LIT>" ) <EOL> for token in tokens_added : <EOL> if words_re . search ( token . text ) : <EOL> print ( "<STR_LIT>" . format ( token . text ) ) <EOL> for frev in token . revisions : <EOL> print ( "<STR_LIT>" . format ( ** frev ) ) </s>
