
INDIR="/home/tiger/xgiga_dumpEmb_proj/embedding"
output="proj_ln.out"
rm $output
# for k in 3 5 300 500
for k in 800 1024
do
    for split in dev
    do
        name="proj_ln_${k}_$split"
        echo $name >> $output

        slg=en
        tlg=fr
        echo "python3 ../visualizeEmb.py -m visualizeDocEmbPair --system-files /home/tiger/xgiga_dumpEmb_proj/embedding/proj_ln_${k}_${split}_${slg}/document_embedding.jsonl /home/tiger/xgiga_dumpEmb_proj/embedding/proj_ln_${k}_${split}_${tlg}/document_embedding.jsonl -o /opt/tiger/sumtest/clg_graphs/${slg}_${tlg} -n $name"
        python3 ../visualizeEmb.py -m visualizeDocEmbPair --system-files /home/tiger/xgiga_dumpEmb_proj/embedding/proj_ln_${k}_${split}_${slg}/document_embedding.jsonl /home/tiger/xgiga_dumpEmb_proj/embedding/proj_ln_${k}_${split}_${tlg}/document_embedding.jsonl -o /opt/tiger/sumtest/clg_graphs/${slg}_${tlg} -n $name
    
        slg=en
        tlg=zh
        echo "python3 ../visualizeEmb.py -m visualizeDocEmbPair --system-files /home/tiger/xgiga_dumpEmb_proj/embedding/proj_ln_${k}_${split}_${slg}/document_embedding.jsonl /home/tiger/xgiga_dumpEmb_proj/embedding/proj_ln_${k}_${split}_${tlg}/document_embedding.jsonl -o /opt/tiger/sumtest/clg_graphs/${slg}_${tlg} -n $name"
        python3 ../visualizeEmb.py -m visualizeDocEmbPair --system-files /home/tiger/xgiga_dumpEmb_proj/embedding/proj_ln_${k}_${split}_${slg}/document_embedding.jsonl /home/tiger/xgiga_dumpEmb_proj/embedding/proj_ln_${k}_${split}_${tlg}/document_embedding.jsonl -o /opt/tiger/sumtest/clg_graphs/${slg}_${tlg} -n $name

        slg=fr
        tlg=zh
        echo "python3 ../visualizeEmb.py -m visualizeDocEmbPair --system-files /home/tiger/xgiga_dumpEmb_proj/embedding/proj_ln_${k}_${split}_${slg}/document_embedding.jsonl /home/tiger/xgiga_dumpEmb_proj/embedding/proj_ln_${k}_${split}_${tlg}/document_embedding.jsonl -o /opt/tiger/sumtest/clg_graphs/${slg}_${tlg} -n $name"
        python3 ../visualizeEmb.py -m visualizeDocEmbPair --system-files /home/tiger/xgiga_dumpEmb_proj/embedding/proj_ln_${k}_${split}_${slg}/document_embedding.jsonl /home/tiger/xgiga_dumpEmb_proj/embedding/proj_ln_${k}_${split}_${tlg}/document_embedding.jsonl -o /opt/tiger/sumtest/clg_graphs/${slg}_${tlg} -n $name
    done
done