"""Generate a set of aligned vocabularies for each model.

Trying with acl mincount-30 instead of acl mincount-3.
"""

import common as com_xp

if __name__ == '__main__':
    SVD_DIRPATH = '/home/kabbach/entropix/models/frontiers/svd/'
    OUTPUT_DIRPATH = '/home/kabbach/entropix/models/frontiers/aligned-acl-30/'
    START = 0
    END = 10000
    print('Aligning vocabularies across all models with acl-mincount-30')
    MODEL_NAMES = ['enwiki07', 'oanc', 'enwiki2', 'acl-30', 'enwiki4', 'bnc']
    MODELS = com_xp.load_models(MODEL_NAMES, SVD_DIRPATH, START, END)
    com_xp.dump_aligned_models(MODELS, OUTPUT_DIRPATH)

"""Generate a set of aligned vocabularies for each model.

Trying with acl mincount-30 instead of acl mincount-3.
"""

import common as com_xp

if __name__ == '__main__':
    SVD_DIRPATH = '/home/kabbach/entropix/models/frontiers/svd/'
    OUTPUT_DIRPATH = '/home/kabbach/entropix/models/frontiers/aligned-acl-30/'
    START = 0
    END = 10000
    print('Aligning vocabularies across all models with acl-mincount-30')
    MODEL_NAMES = ['enwiki07', 'oanc', 'enwiki2', 'acl-30', 'enwiki4', 'bnc']
    MODELS = com_xp.load_models(MODEL_NAMES, SVD_DIRPATH, START, END)
    com_xp.dump_aligned_models(MODELS, OUTPUT_DIRPATH)

Generate a set of aligned vocabularies for each model.  Trying with acl mincount-30 instead of acl mincount-3.