Skip to content

Commit

Permalink
Adds attribute declarations for CompactTransducer
Browse files Browse the repository at this point in the history
  • Loading branch information
gremid committed Oct 18, 2024
1 parent 6304290 commit e9b2e6b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sfst_transduce/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ class Transducer:
pass

class CompactTransducer:
both_layers: bool
simplest_only: bool

def __init__(self, filename: str):
pass
def analyse(self, s: str) -> List[str]:
Expand Down

0 comments on commit e9b2e6b

Please sign in to comment.