Skip to content
This repository was archived by the owner on Feb 8, 2024. It is now read-only.

Commit a9718f3

Browse files
author
Cipher
committed
Added lowercase tokening
1 parent 3f340f3 commit a9718f3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Janex.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ class NoMatchingIntentError(Exception):
1313
pass
1414

1515
def Tokenize(self, input_string):
16+
17+
input_string = input_string.lower()
1618
input_string = input_string.strip()
1719
input_string = input_string.translate(str.maketrans("", "", string.punctuation))
1820
words = input_string.split()

__pycache__/Janex.cpython-311.pyc

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)