Skip to content

lookup_optimize() should not remove the weights #2

@koskenni

Description

@koskenni

lookup_optimize (self) documentation says: "Optimize the transducer for lookup. This effectively converts the transducer into HFST_OL_TYPE."

It would be very convenient if the conversion of weighted FSTs into the OLW type could be done inside Python, e.g. if lookup_optimize would simply convert weighted FSTs into OLW and unweighted into OL type.

According to the present documentation, one has to produced OLWs by command line tools outside the Python HFST framework.

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