def write_lexicon_file(self, file_name, lexicon):
        _logger.info("Saving model lexicon to '%s'..." % file_name)
        with self._open_text_file_write(file_name) as file_obj:
            for construction, count in lexicon:
                file_obj.write("%d %s\n" % (count, construction))
        _logger.info("Done.")
Test the initialization of the MultiDimensionalTimeSeries.
dataset/ETHPy150Open aalto-speech/morfessor/morfessor/io.py/MorfessorIO.write_lexicon_file--crossover with--dataset/ETHPy150Open T-002/pycast/pycast/tests/timeseriesdatabasetest.py/DatabaseConnectorTest.multidimensionaltimeseries_test