Skip to content

Commit

Permalink
Merge pull request #82 from davissorenson/fix-generator-init
Browse files Browse the repository at this point in the history
Python API: Fix loading HFST file for Generator in Omorfi class
  • Loading branch information
flammie authored Apr 22, 2024
2 parents 71fe9c7 + 19cd2bc commit 1173b58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/omorfi/omorfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def load_generator(self, f):
Args:
f: containing single hfst automaton binary.
"""
self.generator = Generator(f)
self.generator.load_generator(f)
self.can_generate = True

def load_acceptor(self, f):
Expand Down

0 comments on commit 1173b58

Please sign in to comment.