ArthaLabs commited on
Commit
d3af4de
·
verified ·
1 Parent(s): cbe5930

Upload src/splitter.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. src/splitter.py +3 -3
src/splitter.py CHANGED
@@ -6,9 +6,9 @@ Detects and splits Sanskrit compound words at their boundaries.
6
  from typing import List, Tuple, Optional
7
  from dataclasses import dataclass
8
 
9
- # Import analyzer for Kosha access
10
- from .analyzer import VidyutAnalyzer, MorphParse
11
- from .sandhi_engine import SandhiEngine
12
 
13
 
14
  @dataclass
 
6
  from typing import List, Tuple, Optional
7
  from dataclasses import dataclass
8
 
9
+ # Import analyzer for Kosha access (absolute imports for HF compatibility)
10
+ from analyzer import VidyutAnalyzer, MorphParse
11
+ from sandhi_engine import SandhiEngine
12
 
13
 
14
  @dataclass