Skip to content

Commit 4461897

Browse files
committed
Update README.md
1 parent ccabb5e commit 4461897

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,15 @@ with an explicit ngram lookup.
129129
$ ffp-bucket-to-explicit -f finalfusion embeddings.fifu explicit.fifu
130130
~~~
131131

132+
Finally, the package comes with `ffp-similar` and `ffp-analogy` to do
133+
analogy and similarity queries.
134+
~~~shell
135+
# get the 5 nearest neighbours of "Tübingen"
136+
$ echo Tübingen | ffp-similar embeddings.fifu
137+
# get the 5 top answers for "Tübingen" is to "Stuttgart" like "Heidelberg" to...
138+
$ echo Tübingen Stuttgart Heidelberg | ffp-analogy embeddings.fifu
139+
~~~
140+
132141
## Where to go from here
133142

134143
* [finalfrontier](https://finalfusion.github.io/finalfrontier)

0 commit comments

Comments
 (0)