Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Graphical display of HfstTransducer in current version of hfst? #10

Open
@MatsRooth

Description

@MatsRooth

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp