TuanMinhajSeedin commited on
Commit
e109f37
·
verified ·
1 Parent(s): 416bbd5

Upload 2 files

Browse files
Files changed (2) hide show
  1. logs/app.log +547 -0
  2. logs/translation_test_results.json +107 -0
logs/app.log ADDED
@@ -0,0 +1,547 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 2025-08-20 19:26:35 INFO [TranslationService] Pattern-based Sinhala fare parse: 'කොළඹ සිට පානදුර දක්වා සහ කොළඹ සිට ගාල්ල දක්වා ගාස්තු සසඳා බලන්න.' -> 'What is the fare from Colombo to Panadura?'
2
+ 2025-08-20 19:26:35 INFO [FlaskApp] Translation: si->en method=pattern original='කොළඹ සිට පානදුර දක්වා සහ කොළඹ සිට ගාල්ල දක්වා ගාස්තු සසඳා බලන්න.' translated='What is the fare from Colombo to Panadura?'
3
+ 2025-08-20 19:26:35 INFO [EnhancedNLPProcessor] Processing query: original='What is the fare from Colombo to Panadura?', preprocessed='what is the fare from colombo to panadura?'
4
+ 2025-08-20 19:26:39 INFO [EnhancedNLPProcessor] Query results count: 1
5
+ 2025-08-20 19:26:43 INFO [TranslationService] Translation successful using LLM
6
+ 2025-08-20 19:26:43 INFO [FlaskApp] Response success=True type=fare_inquiry message='කොළඹෙහි පානදුරට ගාස් 225.0 වේගවත්ව ඇත.'
7
+ 2025-08-20 19:28:18 INFO [TranslationService] Pattern-based Sinhala fare parse: 'කොළඹ සිට පානදුර දක්වා සහ කොළඹ සිට ගාල්ල දක්වා ගාස්තු සසඳා බලන්න.' -> 'What is the fare from Colombo to Panadura?'
8
+ 2025-08-20 19:28:18 INFO [FlaskApp] Translation: si->en method=pattern original='කොළඹ සිට පානදුර දක්වා සහ කොළඹ සිට ගාල්ල දක්වා ගාස්තු සසඳා බලන්න.' translated='What is the fare from Colombo to Panadura?'
9
+ 2025-08-20 19:28:18 INFO [EnhancedNLPProcessor] Processing query: original='What is the fare from Colombo to Panadura?', preprocessed='what is the fare from colombo to panadura?'
10
+ 2025-08-20 19:28:22 INFO [EnhancedNLPProcessor] Query results count: 1
11
+ 2025-08-20 19:28:25 INFO [TranslationService] Translation successful using LLM
12
+ 2025-08-20 19:28:25 INFO [FlaskApp] Response success=True type=fare_inquiry message='කොළඹෙහි පානදුරට ගාස් 225.0 වේගයේ වාසියක් වේ.'
13
+ 2025-08-20 19:32:30 INFO [TranslationService] Pattern-based Sinhala fare parse: 'කොළඹ සිට පානදුර දක්වා සහ කොළඹ සිට ගාල්ල දක්වා ගාස්තු සසඳා බලන්න.' -> 'What is the fare from Colombo to Panadura?'
14
+ 2025-08-20 19:32:30 INFO [FlaskApp] Translation: si->en method=pattern original='කොළඹ සිට පානදුර දක්වා සහ කොළඹ සිට ගාල්ල දක්වා ගාස්තු සසඳා බලන්න.' translated='What is the fare from Colombo to Panadura?'
15
+ 2025-08-20 19:32:30 INFO [EnhancedNLPProcessor] Processing query: original='What is the fare from Colombo to Panadura?', preprocessed='what is the fare from colombo to panadura?'
16
+ 2025-08-20 19:32:34 INFO [EnhancedNLPProcessor] Query results count: 1
17
+ 2025-08-20 19:32:39 INFO [TranslationService] Translation successful using LLM
18
+ 2025-08-20 19:32:39 INFO [FlaskApp] Response success=True type=fare_inquiry message='කොළඹෙහි පානදුරට ගාස් 225.0 වේලාවක් වේගයෙන් පිළිබඳව දැක්වෙයි.'
19
+ 2025-08-20 19:36:52 INFO [TranslationService] Translation successful using LLM
20
+ 2025-08-20 19:36:54 INFO [TranslationService] Translation successful using LLM
21
+ 2025-08-20 19:36:56 INFO [TranslationService] Translation successful using LLM
22
+ 2025-08-20 19:36:58 INFO [TranslationService] Translation successful using LLM
23
+ 2025-08-20 19:37:00 INFO [TranslationService] Translation successful using LLM
24
+ 2025-08-20 19:37:02 INFO [TranslationService] Translation successful using LLM
25
+ 2025-08-20 19:37:04 INFO [TranslationService] Translation successful using LLM
26
+ 2025-08-20 19:37:06 INFO [TranslationService] Translation successful using LLM
27
+ 2025-08-20 19:37:08 INFO [TranslationService] Translation successful using LLM
28
+ 2025-08-20 19:37:10 INFO [TranslationService] Translation successful using LLM
29
+ 2025-08-20 19:37:10 INFO [TranslationService] Translation test summary: {'total_tests': 10, 'exact_matches': 0, 'good_or_better': 0, 'accuracy_rate_percent': 0.0}
30
+ 2025-08-20 19:37:39 INFO [TranslationService] Translation successful using LLM
31
+ 2025-08-20 19:37:40 INFO [TranslationService] Translation successful using LLM
32
+ 2025-08-20 19:37:42 INFO [TranslationService] Translation successful using LLM
33
+ 2025-08-20 19:37:45 INFO [TranslationService] Translation successful using LLM
34
+ 2025-08-20 19:37:47 INFO [TranslationService] Translation successful using LLM
35
+ 2025-08-20 19:37:48 INFO [TranslationService] Translation successful using LLM
36
+ 2025-08-20 19:37:50 INFO [TranslationService] Translation successful using LLM
37
+ 2025-08-20 19:37:53 INFO [TranslationService] Translation successful using LLM
38
+ 2025-08-20 19:37:56 INFO [TranslationService] Translation successful using LLM
39
+ 2025-08-20 19:37:58 INFO [TranslationService] Translation successful using LLM
40
+ 2025-08-20 19:37:58 INFO [TranslationService] Translation test summary: {'total_tests': 10, 'exact_matches': 0, 'good_or_better': 0, 'accuracy_rate_percent': 0.0}
41
+ 2025-08-20 19:39:32 INFO [FlaskApp] Processing English Query: 'What is the ticket price from Colombo to Galle?'
42
+ 2025-08-20 19:39:32 INFO [EnhancedNLPProcessor] Processing query: original='What is the ticket price from Colombo to Galle?', preprocessed='what is the ticket price from colombo to galle?'
43
+ 2025-08-20 19:39:34 INFO [EnhancedNLPProcessor] Query results count: 1
44
+ 2025-08-20 19:39:34 INFO [FlaskApp] Response success=True type=fare_inquiry message='The fare from Colombo to Galle is Rs. 715.0'
45
+ 2025-08-20 19:39:45 INFO [TranslationService] Translation successful using LLM
46
+ 2025-08-20 19:39:47 INFO [TranslationService] Translation successful using LLM
47
+ 2025-08-20 19:39:50 INFO [TranslationService] Translation successful using LLM
48
+ 2025-08-20 19:39:52 INFO [TranslationService] Translation successful using LLM
49
+ 2025-08-20 19:39:54 INFO [TranslationService] Translation successful using LLM
50
+ 2025-08-20 19:39:56 INFO [TranslationService] Translation successful using LLM
51
+ 2025-08-20 19:39:58 INFO [TranslationService] Translation successful using LLM
52
+ 2025-08-20 19:40:00 INFO [TranslationService] Translation successful using LLM
53
+ 2025-08-20 19:40:02 INFO [TranslationService] Translation successful using LLM
54
+ 2025-08-20 19:40:04 INFO [TranslationService] Translation successful using LLM
55
+ 2025-08-20 19:40:04 INFO [TranslationService] Translation test summary: {'total_tests': 10, 'exact_matches': 3, 'good_or_better': 3, 'accuracy_rate_percent': 30.0}
56
+ 2025-08-20 19:40:28 INFO [TranslationService] Pattern-based Sinhala fare parse: 'කොළඹ සිට පානදුර දක්වා සහ කොළඹ සිට ගාල්ල දක්වා ගාස්තු සසඳා බලන්න.' -> 'What is the fare from Colombo to Panadura?'
57
+ 2025-08-20 19:40:28 INFO [FlaskApp] Translation: si->en method=pattern original='කොළඹ සිට පානදුර දක්වා සහ කොළඹ සිට ගාල්ල දක්වා ගාස්තු සසඳා බලන්න.' translated='What is the fare from Colombo to Panadura?'
58
+ 2025-08-20 19:40:28 INFO [EnhancedNLPProcessor] Processing query: original='What is the fare from Colombo to Panadura?', preprocessed='what is the fare from colombo to panadura?'
59
+ 2025-08-20 19:40:30 INFO [EnhancedNLPProcessor] Query results count: 1
60
+ 2025-08-20 19:40:33 INFO [TranslationService] Translation successful using LLM
61
+ 2025-08-20 19:40:33 INFO [FlaskApp] Response success=True type=fare_inquiry message='කොළඹෙහි පානදුරය වෙළඳ මුදල රු. 225.0 වේගයේ වේ.'
62
+ 2025-08-20 19:40:52 INFO [TranslationService] Translation successful using LLM
63
+ 2025-08-20 19:40:55 INFO [TranslationService] Translation successful using LLM
64
+ 2025-08-20 19:40:57 INFO [TranslationService] Translation successful using LLM
65
+ 2025-08-20 19:40:59 INFO [TranslationService] Translation successful using LLM
66
+ 2025-08-20 19:41:01 INFO [TranslationService] Translation successful using LLM
67
+ 2025-08-20 19:41:03 INFO [TranslationService] Translation successful using LLM
68
+ 2025-08-20 19:41:05 INFO [TranslationService] Translation successful using LLM
69
+ 2025-08-20 19:41:07 INFO [TranslationService] Translation successful using LLM
70
+ 2025-08-20 19:41:09 INFO [TranslationService] Translation successful using LLM
71
+ 2025-08-20 19:41:11 INFO [TranslationService] Translation successful using LLM
72
+ 2025-08-20 19:41:11 INFO [TranslationService] Translation test summary: {'total_tests': 10, 'exact_matches': 2, 'good_or_better': 2, 'accuracy_rate_percent': 20.0}
73
+ 2025-08-20 19:46:21 INFO [TranslationService] Pattern-based Sinhala fare parse: 'කොළඹ සිට පානදුර දක්වා සහ කොළඹ සිට ගාල්ල දක්වා ගාස්තු සසඳා බලන්න.' -> 'What is the fare from Colombo to Panadura?'
74
+ 2025-08-20 19:46:21 INFO [FlaskApp] Translation: si->en method=pattern original='කොළඹ සිට පානදුර දක්වා සහ කොළඹ සිට ගාල්ල දක්වා ගාස්තු සසඳා බලන්න.' translated='What is the fare from Colombo to Panadura?'
75
+ 2025-08-20 19:46:21 INFO [EnhancedNLPProcessor] Processing query: original='What is the fare from Colombo to Panadura?', preprocessed='what is the fare from colombo to panadura?'
76
+ 2025-08-20 19:46:24 INFO [EnhancedNLPProcessor] Query results count: 1
77
+ 2025-08-20 19:46:26 INFO [TranslationService] Translation successful using LLM
78
+ 2025-08-20 19:46:26 INFO [FlaskApp] Response success=True type=fare_inquiry message='කොළඹෙහි පානදුරට ගාල්ල දුරකථනය රු. 225.0 වේගයකි.'
79
+ 2025-08-20 19:51:09 INFO [TranslationService] Translation successful using LLM
80
+ 2025-08-20 19:51:09 INFO [TranslationService] Translated Sinhala query (llm): 'කොළඹ සිට පානදුර දක්වා සහ කොළඹ සිට ගාල්ල දක්වා ගාස්තු සසඳා බලන්න.' -> 'compare fares from colombo to panadura and from colombo to galle.'
81
+ 2025-08-20 19:51:09 INFO [FlaskApp] Translation: si->en method=llm original='කොළඹ සිට පානදුර දක්වා සහ කොළඹ සිට ගාල්ල දක්වා ගාස්තු සසඳා බලන්න.' translated='compare fares from colombo to panadura and from colombo to galle.'
82
+ 2025-08-20 19:51:09 INFO [EnhancedNLPProcessor] Processing query: original='compare fares from colombo to panadura and from colombo to galle.', preprocessed='compare fares from colombo to panadura and from colombo to galle.'
83
+ 2025-08-20 19:51:16 INFO [EnhancedNLPProcessor] Query results count: 1
84
+ 2025-08-20 19:51:18 INFO [TranslationService] Translation successful using LLM
85
+ 2025-08-20 19:51:18 INFO [FlaskApp] Response success=True type=comparison message='Comparison completed'
86
+ 2025-08-20 19:51:47 INFO [FlaskApp] Processing English Query: 'What is the fare from Colombo to Kandy?'
87
+ 2025-08-20 19:51:47 INFO [EnhancedNLPProcessor] Processing query: original='What is the fare from Colombo to Kandy?', preprocessed='what is the fare from colombo to kandy?'
88
+ 2025-08-20 19:51:49 INFO [FlaskApp] Processing English Query: 'Which is cheaper between Colombo to Kandy and Colombo to Anuradapura?'
89
+ 2025-08-20 19:51:49 INFO [EnhancedNLPProcessor] Processing query: original='Which is cheaper between Colombo to Kandy and Colombo to Anuradapura?', preprocessed='which is cheaper between colombo to kandy and colombo to anuradapura?'
90
+ 2025-08-20 19:51:50 INFO [EnhancedNLPProcessor] Query results count: 1
91
+ 2025-08-20 19:51:50 INFO [FlaskApp] Response success=True type=fare_inquiry message='The fare from Colombo to Kandy is Rs. 745'
92
+ 2025-08-20 19:51:59 INFO [EnhancedNLPProcessor] Query results count: 0
93
+ 2025-08-20 19:51:59 INFO [FlaskApp] Response success=False type=n/a message='No results found for your query.'
94
+ 2025-08-20 19:52:19 INFO [TranslationService] Translation successful using LLM
95
+ 2025-08-20 19:52:19 INFO [TranslationService] Translated Sinhala query (llm): 'කොළඹ සිට මහනුවර දක්වා සහ කොළඹ සිට අනුරාධපුර දක්වා ලාභදායී වන්නේ කුමක්ද?' -> 'how much is the fare from colombo to kandy and from colombo to anuradhapura respectively?'
96
+ 2025-08-20 19:52:19 INFO [FlaskApp] Translation: si->en method=llm original='කොළඹ සිට මහනුවර දක්වා සහ කොළඹ සිට අනුරාධපුර දක්වා ලාභදායී වන්නේ කුමක්ද?' translated='how much is the fare from colombo to kandy and from colombo to anuradhapura respectively?'
97
+ 2025-08-20 19:52:19 INFO [EnhancedNLPProcessor] Processing query: original='how much is the fare from colombo to kandy and from colombo to anuradhapura respectively?', preprocessed='how much is the fare from colombo to kandy and from colombo to anuradhapura respectively?'
98
+ 2025-08-20 19:52:28 INFO [EnhancedNLPProcessor] Query results count: 0
99
+ 2025-08-20 19:52:30 INFO [TranslationService] Translation successful using LLM
100
+ 2025-08-20 19:52:32 INFO [TranslationService] Translation successful using LLM
101
+ 2025-08-20 19:52:34 INFO [TranslationService] Translation successful using LLM
102
+ 2025-08-20 19:52:36 INFO [TranslationService] Translation successful using LLM
103
+ 2025-08-20 19:52:37 INFO [TranslationService] Translation successful using LLM
104
+ 2025-08-20 19:52:39 INFO [TranslationService] Translation successful using LLM
105
+ 2025-08-20 19:52:41 INFO [TranslationService] Translation successful using LLM
106
+ 2025-08-20 19:52:42 INFO [TranslationService] Translation successful using LLM
107
+ 2025-08-20 19:52:44 INFO [TranslationService] Translation successful using LLM
108
+ 2025-08-20 19:52:44 INFO [FlaskApp] Response success=False type=n/a message='No results found for your query.'
109
+ 2025-08-20 19:53:40 INFO [TranslationService] Translation successful using LLM
110
+ 2025-08-20 19:53:40 INFO [TranslationService] Translated Sinhala query (llm): 'කොළඹ සිට මහනුවර දක්වා සහ කොළඹ සිට අනුරාධපුර දක්වා ලාභදායී වන්නේ කුමක්ද?' -> 'how much is the fare from colombo to kandy and from colombo to anuradhapura respectively?'
111
+ 2025-08-20 19:53:40 INFO [FlaskApp] Translation: si->en method=llm original='කොළඹ සිට මහනුවර දක්වා සහ කොළඹ සිට අනුරාධපුර දක්වා ලාභදායී වන්නේ කුමක්ද?' translated='how much is the fare from colombo to kandy and from colombo to anuradhapura respectively?'
112
+ 2025-08-20 19:53:40 INFO [EnhancedNLPProcessor] Processing query: original='how much is the fare from colombo to kandy and from colombo to anuradhapura respectively?', preprocessed='how much is the fare from colombo to kandy and from colombo to anuradhapura respectively?'
113
+ 2025-08-20 19:53:48 INFO [EnhancedNLPProcessor] Query results count: 0
114
+ 2025-08-20 19:53:50 INFO [TranslationService] Translation successful using LLM
115
+ 2025-08-20 19:53:52 INFO [TranslationService] Translation successful using LLM
116
+ 2025-08-20 19:53:54 INFO [TranslationService] Translation successful using LLM
117
+ 2025-08-20 19:53:56 INFO [TranslationService] Translation successful using LLM
118
+ 2025-08-20 19:53:57 INFO [TranslationService] Translation successful using LLM
119
+ 2025-08-20 19:53:59 INFO [TranslationService] Translation successful using LLM
120
+ 2025-08-20 19:54:01 INFO [TranslationService] Translation successful using LLM
121
+ 2025-08-20 19:54:02 INFO [TranslationService] Translation successful using LLM
122
+ 2025-08-20 19:54:05 INFO [TranslationService] Translation successful using LLM
123
+ 2025-08-20 19:54:05 INFO [FlaskApp] Response success=False type=n/a message='No results found for your query.'
124
+ 2025-08-20 19:54:23 INFO [FlaskApp] Processing English Query: 'Which is cheaper between Colombo to Kandy and Colombo to Anuradapura?'
125
+ 2025-08-20 19:54:23 INFO [EnhancedNLPProcessor] Processing query: original='Which is cheaper between Colombo to Kandy and Colombo to Anuradapura?', preprocessed='which is cheaper between colombo to kandy and colombo to anuradapura?'
126
+ 2025-08-20 19:54:27 INFO [EnhancedNLPProcessor] Query results count: 0
127
+ 2025-08-20 19:54:27 INFO [FlaskApp] Response success=False type=n/a message='No results found for your query.'
128
+ 2025-08-20 19:54:34 INFO [FlaskApp] Processing English Query: 'Which is cheaper between Colombo to Kandy and Colombo to Anuradapura?'
129
+ 2025-08-20 19:54:34 INFO [EnhancedNLPProcessor] Processing query: original='Which is cheaper between Colombo to Kandy and Colombo to Anuradapura?', preprocessed='which is cheaper between colombo to kandy and colombo to anuradapura?'
130
+ 2025-08-20 19:54:39 INFO [EnhancedNLPProcessor] Query results count: 0
131
+ 2025-08-20 19:54:39 INFO [FlaskApp] Response success=False type=n/a message='No results found for your query.'
132
+ 2025-08-20 19:54:44 INFO [FlaskApp] Processing English Query: 'What is the difference in fare between Panadura to Galle and Panadura to Matara?'
133
+ 2025-08-20 19:54:44 INFO [EnhancedNLPProcessor] Processing query: original='What is the difference in fare between Panadura to Galle and Panadura to Matara?', preprocessed='what is the difference in fare between panadura to galle and panadura to matara?'
134
+ 2025-08-20 19:55:05 INFO [EnhancedNLPProcessor] Query results count: 1
135
+ 2025-08-20 19:55:05 INFO [FlaskApp] Response success=True type=comparison message='Comparison completed'
136
+ 2025-08-20 19:55:18 INFO [TranslationService] Translation successful using LLM
137
+ 2025-08-20 19:55:18 INFO [TranslationService] Translated Sinhala query (llm): 'පානදුර සිට ගාල්ල දක්වා සහ පානදුර සිට මාතර දක්වා ගාස්තුවේ වෙනස කුමක්ද?' -> 'what is the price difference in fares from panadura to galle and from panadura to matara?'
138
+ 2025-08-20 19:55:18 INFO [FlaskApp] Translation: si->en method=llm original='පානදුර සිට ගාල්ල දක්වා සහ පානදුර සිට මාතර දක්වා ගාස්තුවේ වෙනස කුමක්ද?' translated='what is the price difference in fares from panadura to galle and from panadura to matara?'
139
+ 2025-08-20 19:55:18 INFO [EnhancedNLPProcessor] Processing query: original='what is the price difference in fares from panadura to galle and from panadura to matara?', preprocessed='what is the price difference in fares from panadura to galle and from panadura to matara?'
140
+ 2025-08-20 19:55:30 INFO [EnhancedNLPProcessor] Query results count: 1
141
+ 2025-08-20 19:55:32 INFO [TranslationService] Translation successful using LLM
142
+ 2025-08-20 19:55:32 INFO [FlaskApp] Response success=True type=comparison message='Comparison completed'
143
+ 2025-08-20 19:55:55 INFO [FlaskApp] Processing English Query: 'Find routes under 500 rupees'
144
+ 2025-08-20 19:55:55 INFO [EnhancedNLPProcessor] Processing query: original='Find routes under 500 rupees', preprocessed='find routes under 500 rupees'
145
+ 2025-08-20 19:55:58 INFO [EnhancedNLPProcessor] Query results count: 1511
146
+ 2025-08-20 19:55:58 INFO [FlaskApp] Response success=True type=range_search message='Found 1511 routes in your specified range'
147
+ 2025-08-20 19:56:12 INFO [TranslationService] Translation successful using LLM
148
+ 2025-08-20 19:56:12 INFO [TranslationService] Translated Sinhala query (llm): 'රුපියල් 500ට අඩු මාර්ග සොයා ගන්න' -> 'find routes under 500 rupees.'
149
+ 2025-08-20 19:56:12 INFO [FlaskApp] Translation: si->en method=llm original='රුපියල් 500ට අඩු මාර්ග සොයා ගන්න' translated='find routes under 500 rupees.'
150
+ 2025-08-20 19:56:12 INFO [EnhancedNLPProcessor] Processing query: original='find routes under 500 rupees.', preprocessed='find routes under 500 rupees.'
151
+ 2025-08-20 19:56:14 INFO [EnhancedNLPProcessor] Query results count: 1511
152
+ 2025-08-20 19:56:16 INFO [TranslationService] Translation successful using LLM
153
+ 2025-08-20 19:56:16 INFO [FlaskApp] Response success=True type=range_search message='Found 1511 routes in your specified range.'
154
+ 2025-08-20 19:56:26 INFO [FlaskApp] Processing English Query: 'price from panadra to gale'
155
+ 2025-08-20 19:56:26 INFO [EnhancedNLPProcessor] Processing query: original='price from panadra to gale', preprocessed='price from panadra to gale'
156
+ 2025-08-20 19:56:31 INFO [EnhancedNLPProcessor] Query results count: 1
157
+ 2025-08-20 19:56:31 INFO [FlaskApp] Response success=True type=fare_inquiry message='The fare from Panadura to Galle is Rs. 570.0'
158
+ 2025-08-20 19:56:32 INFO [FlaskApp] Processing English Query: 'Routes from Colombo'
159
+ 2025-08-20 19:56:32 INFO [EnhancedNLPProcessor] Processing query: original='Routes from Colombo', preprocessed='routes from colombo'
160
+ 2025-08-20 19:56:34 INFO [EnhancedNLPProcessor] Query results count: 15
161
+ 2025-08-20 19:56:34 INFO [FlaskApp] Response success=True type=route_inquiry message='Found 15 routes'
162
+ 2025-08-20 19:56:43 INFO [TranslationService] Translation successful using LLM
163
+ 2025-08-20 19:56:43 INFO [TranslationService] Translated Sinhala query (llm): 'කොළඹ සිට මාර්ග' -> 'route from colombo.'
164
+ 2025-08-20 19:56:43 INFO [FlaskApp] Translation: si->en method=llm original='කොළඹ සිට මාර්ග' translated='route from colombo.'
165
+ 2025-08-20 19:56:43 INFO [EnhancedNLPProcessor] Processing query: original='route from colombo.', preprocessed='route from colombo.'
166
+ 2025-08-20 19:56:46 INFO [EnhancedNLPProcessor] Query results count: 15
167
+ 2025-08-20 19:56:47 INFO [TranslationService] Translation successful using LLM
168
+ 2025-08-20 19:56:47 INFO [FlaskApp] Response success=True type=route_inquiry message='Found 15 routes'
169
+ 2025-08-20 22:05:44 INFO [FlaskApp] Processing English Query: 'What is the fare from Colombo to Kandy?'
170
+ 2025-08-20 22:05:44 INFO [EnhancedNLPProcessor] Processing query: original='What is the fare from Colombo to Kandy?', preprocessed='what is the fare from colombo to kandy?'
171
+ 2025-08-20 22:05:51 INFO [EnhancedNLPProcessor] Query results count: 1
172
+ 2025-08-20 22:05:51 INFO [FlaskApp] Response success=True type=fare_inquiry message='The fare from Colombo to Kandy is Rs. 745'
173
+ 2025-08-20 22:05:54 INFO [FlaskApp] Processing English Query: 'How much does it cost from Panadura to Galle?'
174
+ 2025-08-20 22:05:54 INFO [EnhancedNLPProcessor] Processing query: original='How much does it cost from Panadura to Galle?', preprocessed='how much does it cost from panadura to galle?'
175
+ 2025-08-20 22:05:57 INFO [EnhancedNLPProcessor] Query results count: 1
176
+ 2025-08-20 22:05:57 INFO [FlaskApp] Response success=True type=fare_inquiry message='The fare from Panadura to Galle is Rs. 570.0'
177
+ 2025-08-20 22:06:08 INFO [TranslationService] Translation successful using LLM
178
+ 2025-08-20 22:06:08 INFO [TranslationService] Translated Sinhala query (llm): 'කොළඹ සිට මාර්ග' -> 'from colombo to matara'
179
+ 2025-08-20 22:06:08 INFO [FlaskApp] Translation: si->en method=llm original='කොළඹ සිට මාර්ග' translated='from colombo to matara'
180
+ 2025-08-20 22:06:08 INFO [EnhancedNLPProcessor] Processing query: original='from colombo to matara', preprocessed='from colombo to matara'
181
+ 2025-08-20 22:06:13 INFO [EnhancedNLPProcessor] Query results count: 1
182
+ 2025-08-20 22:06:16 INFO [TranslationService] Translation successful using LLM
183
+ 2025-08-20 22:06:16 INFO [FlaskApp] Response success=True type=fare_inquiry message='How much is the fare from Colombo to Matara?'
184
+ 2025-08-20 22:06:46 INFO [TranslationService] Translation successful using LLM
185
+ 2025-08-20 22:06:46 INFO [TranslationService] Translated Sinhala query (llm): 'පානදුරේ ඉඳන් ගාල්ලට කීයක් යනවද?' -> 'how much is the bus fare from panadura to galle?'
186
+ 2025-08-20 22:06:46 INFO [FlaskApp] Translation: si->en method=llm original='පානදුරේ ඉඳන් ගාල්ලට කීයක් යනවද?' translated='how much is the bus fare from panadura to galle?'
187
+ 2025-08-20 22:06:46 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from panadura to galle?', preprocessed='how much is the bus fare from panadura to galle?'
188
+ 2025-08-20 22:06:50 INFO [EnhancedNLPProcessor] Query results count: 1
189
+ 2025-08-20 22:06:53 INFO [TranslationService] Translation successful using LLM
190
+ 2025-08-20 22:06:53 INFO [FlaskApp] Response success=True type=fare_inquiry message='The fare from Panadura to Galle is Rs. 570.0'
191
+ 2025-08-20 22:06:56 INFO [FlaskApp] Processing English Query: 'Compare fares from Colombo to Kandy vs Colombo to Galle'
192
+ 2025-08-20 22:06:56 INFO [EnhancedNLPProcessor] Processing query: original='Compare fares from Colombo to Kandy vs Colombo to Galle', preprocessed='compare fares from colombo to kandy versus colombo to galle'
193
+ 2025-08-20 22:07:03 INFO [EnhancedNLPProcessor] Query results count: 1
194
+ 2025-08-20 22:07:03 INFO [FlaskApp] Response success=True type=comparison message='Comparison completed'
195
+ 2025-08-20 22:07:09 INFO [TranslationService] Translation successful using LLM
196
+ 2025-08-20 22:07:09 INFO [TranslationService] Translated Sinhala query (llm): 'කොළඹ සිට නුවර දක්වා සහ කොළඹ සිට ගාල්ල දක්වා ගාස්තු සසඳා බලන්න.' -> 'compare fares from colombo to nuwara eliya and from colombo to galle.'
197
+ 2025-08-20 22:07:09 INFO [FlaskApp] Translation: si->en method=llm original='කොළඹ සිට නුවර දක්වා සහ කොළඹ සිට ගාල්ල දක්වා ගාස්තු සසඳා බලන්න.' translated='compare fares from colombo to nuwara eliya and from colombo to galle.'
198
+ 2025-08-20 22:07:09 INFO [EnhancedNLPProcessor] Processing query: original='compare fares from colombo to nuwara eliya and from colombo to galle.', preprocessed='compare fares from colombo to nuwara eliya and from colombo to galle.'
199
+ 2025-08-20 22:07:18 INFO [EnhancedNLPProcessor] Query results count: 0
200
+ 2025-08-20 22:07:21 INFO [TranslationService] Translation successful using LLM
201
+ 2025-08-20 22:07:23 INFO [TranslationService] Translation successful using LLM
202
+ 2025-08-20 22:07:25 INFO [TranslationService] Translation successful using LLM
203
+ 2025-08-20 22:07:27 INFO [TranslationService] Translation successful using LLM
204
+ 2025-08-20 22:07:29 INFO [TranslationService] Translation successful using LLM
205
+ 2025-08-20 22:07:31 INFO [TranslationService] Translation successful using LLM
206
+ 2025-08-20 22:07:33 INFO [TranslationService] Translation successful using LLM
207
+ 2025-08-20 22:07:40 INFO [TranslationService] Translation successful using LLM
208
+ 2025-08-20 22:07:42 INFO [TranslationService] Translation successful using LLM
209
+ 2025-08-20 22:07:42 INFO [FlaskApp] Response success=False type=n/a message='No results found for your query.'
210
+ 2025-08-20 22:07:47 INFO [FlaskApp] Processing English Query: 'fare of anuradhapura to kandy'
211
+ 2025-08-20 22:07:47 INFO [EnhancedNLPProcessor] Processing query: original='fare of anuradhapura to kandy', preprocessed='fare of anuradhapura to kandy'
212
+ 2025-08-20 22:07:50 INFO [EnhancedNLPProcessor] Query results count: 2
213
+ 2025-08-20 22:07:50 INFO [FlaskApp] Response success=True type=fare_inquiry message='The fare from Anuradapura to Kandy is Rs. 855'
214
+ 2025-08-20 22:07:54 INFO [FlaskApp] Processing English Query: 'Colombo to Kandy fare'
215
+ 2025-08-20 22:07:54 INFO [EnhancedNLPProcessor] Processing query: original='Colombo to Kandy fare', preprocessed='colombo to kandy fare'
216
+ 2025-08-20 22:07:58 INFO [EnhancedNLPProcessor] Query results count: 1
217
+ 2025-08-20 22:07:58 INFO [FlaskApp] Response success=True type=fare_inquiry message='The fare from Colombo to Kandy is Rs. 745'
218
+ 2025-08-20 22:08:16 INFO [TranslationService] Translation successful using LLM
219
+ 2025-08-20 22:08:16 INFO [TranslationService] Translated Sinhala query (llm): 'කොළඹ සිට නුවර දක්වා සහ කොළඹ සිට ගාල්ල දක්වා ගාස්තු සසඳා බලන්න.' -> 'compare fares from colombo to nuwara eliya and from colombo to galle.'
220
+ 2025-08-20 22:08:16 INFO [FlaskApp] Translation: si->en method=llm original='කොළඹ සිට නුවර දක්වා සහ කොළඹ සිට ගාල්ල දක්වා ගාස්තු සසඳා බලන්න.' translated='compare fares from colombo to nuwara eliya and from colombo to galle.'
221
+ 2025-08-20 22:08:16 INFO [EnhancedNLPProcessor] Processing query: original='compare fares from colombo to nuwara eliya and from colombo to galle.', preprocessed='compare fares from colombo to nuwara eliya and from colombo to galle.'
222
+ 2025-08-20 22:08:25 INFO [EnhancedNLPProcessor] Query results count: 0
223
+ 2025-08-20 22:08:27 INFO [TranslationService] Translation successful using LLM
224
+ 2025-08-20 22:08:29 INFO [TranslationService] Translation successful using LLM
225
+ 2025-08-20 22:08:31 INFO [TranslationService] Translation successful using LLM
226
+ 2025-08-20 22:08:34 INFO [TranslationService] Translation successful using LLM
227
+ 2025-08-20 22:08:36 INFO [TranslationService] Translation successful using LLM
228
+ 2025-08-20 22:08:39 INFO [TranslationService] Translation successful using LLM
229
+ 2025-08-20 22:08:42 INFO [TranslationService] Translation successful using LLM
230
+ 2025-08-20 22:08:44 INFO [TranslationService] Translation successful using LLM
231
+ 2025-08-20 22:08:45 INFO [TranslationService] Translation successful using LLM
232
+ 2025-08-20 22:08:45 INFO [FlaskApp] Response success=False type=n/a message='No results found for your query.'
233
+ 2025-08-20 22:09:47 INFO [TranslationService] Translation successful using LLM
234
+ 2025-08-20 22:09:47 INFO [TranslationService] Translated Sinhala query (llm): 'කොළඹ සිට පානදුර දක්වා සහ කොළඹ සිට ග���ල්ල දක්වා ගාස්තු සසඳා බලන්න.' -> 'compare fares from colombo to panadura and from colombo to galle.'
235
+ 2025-08-20 22:09:47 INFO [FlaskApp] Translation: si->en method=llm original='කොළඹ සිට පානදුර දක්වා සහ කොළඹ සිට ගාල්ල දක්වා ගාස්තු සසඳා බලන්න.' translated='compare fares from colombo to panadura and from colombo to galle.'
236
+ 2025-08-20 22:09:47 INFO [EnhancedNLPProcessor] Processing query: original='compare fares from colombo to panadura and from colombo to galle.', preprocessed='compare fares from colombo to panadura and from colombo to galle.'
237
+ 2025-08-20 22:09:55 INFO [EnhancedNLPProcessor] Query results count: 1
238
+ 2025-08-20 22:09:57 INFO [TranslationService] Translation successful using LLM
239
+ 2025-08-20 22:09:57 INFO [FlaskApp] Response success=True type=comparison message='Comparison completed'
240
+ 2025-08-21 21:30:54 INFO [FlaskApp] Processing English Query: 'What is the fare from Colombo to Kandy?'
241
+ 2025-08-21 21:30:54 INFO [EnhancedNLPProcessor] Processing query: original='What is the fare from Colombo to Kandy?', preprocessed='what is the fare from colombo to kandy?'
242
+ 2025-08-21 21:30:58 INFO [FlaskApp] Processing English Query: 'What is the fare from Colombo to Kandy?'
243
+ 2025-08-21 21:30:58 INFO [EnhancedNLPProcessor] Processing query: original='What is the fare from Colombo to Kandy?', preprocessed='what is the fare from colombo to kandy?'
244
+ 2025-08-21 21:31:00 INFO [FlaskApp] Processing English Query: 'What is the fare from Colombo to Kandy?'
245
+ 2025-08-21 21:31:00 INFO [EnhancedNLPProcessor] Processing query: original='What is the fare from Colombo to Kandy?', preprocessed='what is the fare from colombo to kandy?'
246
+ 2025-08-21 21:31:02 INFO [EnhancedNLPProcessor] Query results count: 1
247
+ 2025-08-21 21:31:02 INFO [FlaskApp] Response success=True type=fare_inquiry message='The fare from Colombo to Kandy is Rs. 745'
248
+ 2025-08-21 21:31:03 INFO [EnhancedNLPProcessor] Query results count: 1
249
+ 2025-08-21 21:31:03 INFO [FlaskApp] Response success=True type=fare_inquiry message='The fare from Colombo to Kandy is Rs. 745'
250
+ 2025-08-21 21:31:03 INFO [EnhancedNLPProcessor] Query results count: 1
251
+ 2025-08-21 21:31:03 INFO [FlaskApp] Response success=True type=fare_inquiry message='The fare from Colombo to Kandy is Rs. 745'
252
+ 2025-08-21 21:33:23 INFO [FlaskApp] Processing English Query: 'What is the fare from Colombo to Kandy?'
253
+ 2025-08-21 21:33:23 INFO [EnhancedNLPProcessor] Processing query: original='What is the fare from Colombo to Kandy?', preprocessed='what is the fare from colombo to kandy?'
254
+ 2025-08-21 21:33:27 INFO [EnhancedNLPProcessor] Query results count: 1
255
+ 2025-08-21 21:33:27 INFO [FlaskApp] Response success=True type=fare_inquiry message='The fare from Colombo to Kandy is Rs. 745'
256
+ 2025-08-21 21:33:56 INFO [TranslationService] Translation successful using LLM
257
+ 2025-08-21 21:33:56 INFO [TranslationService] Translated Sinhala query (llm): 'කොළඹ සිට මහනුවරට ගාස්තුව කීයද?' -> 'how much is the bus fare from colombo to kandy?'
258
+ 2025-08-21 21:33:56 INFO [FlaskApp] Translation: si->en method=llm original='කොළඹ සිට මහනුවරට ගාස්තුව කීයද?' translated='how much is the bus fare from colombo to kandy?'
259
+ 2025-08-21 21:33:56 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from colombo to kandy?', preprocessed='how much is the bus fare from colombo to kandy?'
260
+ 2025-08-21 21:34:00 INFO [EnhancedNLPProcessor] Query results count: 1
261
+ 2025-08-21 21:34:02 INFO [TranslationService] Translation successful using LLM
262
+ 2025-08-21 21:34:02 INFO [FlaskApp] Response success=True type=fare_inquiry message='The fare from Colombo to Kandy is Rs. 745.'
263
+ 2025-08-21 22:45:09 INFO [TranslationService] Translation successful using LLM
264
+ 2025-08-21 22:45:09 INFO [TranslationService] Translated Sinhala query (llm): 'කොළඹ සිට මහනුවරට ගාස්තුව කීයද?' -> 'how much is the bus fare from colombo to kandy?'
265
+ 2025-08-21 22:45:09 INFO [FlaskApp] Translation: si->en method=llm original='කොළඹ සිට මහනුවරට ගාස්තුව කීයද?' translated='how much is the bus fare from colombo to kandy?'
266
+ 2025-08-21 22:45:09 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from colombo to kandy?', preprocessed='how much is the bus fare from colombo to kandy?'
267
+ 2025-08-21 22:45:12 INFO [EnhancedNLPProcessor] Query results count: 1
268
+ 2025-08-21 22:45:15 INFO [TranslationService] Translation successful using LLM
269
+ 2025-08-21 22:45:15 INFO [FlaskApp] Response success=True type=fare_inquiry message='The fare from Colombo to Kandy is Rs. 745.'
270
+ 2025-08-21 22:45:45 INFO [TranslationService] Translation successful using LLM
271
+ 2025-08-21 22:45:45 INFO [TranslationService] Translated Sinhala query (llm): 'කොළඹ සිට මහනුවරට ගාස්තුව කීයද?' -> 'how much is the bus fare from colombo to kandy?'
272
+ 2025-08-21 22:45:45 INFO [FlaskApp] Translation: si->en method=llm original='කොළඹ සිට මහනුවරට ගාස්තුව කීයද?' translated='how much is the bus fare from colombo to kandy?'
273
+ 2025-08-21 22:45:45 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from colombo to kandy?', preprocessed='how much is the bus fare from colombo to kandy?'
274
+ 2025-08-21 22:45:48 INFO [EnhancedNLPProcessor] Query results count: 1
275
+ 2025-08-21 22:45:49 INFO [TranslationService] Translation successful using LLM
276
+ 2025-08-21 22:45:49 INFO [TranslationService] Translated Sinhala query (llm): 'පානදුරේ ඉඳන් ගාල්ලට කීයක් යනවද?' -> 'how much is the bus fare from panadura to galle?'
277
+ 2025-08-21 22:45:49 INFO [FlaskApp] Translation: si->en method=llm original='පානදුරේ ඉඳන් ගාල්ලට කීයක් යනවද?' translated='how much is the bus fare from panadura to galle?'
278
+ 2025-08-21 22:45:49 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from panadura to galle?', preprocessed='how much is the bus fare from panadura to galle?'
279
+ 2025-08-21 22:45:50 INFO [TranslationService] Translation successful using LLM
280
+ 2025-08-21 22:45:50 INFO [FlaskApp] Response success=True type=fare_inquiry message='The fare from Colombo to Kandy is Rs. 745.'
281
+ 2025-08-21 22:45:52 INFO [EnhancedNLPProcessor] Query results count: 1
282
+ 2025-08-21 22:45:54 INFO [TranslationService] Translation successful using LLM
283
+ 2025-08-21 22:45:54 INFO [FlaskApp] Response success=True type=fare_inquiry message='The fare from Panadura to Galle is Rs. 570.0'
284
+ 2025-08-21 22:47:51 INFO [TranslationService] Translation successful using LLM
285
+ 2025-08-21 22:47:51 INFO [TranslationService] Translated Sinhala query (llm): 'කොළඹ සිට මහනුවරට ගාස්තුව කීයද?' -> 'how much is the bus fare from colombo to kandy?'
286
+ 2025-08-21 22:47:51 INFO [FlaskApp] Translation: si->en method=llm original='කොළඹ සිට මහනුවරට ගාස්තුව කීයද?' translated='how much is the bus fare from colombo to kandy?'
287
+ 2025-08-21 22:47:51 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from colombo to kandy?', preprocessed='how much is the bus fare from colombo to kandy?'
288
+ 2025-08-21 22:47:58 INFO [EnhancedNLPProcessor] Query results count: 1
289
+ 2025-08-21 22:48:00 INFO [TranslationService] Translation successful using LLM
290
+ 2025-08-21 22:48:00 INFO [FlaskApp] Response success=True type=fare_inquiry message='The fare from Colombo to Kandy is Rs. 745.'
291
+ 2025-08-21 22:48:05 INFO [TranslationService] Translation successful using LLM
292
+ 2025-08-21 22:48:05 INFO [TranslationService] Translated Sinhala query (llm): 'අනුරාධපුර සිට මහනුවර දක්වා ගාස්තුව' -> 'how much is the bus fare from anuradhapura to kandy?'
293
+ 2025-08-21 22:48:05 INFO [FlaskApp] Translation: si->en method=llm original='අනුරාධපුර සිට මහනුවර දක්වා ගාස්තුව' translated='how much is the bus fare from anuradhapura to kandy?'
294
+ 2025-08-21 22:48:05 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from anuradhapura to kandy?', preprocessed='how much is the bus fare from anuradhapura to kandy?'
295
+ 2025-08-21 22:48:08 INFO [EnhancedNLPProcessor] Query results count: 2
296
+ 2025-08-21 22:48:11 INFO [TranslationService] Translation successful using LLM
297
+ 2025-08-21 22:48:11 INFO [FlaskApp] Response success=True type=fare_inquiry message='How much is the fare from Anuradhapura to Kandy?'
298
+ 2025-08-21 22:48:17 INFO [TranslationService] Translation successful using LLM
299
+ 2025-08-21 22:48:17 INFO [TranslationService] Translated Sinhala query (llm): 'කොළඹ සිට මහනුවරට ගාස්තුව කීයද?' -> 'how much is the bus fare from colombo to kandy?'
300
+ 2025-08-21 22:48:17 INFO [FlaskApp] Translation: si->en method=llm original='කොළඹ සිට මහනුවරට ගාස්තුව කීයද?' translated='how much is the bus fare from colombo to kandy?'
301
+ 2025-08-21 22:48:17 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from colombo to kandy?', preprocessed='how much is the bus fare from colombo to kandy?'
302
+ 2025-08-21 22:48:20 INFO [EnhancedNLPProcessor] Query results count: 1
303
+ 2025-08-21 22:48:23 INFO [TranslationService] Translation successful using LLM
304
+ 2025-08-21 22:48:23 INFO [FlaskApp] Response success=True type=fare_inquiry message='How much is the fare from Colombo to Kandy?'
305
+ 2025-08-21 22:48:54 INFO [TranslationService] Translation successful using LLM
306
+ 2025-08-21 22:48:54 INFO [TranslationService] Translated Sinhala query (llm): 'මාතර සිට මහනුවරට ගාස්තුව කීයද?' -> 'how much is the bus fare from matara to kandy?'
307
+ 2025-08-21 22:48:54 INFO [FlaskApp] Translation: si->en method=llm original='මාතර සිට මහනුවරට ගාස්තුව කීයද?' translated='how much is the bus fare from matara to kandy?'
308
+ 2025-08-21 22:48:54 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from matara to kandy?', preprocessed='how much is the bus fare from matara to kandy?'
309
+ 2025-08-21 22:48:58 INFO [EnhancedNLPProcessor] Query results count: 0
310
+ 2025-08-21 22:49:02 INFO [TranslationService] Translation successful using LLM
311
+ 2025-08-21 22:49:05 INFO [TranslationService] Translation successful using LLM
312
+ 2025-08-21 22:49:06 INFO [TranslationService] Translation successful using LLM
313
+ 2025-08-21 22:49:09 INFO [TranslationService] Translation successful using LLM
314
+ 2025-08-21 22:49:11 INFO [TranslationService] Translation successful using LLM
315
+ 2025-08-21 22:49:12 INFO [TranslationService] Translation successful using LLM
316
+ 2025-08-21 22:49:14 INFO [TranslationService] Translation successful using LLM
317
+ 2025-08-21 22:49:16 INFO [TranslationService] Translation successful using LLM
318
+ 2025-08-21 22:49:17 INFO [TranslationService] Translation successful using LLM
319
+ 2025-08-21 22:49:17 INFO [FlaskApp] Response success=False type=n/a message='No results found for your query.'
320
+ 2025-08-21 23:28:38 INFO [TranslationService] Translation successful using LLM
321
+ 2025-08-21 23:28:38 INFO [TranslationService] Translated Sinhala query (llm): 'කොළඹ සිට මහනුවරට ගාස්තුව කීයද?' -> 'how much is the bus fare from colombo to kandy?'
322
+ 2025-08-21 23:28:38 INFO [FlaskApp] Translation: si->en method=llm original='කොළඹ සිට මහනුවරට ගාස්තුව කීයද?' translated='how much is the bus fare from colombo to kandy?'
323
+ 2025-08-21 23:28:38 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from colombo to kandy?', preprocessed='how much is the bus fare from colombo to kandy?'
324
+ 2025-08-21 23:28:42 INFO [EnhancedNLPProcessor] Query results count: 1
325
+ 2025-08-21 23:28:47 INFO [TranslationService] Translation successful using LLM
326
+ 2025-08-21 23:28:47 INFO [FlaskApp] Response success=True type=fare_inquiry message='The fare from Colombo to Kandy is Rs. 745.'
327
+ 2025-08-21 23:28:52 INFO [TranslationService] Translation successful using LLM
328
+ 2025-08-21 23:28:52 INFO [TranslationService] Translated Sinhala query (llm): 'පානදුරේ ඉඳන් ගාල්ලට කීයක් යනවද?' -> 'how much is the fare from panadura to galle?'
329
+ 2025-08-21 23:28:52 INFO [FlaskApp] Translation: si->en method=llm original='පානදුරේ ඉඳන් ගාල්ලට කීයක් යනවද?' translated='how much is the fare from panadura to galle?'
330
+ 2025-08-21 23:28:52 INFO [EnhancedNLPProcessor] Processing query: original='how much is the fare from panadura to galle?', preprocessed='how much is the fare from panadura to galle?'
331
+ 2025-08-21 23:28:57 INFO [EnhancedNLPProcessor] Query results count: 1
332
+ 2025-08-21 23:29:00 INFO [TranslationService] Translation successful using LLM
333
+ 2025-08-21 23:29:00 INFO [FlaskApp] Response success=True type=fare_inquiry message='The fare from Panadura to Galle is Rs. 570.0.'
334
+ 2025-08-21 23:29:03 INFO [TranslationService] Translation successful using LLM
335
+ 2025-08-21 23:29:03 INFO [TranslationService] Translated Sinhala query (llm): 'කොළඹ සිට නුවර දක්වා සහ කොළඹ සිට ගාල්ල දක්වා ගාස්තු සංසන්දනය කරන්න.' -> 'compare fares from colombo to nuwara eliya and from colombo to galle.'
336
+ 2025-08-21 23:29:03 INFO [FlaskApp] Translation: si->en method=llm original='කොළඹ සිට නුවර දක්වා සහ කොළඹ සිට ගාල්ල දක්වා ගාස්තු සංසන්දනය කරන්න.' translated='compare fares from colombo to nuwara eliya and from colombo to galle.'
337
+ 2025-08-21 23:29:03 INFO [EnhancedNLPProcessor] Processing query: original='compare fares from colombo to nuwara eliya and from colombo to galle.', preprocessed='compare fares from colombo to nuwara eliya and from colombo to galle.'
338
+ 2025-08-21 23:29:09 INFO [EnhancedNLPProcessor] Query results count: 0
339
+ 2025-08-21 23:29:11 INFO [TranslationService] Translation successful using LLM
340
+ 2025-08-21 23:29:12 INFO [TranslationService] Translation successful using LLM
341
+ 2025-08-21 23:29:14 INFO [TranslationService] Translation successful using LLM
342
+ 2025-08-21 23:29:15 INFO [TranslationService] Translation successful using LLM
343
+ 2025-08-21 23:29:17 INFO [TranslationService] Translation successful using LLM
344
+ 2025-08-21 23:29:20 INFO [TranslationService] Translation successful using LLM
345
+ 2025-08-21 23:29:22 INFO [TranslationService] Translation successful using LLM
346
+ 2025-08-21 23:29:24 INFO [TranslationService] Translation successful using LLM
347
+ 2025-08-21 23:29:26 INFO [TranslationService] Translation successful using LLM
348
+ 2025-08-21 23:29:26 INFO [FlaskApp] Response success=False type=n/a message='No results found for your query.'
349
+ 2025-08-21 23:30:45 INFO [TranslationService] Translation successful using LLM
350
+ 2025-08-21 23:30:45 INFO [TranslationService] Translated Sinhala query (llm): 'කොළඹ සිට නුවර එලියට ගාස්තුව කීයද?' -> 'how much is the bus fare from colombo to nuwara eliya?'
351
+ 2025-08-21 23:30:45 INFO [FlaskApp] Translation: si->en method=llm original='කොළඹ සිට නුවර එලියට ගාස්තුව කීයද?' translated='how much is the bus fare from colombo to nuwara eliya?'
352
+ 2025-08-21 23:30:45 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from colombo to nuwara eliya?', preprocessed='how much is the bus fare from colombo to nuwara eliya?'
353
+ 2025-08-21 23:30:51 INFO [EnhancedNLPProcessor] Query results count: 0
354
+ 2025-08-21 23:30:54 INFO [TranslationService] Translation successful using LLM
355
+ 2025-08-21 23:30:56 INFO [TranslationService] Translation successful using LLM
356
+ 2025-08-21 23:30:57 INFO [TranslationService] Translation successful using LLM
357
+ 2025-08-21 23:30:59 INFO [TranslationService] Translation successful using LLM
358
+ 2025-08-21 23:31:00 INFO [TranslationService] Translation successful using LLM
359
+ 2025-08-21 23:31:02 INFO [TranslationService] Translation successful using LLM
360
+ 2025-08-21 23:31:04 INFO [TranslationService] Translation successful using LLM
361
+ 2025-08-21 23:31:06 INFO [TranslationService] Translation successful using LLM
362
+ 2025-08-21 23:31:08 INFO [TranslationService] Translation successful using LLM
363
+ 2025-08-21 23:31:08 INFO [FlaskApp] Response success=False type=n/a message='No results found for your query.'
364
+ 2025-08-21 23:31:16 INFO [TranslationService] Translation successful using LLM
365
+ 2025-08-21 23:31:16 INFO [TranslationService] Translated Sinhala query (llm): 'රුපියල් 200 සහ 800 අතර මාර්ග සොයා ගන්න' -> 'find routes between 200 and 800 rupees.'
366
+ 2025-08-21 23:31:16 INFO [FlaskApp] Translation: si->en method=llm original='රුපියල් 200 සහ 800 අතර මාර්ග සොයා ගන්න' translated='find routes between 200 and 800 rupees.'
367
+ 2025-08-21 23:31:16 INFO [EnhancedNLPProcessor] Processing query: original='find routes between 200 and 800 rupees.', preprocessed='find routes between 200 and 800 rupees.'
368
+ 2025-08-21 23:31:23 INFO [EnhancedNLPProcessor] Query results count: 2174
369
+ 2025-08-21 23:31:25 INFO [TranslationService] Translation successful using LLM
370
+ 2025-08-21 23:31:25 INFO [FlaskApp] Response success=True type=range_search message='Found 2174 routes in your specified range.'
371
+ 2025-08-21 23:32:59 INFO [TranslationService] Translation successful using LLM
372
+ 2025-08-21 23:32:59 INFO [TranslationService] Translated Sinhala query (llm): 'කොළඹ සිට යාපනයට ගාස්තුව කීයද?' -> 'how much is the bus fare from colombo to jaffna?'
373
+ 2025-08-21 23:32:59 INFO [FlaskApp] Translation: si->en method=llm original='කොළඹ සිට යාපනයට ගාස්තුව කීයද?' translated='how much is the bus fare from colombo to jaffna?'
374
+ 2025-08-21 23:32:59 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from colombo to jaffna?', preprocessed='how much is the bus fare from colombo to jaffna?'
375
+ 2025-08-21 23:33:02 INFO [EnhancedNLPProcessor] Query results count: 0
376
+ 2025-08-21 23:33:03 INFO [TranslationService] Translation successful using LLM
377
+ 2025-08-21 23:33:05 INFO [TranslationService] Translation successful using LLM
378
+ 2025-08-21 23:33:10 INFO [TranslationService] Translation successful using LLM
379
+ 2025-08-21 23:33:11 INFO [TranslationService] Translation successful using LLM
380
+ 2025-08-21 23:33:13 INFO [TranslationService] Translation successful using LLM
381
+ 2025-08-21 23:33:15 INFO [TranslationService] Translation successful using LLM
382
+ 2025-08-21 23:33:16 INFO [TranslationService] Translation successful using LLM
383
+ 2025-08-21 23:33:18 INFO [TranslationService] Translation successful using LLM
384
+ 2025-08-21 23:33:20 INFO [TranslationService] Translation successful using LLM
385
+ 2025-08-21 23:33:20 INFO [FlaskApp] Response success=False type=n/a message='No results found for your query.'
386
+ 2025-08-21 23:46:45 INFO [TranslationService] Translation successful using LLM
387
+ 2025-08-21 23:46:45 INFO [TranslationService] Translated Sinhala query (llm): 'කොළඹ සිට බදුල්ලට ගාස්තුව කීයද?' -> 'how much is the bus fare from colombo to badulla?'
388
+ 2025-08-21 23:46:45 INFO [FlaskApp] Translation: si->en method=llm original='කොළඹ සිට බදුල්ලට ගාස්තුව කීයද?' translated='how much is the bus fare from colombo to badulla?'
389
+ 2025-08-21 23:46:45 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from colombo to badulla?', preprocessed='how much is the bus fare from colombo to badulla?'
390
+ 2025-08-21 23:46:49 INFO [EnhancedNLPProcessor] Query results count: 0
391
+ 2025-08-21 23:46:51 INFO [TranslationService] Translation successful using LLM
392
+ 2025-08-21 23:46:52 INFO [TranslationService] Translation successful using LLM
393
+ 2025-08-21 23:46:54 INFO [TranslationService] Translation successful using LLM
394
+ 2025-08-21 23:46:56 INFO [TranslationService] Translation successful using LLM
395
+ 2025-08-21 23:46:57 INFO [TranslationService] Translation successful using LLM
396
+ 2025-08-21 23:46:59 INFO [TranslationService] Translation successful using LLM
397
+ 2025-08-21 23:47:00 INFO [TranslationService] Translation successful using LLM
398
+ 2025-08-21 23:47:02 INFO [TranslationService] Translation successful using LLM
399
+ 2025-08-21 23:47:04 INFO [TranslationService] Translation successful using LLM
400
+ 2025-08-21 23:47:04 INFO [FlaskApp] Response success=False type=n/a message='No results found for your query.'
401
+ 2025-08-21 23:47:58 INFO [FlaskApp] Processing English Query: 'How much is the fare from Colombo to Badulla?'
402
+ 2025-08-21 23:47:58 INFO [EnhancedNLPProcessor] Processing query: original='How much is the fare from Colombo to Badulla?', preprocessed='how much is the fare from colombo to badulla?'
403
+ 2025-08-21 23:48:01 INFO [EnhancedNLPProcessor] Query results count: 0
404
+ 2025-08-21 23:48:01 INFO [FlaskApp] Response success=False type=n/a message='No results found for your query.'
405
+ 2025-08-21 23:48:06 INFO [FlaskApp] Processing English Query: 'How much is the fare from Colombo to Badulla?'
406
+ 2025-08-21 23:48:06 INFO [EnhancedNLPProcessor] Processing query: original='How much is the fare from Colombo to Badulla?', preprocessed='how much is the fare from colombo to badulla?'
407
+ 2025-08-21 23:48:09 INFO [EnhancedNLPProcessor] Query results count: 0
408
+ 2025-08-21 23:48:09 INFO [FlaskApp] Response success=False type=n/a message='No results found for your query.'
409
+ 2025-08-21 23:48:33 INFO [TranslationService] Translation successful using LLM
410
+ 2025-08-21 23:48:33 INFO [TranslationService] Translated Sinhala query (llm): 'මාතර සිට මහනුවරට ගාස්තුව කීයද?' -> 'how much is the bus fare from matara to kandy?'
411
+ 2025-08-21 23:48:33 INFO [FlaskApp] Translation: si->en method=llm original='මාතර සිට මහනුවරට ගාස්තුව කීයද?' translated='how much is the bus fare from matara to kandy?'
412
+ 2025-08-21 23:48:33 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from matara to kandy?', preprocessed='how much is the bus fare from matara to kandy?'
413
+ 2025-08-21 23:48:37 INFO [EnhancedNLPProcessor] Query results count: 0
414
+ 2025-08-21 23:48:45 INFO [TranslationService] Translation successful using LLM
415
+ 2025-08-21 23:48:46 INFO [TranslationService] Translation successful using LLM
416
+ 2025-08-21 23:48:48 INFO [TranslationService] Translation successful using LLM
417
+ 2025-08-21 23:48:50 INFO [TranslationService] Translation successful using LLM
418
+ 2025-08-21 23:48:53 INFO [TranslationService] Translation successful using LLM
419
+ 2025-08-21 23:48:55 INFO [TranslationService] Translation successful using LLM
420
+ 2025-08-21 23:48:56 INFO [TranslationService] Translation successful using LLM
421
+ 2025-08-21 23:48:58 INFO [TranslationService] Translation successful using LLM
422
+ 2025-08-21 23:48:59 INFO [TranslationService] Translation successful using LLM
423
+ 2025-08-21 23:48:59 INFO [FlaskApp] Response success=False type=n/a message='No results found for your query.'
424
+ 2025-08-21 23:49:45 INFO [FlaskApp] Processing English Query: 'how much is the bus fare from matara to kandy?'
425
+ 2025-08-21 23:49:45 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from matara to kandy?', preprocessed='how much is the bus fare from matara to kandy?'
426
+ 2025-08-21 23:49:48 INFO [EnhancedNLPProcessor] Query results count: 0
427
+ 2025-08-21 23:49:48 INFO [FlaskApp] Response success=False type=n/a message='No results found for your query.'
428
+ 2025-08-21 23:50:35 INFO [FlaskApp] Processing English Query: 'how much is the bus fare from Matara to Kandy?'
429
+ 2025-08-21 23:50:35 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from Matara to Kandy?', preprocessed='how much is the bus fare from matara to kandy?'
430
+ 2025-08-21 23:50:38 INFO [EnhancedNLPProcessor] Query results count: 0
431
+ 2025-08-21 23:50:38 INFO [FlaskApp] Response success=False type=n/a message='No results found for your query.'
432
+ 2025-08-21 23:51:07 INFO [FlaskApp] Processing English Query: 'How much is the fare from Matara to Kandy?'
433
+ 2025-08-21 23:51:07 INFO [EnhancedNLPProcessor] Processing query: original='How much is the fare from Matara to Kandy?', preprocessed='how much is the fare from matara to kandy?'
434
+ 2025-08-21 23:51:10 INFO [EnhancedNLPProcessor] Query results count: 0
435
+ 2025-08-21 23:51:10 INFO [FlaskApp] Response success=False type=n/a message='No results found for your query.'
436
+ 2025-08-21 23:51:44 INFO [TranslationService] Translation successful using LLM
437
+ 2025-08-21 23:51:44 INFO [TranslationService] Translated Sinhala query (llm): 'පානදුරේ ඉඳන් ගාල��ලට කීයක් යනවද?' -> 'how much is the fare from panadura to galle?'
438
+ 2025-08-21 23:51:44 INFO [FlaskApp] Translation: si->en method=llm original='පානදුරේ ඉඳන් ගාල්ලට කීයක් යනවද?' translated='how much is the fare from panadura to galle?'
439
+ 2025-08-21 23:51:44 INFO [EnhancedNLPProcessor] Processing query: original='how much is the fare from panadura to galle?', preprocessed='how much is the fare from panadura to galle?'
440
+ 2025-08-21 23:51:47 INFO [EnhancedNLPProcessor] Query results count: 1
441
+ 2025-08-21 23:51:49 INFO [TranslationService] Translation successful using LLM
442
+ 2025-08-21 23:51:49 INFO [FlaskApp] Response success=True type=fare_inquiry message='The fare from Panadura to Galle is Rs. 570.0'
443
+ 2025-08-21 23:51:53 INFO [TranslationService] Translation successful using LLM
444
+ 2025-08-21 23:51:53 INFO [TranslationService] Translated Sinhala query (llm): 'කොළඹ සිට බදුල්ලට ගාස්තුව කීයද?' -> 'how much is the bus fare from colombo to badulla?'
445
+ 2025-08-21 23:51:53 INFO [FlaskApp] Translation: si->en method=llm original='කොළඹ සිට බදුල්ලට ගාස්තුව කීයද?' translated='how much is the bus fare from colombo to badulla?'
446
+ 2025-08-21 23:51:53 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from colombo to badulla?', preprocessed='how much is the bus fare from colombo to badulla?'
447
+ 2025-08-21 23:51:56 INFO [EnhancedNLPProcessor] Query results count: 0
448
+ 2025-08-21 23:51:58 INFO [TranslationService] Translation successful using LLM
449
+ 2025-08-21 23:51:59 INFO [TranslationService] Translation successful using LLM
450
+ 2025-08-21 23:52:01 INFO [TranslationService] Translation successful using LLM
451
+ 2025-08-21 23:52:05 INFO [TranslationService] Translation successful using LLM
452
+ 2025-08-21 23:52:06 INFO [TranslationService] Translation successful using LLM
453
+ 2025-08-21 23:52:08 INFO [TranslationService] Translation successful using LLM
454
+ 2025-08-21 23:52:10 INFO [TranslationService] Translation successful using LLM
455
+ 2025-08-21 23:52:12 INFO [TranslationService] Translation successful using LLM
456
+ 2025-08-21 23:52:13 INFO [TranslationService] Translation successful using LLM
457
+ 2025-08-21 23:52:13 INFO [FlaskApp] Response success=False type=n/a message='No results found for your query.'
458
+ 2025-08-21 23:52:21 INFO [TranslationService] Translation successful using LLM
459
+ 2025-08-21 23:52:21 INFO [TranslationService] Translated Sinhala query (llm): 'මාතර සිට මහනුවරට ගාස්තුව කීයද?' -> 'how much is the bus fare from matara to kandy?'
460
+ 2025-08-21 23:52:21 INFO [FlaskApp] Translation: si->en method=llm original='මාතර සිට මහනුවරට ගාස්තුව කීයද?' translated='how much is the bus fare from matara to kandy?'
461
+ 2025-08-21 23:52:21 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from matara to kandy?', preprocessed='how much is the bus fare from matara to kandy?'
462
+ 2025-08-21 23:52:25 INFO [EnhancedNLPProcessor] Query results count: 0
463
+ 2025-08-21 23:52:27 INFO [TranslationService] Translation successful using LLM
464
+ 2025-08-21 23:52:28 INFO [TranslationService] Translation successful using LLM
465
+ 2025-08-21 23:52:30 INFO [TranslationService] Translation successful using LLM
466
+ 2025-08-21 23:52:32 INFO [TranslationService] Translation successful using LLM
467
+ 2025-08-21 23:52:33 INFO [TranslationService] Translation successful using LLM
468
+ 2025-08-21 23:52:35 INFO [TranslationService] Translation successful using LLM
469
+ 2025-08-21 23:52:36 INFO [TranslationService] Translation successful using LLM
470
+ 2025-08-21 23:52:38 INFO [TranslationService] Translation successful using LLM
471
+ 2025-08-21 23:52:39 INFO [TranslationService] Translation successful using LLM
472
+ 2025-08-21 23:52:39 INFO [FlaskApp] Response success=False type=n/a message='No results found for your query.'
473
+ 2025-08-21 23:52:43 INFO [FlaskApp] Processing English Query: 'bus fare from matara to kandy?'
474
+ 2025-08-21 23:52:43 INFO [EnhancedNLPProcessor] Processing query: original='bus fare from matara to kandy?', preprocessed='bus fare from matara to kandy?'
475
+ 2025-08-21 23:52:46 INFO [EnhancedNLPProcessor] Query results count: 0
476
+ 2025-08-21 23:52:46 INFO [FlaskApp] Response success=False type=n/a message='No results found for your query.'
477
+ 2025-08-21 23:52:53 INFO [TranslationService] Translation successful using LLM
478
+ 2025-08-21 23:52:53 INFO [TranslationService] Translated Sinhala query (llm): 'කොළඹ සිට මහනුවරට ගාස්තුව කීයද?' -> 'how much is the bus fare from colombo to kandy?'
479
+ 2025-08-21 23:52:53 INFO [FlaskApp] Translation: si->en method=llm original='කොළඹ සිට මහනුවරට ගාස්තුව කීයද?' translated='how much is the bus fare from colombo to kandy?'
480
+ 2025-08-21 23:52:53 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from colombo to kandy?', preprocessed='how much is the bus fare from colombo to kandy?'
481
+ 2025-08-21 23:52:56 INFO [EnhancedNLPProcessor] Query results count: 1
482
+ 2025-08-21 23:52:58 INFO [TranslationService] Translation successful using LLM
483
+ 2025-08-21 23:52:58 INFO [FlaskApp] Response success=True type=fare_inquiry message='The fare from Colombo to Kandy is Rs. 745'
484
+ 2025-08-21 23:53:04 INFO [TranslationService] Translation successful using LLM
485
+ 2025-08-21 23:53:04 INFO [TranslationService] Translated Sinhala query (llm): 'පානදුරේ ඉඳන් ගාල්ලට කීයක් යනවද?' -> 'how much is the fare from panadura to galle?'
486
+ 2025-08-21 23:53:04 INFO [FlaskApp] Translation: si->en method=llm original='පානදුරේ ඉඳන් ගාල්ලට කීයක් යනවද?' translated='how much is the fare from panadura to galle?'
487
+ 2025-08-21 23:53:04 INFO [EnhancedNLPProcessor] Processing query: original='how much is the fare from panadura to galle?', preprocessed='how much is the fare from panadura to galle?'
488
+ 2025-08-21 23:53:07 INFO [EnhancedNLPProcessor] Query results count: 1
489
+ 2025-08-21 23:53:09 INFO [TranslationService] Translation successful using LLM
490
+ 2025-08-21 23:53:09 INFO [FlaskApp] Response success=True type=fare_inquiry message='How much is the fare from Panadura to Galle?'
491
+ 2025-08-21 23:53:13 INFO [TranslationService] Translation successful using LLM
492
+ 2025-08-21 23:53:13 INFO [TranslationService] Translated Sinhala query (llm): 'අනුරාධපුර සිට මහනුවර දක්වා ගාස්තුව' -> 'how much is the bus fare from anuradhapura to kandy?'
493
+ 2025-08-21 23:53:13 INFO [FlaskApp] Translation: si->en method=llm original='අනුරාධපුර සිට මහනුවර දක්වා ගාස්තුව' translated='how much is the bus fare from anuradhapura to kandy?'
494
+ 2025-08-21 23:53:13 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from anuradhapura to kandy?', preprocessed='how much is the bus fare from anuradhapura to kandy?'
495
+ 2025-08-21 23:53:15 INFO [EnhancedNLPProcessor] Query results count: 2
496
+ 2025-08-21 23:53:17 INFO [TranslationService] Translation successful using LLM
497
+ 2025-08-21 23:53:17 INFO [FlaskApp] Response success=True type=fare_inquiry message='How much is the fare from Anuradhapura to Kandy?'
498
+ 2025-08-21 23:53:20 INFO [TranslationService] Translation successful using LLM
499
+ 2025-08-21 23:53:20 INFO [TranslationService] Translated Sinhala query (llm): 'පානදුරේ ඉඳන් ගාල්ලට කීයක් යනවද?' -> 'how much is the bus fare from panadura to galle?'
500
+ 2025-08-21 23:53:20 INFO [FlaskApp] Translation: si->en method=llm original='පානදුරේ ඉඳන් ගාල්ලට කීයක් යනවද?' translated='how much is the bus fare from panadura to galle?'
501
+ 2025-08-21 23:53:20 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from panadura to galle?', preprocessed='how much is the bus fare from panadura to galle?'
502
+ 2025-08-21 23:53:23 INFO [EnhancedNLPProcessor] Query results count: 1
503
+ 2025-08-21 23:53:25 INFO [TranslationService] Translation successful using LLM
504
+ 2025-08-21 23:53:25 INFO [FlaskApp] Response success=True type=fare_inquiry message='How much is the fare from Panadura to Galle?'
505
+ 2025-08-21 23:53:29 INFO [TranslationService] Translation successful using LLM
506
+ 2025-08-21 23:53:29 INFO [TranslationService] Translated Sinhala query (llm): 'කොළඹ සිට බදුල්ලට ගාස්තුව කීයද?' -> 'how much is the bus fare from colombo to badulla?'
507
+ 2025-08-21 23:53:29 INFO [FlaskApp] Translation: si->en method=llm original='කොළඹ සිට බදුල්ලට ගාස්තුව කීයද?' translated='how much is the bus fare from colombo to badulla?'
508
+ 2025-08-21 23:53:29 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from colombo to badulla?', preprocessed='how much is the bus fare from colombo to badulla?'
509
+ 2025-08-21 23:53:32 INFO [EnhancedNLPProcessor] Query results count: 0
510
+ 2025-08-21 23:53:34 INFO [TranslationService] Translation successful using LLM
511
+ 2025-08-21 23:53:36 INFO [TranslationService] Translation successful using LLM
512
+ 2025-08-21 23:53:37 INFO [TranslationService] Translation successful using LLM
513
+ 2025-08-21 23:53:39 INFO [TranslationService] Translation successful using LLM
514
+ 2025-08-21 23:53:41 INFO [TranslationService] Translation successful using LLM
515
+ 2025-08-21 23:53:42 INFO [TranslationService] Translation successful using LLM
516
+ 2025-08-21 23:53:44 INFO [TranslationService] Translation successful using LLM
517
+ 2025-08-21 23:53:46 INFO [TranslationService] Translation successful using LLM
518
+ 2025-08-21 23:53:49 INFO [TranslationService] Translation successful using LLM
519
+ 2025-08-21 23:53:49 INFO [FlaskApp] Response success=False type=n/a message='No results found for your query.'
520
+ 2025-08-21 23:54:45 INFO [TranslationService] Translation successful using LLM
521
+ 2025-08-21 23:54:45 INFO [TranslationService] Translated Sinhala query (llm): 'බදුල්ල සිට කොළඹට ගාස්තුව කීයද?' -> 'how much is the bus fare from badulla to colombo?'
522
+ 2025-08-21 23:54:45 INFO [FlaskApp] Translation: si->en method=llm original='බදුල්ල සිට කොළඹට ගාස්තුව කීයද?' translated='how much is the bus fare from badulla to colombo?'
523
+ 2025-08-21 23:54:45 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from badulla to colombo?', preprocessed='how much is the bus fare from badulla to colombo?'
524
+ 2025-08-21 23:54:47 INFO [EnhancedNLPProcessor] Query results count: 1
525
+ 2025-08-21 23:54:50 INFO [TranslationService] Translation successful using LLM
526
+ 2025-08-21 23:54:50 INFO [FlaskApp] Response success=True type=fare_inquiry message='How much is the fare from Badulla to Colombo?'
527
+ 2025-08-21 23:57:12 INFO [TranslationService] Translation successful using LLM
528
+ 2025-08-21 23:57:12 INFO [TranslationService] Translated Sinhala query (llm): 'මහනුවර සිට මාතරට ගාස්තුව කීයද?' -> 'how much is the bus fare from kandy to matara?'
529
+ 2025-08-21 23:57:12 INFO [FlaskApp] Translation: si->en method=llm original='මහනුවර සිට මාතරට ගාස්තුව කීයද?' translated='how much is the bus fare from kandy to matara?'
530
+ 2025-08-21 23:57:12 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from kandy to matara?', preprocessed='how much is the bus fare from kandy to matara?'
531
+ 2025-08-21 23:57:17 INFO [EnhancedNLPProcessor] Query results count: 1
532
+ 2025-08-21 23:57:21 INFO [TranslationService] Translation successful using LLM
533
+ 2025-08-21 23:57:21 INFO [FlaskApp] Response success=True type=fare_inquiry message='How much is the fare from Kandy to Matara?'
534
+ 2025-08-21 23:57:32 INFO [TranslationService] Translation successful using LLM
535
+ 2025-08-21 23:57:32 INFO [TranslationService] Translated Sinhala query (llm): 'කොළඹ සිට මහනුවර දක්වා සහ කොළඹ සිට ගාල්ල දක්වා ගාස්තු සංසන්දනය කරන්න.' -> 'compare bus fares from colombo to kandy and from colombo to galle.'
536
+ 2025-08-21 23:57:32 INFO [FlaskApp] Translation: si->en method=llm original='කොළඹ සිට මහනුවර දක්වා සහ කොළඹ සිට ගාල්ල දක්වා ගාස්තු සංසන්දනය කරන්න.' translated='compare bus fares from colombo to kandy and from colombo to galle.'
537
+ 2025-08-21 23:57:32 INFO [EnhancedNLPProcessor] Processing query: original='compare bus fares from colombo to kandy and from colombo to galle.', preprocessed='compare bus fares from colombo to kandy and from colombo to galle.'
538
+ 2025-08-21 23:57:39 INFO [EnhancedNLPProcessor] Query results count: 1
539
+ 2025-08-21 23:57:41 INFO [TranslationService] Translation successful using LLM
540
+ 2025-08-21 23:57:41 INFO [FlaskApp] Response success=True type=comparison message='Comparison completed'
541
+ 2025-08-22 22:36:08 INFO [TranslationService] Translation successful using LLM
542
+ 2025-08-22 22:36:08 INFO [TranslationService] Translated Sinhala query (llm): 'කොළඹ සිට මහනුවරට ගාස්තුව කීයද?' -> 'how much is the bus fare from colombo to kandy?'
543
+ 2025-08-22 22:36:08 INFO [FlaskApp] Translation: si->en method=llm original='කොළඹ සිට මහනුවරට ගාස්තුව කීයද?' translated='how much is the bus fare from colombo to kandy?'
544
+ 2025-08-22 22:36:08 INFO [EnhancedNLPProcessor] Processing query: original='how much is the bus fare from colombo to kandy?', preprocessed='how much is the bus fare from colombo to kandy?'
545
+ 2025-08-22 22:36:12 INFO [EnhancedNLPProcessor] Query results count: 1
546
+ 2025-08-22 22:36:14 INFO [TranslationService] Translation successful using LLM
547
+ 2025-08-22 22:36:14 INFO [FlaskApp] Response success=True type=fare_inquiry message='The fare from Colombo to Kandy is Rs. 745.'
logs/translation_test_results.json ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "translation_service_status": "active",
3
+ "available_methods": {
4
+ "llm": true,
5
+ "libre_translate": true,
6
+ "mymemory": true,
7
+ "dictionary": true
8
+ },
9
+ "summary": {
10
+ "total_tests": 10,
11
+ "exact_matches": 2,
12
+ "good_or_better": 2,
13
+ "accuracy_rate_percent": 20.0
14
+ },
15
+ "test_results": [
16
+ {
17
+ "sinhala_query": "කොළඹ සිට මහනුවරට යන බස් ගාස්තුව කීයද?",
18
+ "is_sinhala_detected": true,
19
+ "translated_english": "How much is the bus fare from Colombo to Kandy?",
20
+ "expected_english": "What is the bus fare from Colombo to Kandy?",
21
+ "translation_accuracy": "partial",
22
+ "intent_preserved": true,
23
+ "method_used": "llm"
24
+ },
25
+ {
26
+ "sinhala_query": "මාතර සිට ගාල්ලට යන මිල කීයද?",
27
+ "is_sinhala_detected": true,
28
+ "translated_english": "How much is the fare from Matara to Galle?",
29
+ "expected_english": "How much is the price from Matara to Galle?",
30
+ "translation_accuracy": "partial",
31
+ "intent_preserved": true,
32
+ "method_used": "llm"
33
+ },
34
+ {
35
+ "sinhala_query": "කොළඹ සිට පානදුර දක්වා සහ කොළඹ සිට ගාල්ල දක්වා ගාස්තු සසඳා බලන්න.",
36
+ "is_sinhala_detected": true,
37
+ "translated_english": "Compare fares from Colombo to Panadura and from Colombo to Galle.",
38
+ "expected_english": "Compare fares from Colombo to Panadura and from Colombo to Galle.",
39
+ "translation_accuracy": "exact",
40
+ "intent_preserved": true,
41
+ "method_used": "llm"
42
+ },
43
+ {
44
+ "sinhala_query": "රුපියල් 500 ට අඩු ගාස්තු සහිත මාර්ග පෙන්වන්න.",
45
+ "is_sinhala_detected": true,
46
+ "translated_english": "Show routes with fares under 500 rupees.",
47
+ "expected_english": "Show routes with fares under 500 rupees.",
48
+ "translation_accuracy": "exact",
49
+ "intent_preserved": true,
50
+ "method_used": "llm"
51
+ },
52
+ {
53
+ "sinhala_query": "අඩු මිලේ මාර්ග නිර්දේශ කරන්න.",
54
+ "is_sinhala_detected": true,
55
+ "translated_english": "Recommend inexpensive routes.",
56
+ "expected_english": "Recommend cheap routes.",
57
+ "translation_accuracy": "partial",
58
+ "intent_preserved": true,
59
+ "method_used": "llm"
60
+ },
61
+ {
62
+ "sinhala_query": "කොළඹ සිට යන මාර්ග මොනවාද?",
63
+ "is_sinhala_detected": true,
64
+ "translated_english": "How much is the route from Colombo?",
65
+ "expected_english": "What routes depart from Colombo?",
66
+ "translation_accuracy": "partial",
67
+ "intent_preserved": true,
68
+ "method_used": "llm"
69
+ },
70
+ {
71
+ "sinhala_query": "සාමාන්‍ය ගාස්තුව කීයද?",
72
+ "is_sinhala_detected": true,
73
+ "translated_english": "How much is the standard fare?",
74
+ "expected_english": "What is the average fare?",
75
+ "translation_accuracy": "partial",
76
+ "intent_preserved": true,
77
+ "method_used": "llm"
78
+ },
79
+ {
80
+ "sinhala_query": "කඩුවෙල සිට මාතර දක්වා සහ ගාල්ල දක්වා බස් ගාස්තු සසඳන්න.",
81
+ "is_sinhala_detected": true,
82
+ "translated_english": "Compare bus fares from Kandy to Matara and from Kandy to Galle.",
83
+ "expected_english": "Compare bus fares from Kaduwela to Matara and to Galle.",
84
+ "translation_accuracy": "partial",
85
+ "intent_preserved": true,
86
+ "method_used": "llm"
87
+ },
88
+ {
89
+ "sinhala_query": "කොළඹ සිට ගාල්ල දක්වා ටිකට් මිල කීයද?",
90
+ "is_sinhala_detected": true,
91
+ "translated_english": "How much is the ticket price from Colombo to Galle?",
92
+ "expected_english": "What is the ticket price from Colombo to Galle?",
93
+ "translation_accuracy": "partial",
94
+ "intent_preserved": true,
95
+ "method_used": "llm"
96
+ },
97
+ {
98
+ "sinhala_query": "රුපියල් 1000 ට වැඩි ගාස්තු සහිත මාර්ග සදහන් කරන්න.",
99
+ "is_sinhala_detected": true,
100
+ "translated_english": "Recommend routes with fares over 1000 rupees.",
101
+ "expected_english": "List routes with fares over 1000 rupees.",
102
+ "translation_accuracy": "partial",
103
+ "intent_preserved": true,
104
+ "method_used": "llm"
105
+ }
106
+ ]
107
+ }