Finalfusion in Python¶
ffp
is a Python package to interface with finalfusion
embeddings. ffp
supports all common embedding formats, including finalfusion,
fastText, word2vec binary, text and textdims.
ffp
integrates nicely with numpy
since its ffp.storage.Storage
types can be
treated as ndarrays.
The finalfusion
format revolves around ffp.io.Chunk
s, these are specified in the
finalfusion spec. Each component class in ffp
implements the ffp.io.Chunk
interface which specifies serialization and deserialization.
Any unique combination of chunks can make up ffp.Embeddings
.