Skip to content

Commit af37c79

Browse files
author
Milazzo, Joseph (jm520e)
committed
Added idea and word update
1 parent 5eb67f3 commit af37c79

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ pyinstaller easyjava.spec
2222
Tip: For compiling with Gooey:
2323
https://github.com/chriskiehl/Gooey/wiki/step-by-step-guide:-python3-gooey-and-pyinstaller
2424

25+
TODO:
26+
- Idea: Show a preview and allow a mapping change before generating code.

util.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ def spinal_case(s):
7878

7979

8080
if __name__ == '__main__':
81-
""" sentence = ' '.join(viterbi_segment('ACTIONITEMIMPACTID'.lower())[0])
81+
sentence = ' '.join(viterbi_segment('RCCBROLE'.lower())[0])
8282
print('sentence: {0}'.format(sentence))
8383
word = ''.join(a.capitalize() for a in split('([^a-zA-Z0-9])', sentence)
8484
if a.isalnum())
85-
print('word: {0}'.format(word[0].lower() + word[1:])) """
85+
print('word: {0}'.format(word[0].lower() + word[1:]))
8686

87-
print('application: {0}'.format(first_chars('application')))
88-
print('applicationgroup: {0}'.format(first_chars('applicationgroup')))
87+
#print('application: {0}'.format(first_chars('application')))
88+
#print('applicationgroup: {0}'.format(first_chars('applicationgroup')))

words.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ would
8888
how
8989
were
9090
me
91+
mitigation
9192
s
9293
services
9394
some
@@ -563,6 +564,7 @@ language
563564
story
564565
sell
565566
options
567+
option
566568
experience
567569
rates
568570
create

0 commit comments

Comments
 (0)