modularized the language model construction method for the sokoban experiment