f=open('/home/xbwang/newtextsimilarity/data/glove/glove.840B.300d.txt','r')
count = 0
print ' '.join(['0.0'] * 100)
for line in f:
    count += 1
    frags = line.strip().split(' ')[1:]
    print count, len(frags)
    assert len(frags) == 100
    for i in frags:
        try:
            float(i)
        except Exception:
            print count, i
05-11 15:34