telugu-language-tools 5.1.0__py3-none-any.whl → 5.5.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of telugu-language-tools might be problematic. Click here for more details.

telugu_engine/__init__.py CHANGED
@@ -5,7 +5,6 @@ Telugu Library v5.0 - Modern Telugu Engine
5
5
  Complete v3.0 compliant Telugu processing library with full v3.0 support:
6
6
  - transliterator: Modern transliteration (no archaic letters)
7
7
  - grammar: Modern grammar (verbs, cases, SOV)
8
- - tense_engine: Integrated tense processing
9
8
  - enhanced_tense: v5.0 enhanced tense (present continuous, all tenses)
10
9
  - v3_validator: v3.0 compliance validation
11
10
  - phonetic_matrix: Phonetic normalization
@@ -55,16 +54,7 @@ from .grammar import (
55
54
  apply_vowel_harmony
56
55
  )
57
56
 
58
- # Tense engine
59
- from .tense_engine import (
60
- detect_tense,
61
- detect_person,
62
- conjugate_english_verb,
63
- process_simple_sentence,
64
- process_complex_sentence,
65
- apply_formality,
66
- validate_tense_conjugation
67
- )
57
+
68
58
 
69
59
  # v3.0 validator
70
60
  from .v3_validator import (
@@ -94,7 +84,7 @@ from .enhanced_tense import (
94
84
  from .phonetic_matrix import map_sound
95
85
 
96
86
  # Public API
97
- __version__ = "5.1.0"
87
+ __version__ = "5.5.0"
98
88
  __author__ = "Telugu Library v3.0"
99
89
  __email__ = "support@telugulibrary.org"
100
90
 
@@ -113,14 +103,7 @@ __all__ = [
113
103
  "check_vowel_harmony",
114
104
  "apply_vowel_harmony",
115
105
 
116
- # Tense
117
- "detect_tense",
118
- "detect_person",
119
- "conjugate_english_verb",
120
- "process_simple_sentence",
121
- "process_complex_sentence",
122
- "apply_formality",
123
- "validate_tense_conjugation",
106
+
124
107
 
125
108
  # Enhanced Tense (v5.0 - Full v3.0 Support)
126
109
  "translate_sentence",
@@ -158,8 +141,9 @@ def translate(text: str, include_grammar: bool = False) -> str:
158
141
  Telugu text
159
142
  """
160
143
  if include_grammar:
161
- # Apply full grammar processing
162
- return process_simple_sentence(text)
144
+ # Apply full grammar processing using enhanced tense engine
145
+ from .enhanced_tense import translate_sentence
146
+ return translate_sentence(text)
163
147
  else:
164
148
  # Just transliterate
165
149
  return eng_to_telugu(text)