@classmethod
    def load(cls, filename):
        words = []
        with open(filename, 'rb') as f:
            for word in f:
                word = unicode(word, 'utf-8').strip()
                if word:
                    words.append(word)
        
        return cls.init_from_wordlist(words)
Possible actions from a state.
dataset/ETHPy150Open erickrf/nlpnet/nlpnet/word_dictionary.py/WordDictionary.load--crossover with--dataset/ETHPy150Open simpleai-team/simpleai/samples/search/missioners.py/MissionersProblem.actions