From a9952af465e6c1aafd94f12557d9a02256dc4f5e 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]: