kylebgorman / pynini

Read-only mirror of Pynini
http://pynini.opengrm.org
Apache License 2.0
118 stars 27 forks source link

Numerical arc labels in Jupyter notebook #36

Closed alumae closed 3 years ago

alumae commented 3 years ago

I managed to install Pynini 2.1.3 on Google Colab. However, the arc labels in the displayed graphs are now all numerical (see attachment)

Ekraanipilt 2021-02-08 14-09-14

Expected: arcs with labels "a", "a".

kylebgorman commented 3 years ago

Attach a symbol table to the FST using ‘set_input_symbols’ or ‘set_output_symbols’.

The reason we don’t do this automatically is that symbol tables have no computational role to play at all: they’re purely for human display.

On Mon, Feb 8, 2021 at 7:13 AM Tanel Alumäe notifications@github.com wrote:

I managed to install Pynini 2.1.3 on Google Colab. However, the arc labels in the displayed graphs are now all numerical (see attachment)

[image: Ekraanipilt 2021-02-08 14-09-14] https://user-images.githubusercontent.com/487640/107217936-99ad5e00-6a17-11eb-8809-2416e1fed2c2.png

Expected: arc with a label "aa".

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kylebgorman/pynini/issues/36, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABG4OP4ZAVARLZVTDPA55DS57IOZANCNFSM4XI4G66Q .