You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does graphical display of an HfstTransducer in a jupyter notebook work somehow in the current version of hfst? It does work as follows with hfst_dev and Python 3.7.
import hfst_dev as hfst
import graphviz
hfst.version
'3.15.0.10'
from platform import python_version
python_version()
'3.7.16'
r1 = hfst.regex('a:b')
type(r1)
libhfst_dev.HfstTransducer
r1.view()
A transducer is displayed graphically inline in the notebook with graphviz.
In a current hfst HfstTransducer.view method seems not to be defined, and I did not find an alternative.
The text was updated successfully, but these errors were encountered:
Does graphical display of an HfstTransducer in a jupyter notebook work somehow in the current version of hfst? It does work as follows with hfst_dev and Python 3.7.
import hfst_dev as hfst
import graphviz
hfst.version
'3.15.0.10'
from platform import python_version
python_version()
'3.7.16'
r1 = hfst.regex('a:b')
type(r1)
libhfst_dev.HfstTransducer
r1.view()
A transducer is displayed graphically inline in the notebook with graphviz.
In a current hfst HfstTransducer.view method seems not to be defined, and I did not find an alternative.
The text was updated successfully, but these errors were encountered: