From e9b2e6b65d3a7624eb00c0c9dfa5d20c09694963 Mon Sep 17 00:00:00 2001 From: Gregor Middell Date: Fri, 18 Oct 2024 16:16:39 +0200 Subject: [PATCH] Adds attribute declarations for CompactTransducer --- sfst_transduce/__init__.pyi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sfst_transduce/__init__.pyi b/sfst_transduce/__init__.pyi index 824c47e..e33e8e1 100644 --- a/sfst_transduce/__init__.pyi +++ b/sfst_transduce/__init__.pyi @@ -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]: