To use vectors in an iOS application, we must export them in a binary format:
In [47]: model.wv.save_word2vec_format(fname='MarkTwain.bin', binary=True)
This binary contains words and their embedding vectors, all of the same length. The original implementation of Word2Vec was written in C, so I took it and adapted the code for our purpose—to parse the binary file and find closest words to the one that we specify.