SQL queries for SAMPA now use only lowercase ortho strings

AND IT WORKS!

PROBLEMS:

Still not sure what's going on all the way yet.  Specifically, why it parses the phrase twice (I probably just have another call somewhere.
Also, how to deal with when a ortho has more than one sampa? Haven't dealt with that yet.

But hey! It worrrrrks! :D  admin@mako:~/Documents/Thesis/OronymCode $ ./wordBreakdown
DATABASE SUCCESSFULLY OPENED
A|nice|cold|shower|
queryDBforSAMPA, orthoWord = A
===Callback for A===
ortho = a
uniqID = 1,stressed
PartOfSpeech = DT/LS/NN/NNP
SAMPA =  "e
extendedORTHO = {a}
freq = 7536297

===Callback for A===
ortho = a
uniqID = 2,unstressed
PartOfSpeech = DT
SAMPA =  @
extendedORTHO = {a}
freq = 7536297

===Callback for A===
ortho = a
uniqID = 3
PartOfSpeech = FW
SAMPA =  "A
extendedORTHO = {a}
freq = 7536297

ROW 0: a | 1,stressed | DT/LS/NN/NNP |  "e  | {a} | 7536297 |
ROW 1: a | 2,unstressed | DT |  @  | {a} | 7536297 |
ROW 2: a | 3 | FW |  "A  | {a} | 7536297 |
queryDBforSAMPA, orthoWord = nice
===Callback for nice===
ortho = nice
uniqID = 1
PartOfSpeech = JJ
SAMPA =  "naIs
extendedORTHO = {nice}
freq = 190708
~~~~~~~~~~A~~~~~~~~~~~~~~~~~~A end~~~~~~~~~~~~
===Callback for nice===
ortho = nice
uniqID = 2
PartOfSpeech = NNP
SAMPA =  "nis
extendedORTHO = {nice}
freq = 190708

ROW 0: a | 1,stressed | DT/LS/NN/NNP |  "e  | {a} | 7536297 |
ROW 1: a | 2,unstressed | DT |  @  | {a} | 7536297 |
ROW 2: a | 3 | FW |  "A  | {a} | 7536297 |
ROW 3: nice | 1 | JJ |  "naIs  | {nice} | 190708 |
ROW 4: nice | 2 | NNP |  "nis  | {nice} | 190708 |
queryDBforSAMPA, orthoWord = cold
===Callback for cold===
ortho = cold
uniqID =
PartOfSpeech = JJ/NN
SAMPA =  "kould
extendedORTHO = {cold}
freq = 52844
~~~~~~~~~~nice~~~~~~~~~~~~~~~~~~nice end~~~~~~~~~~~~
ROW 0: a | 1,stressed | DT/LS/NN/NNP |  "e  | {a} | 7536297 |
ROW 1: a | 2,unstressed | DT |  @  | {a} | 7536297 |
ROW 2: a | 3 | FW |  "A  | {a} | 7536297 |
ROW 3: nice | 1 | JJ |  "naIs  | {nice} | 190708 |
ROW 4: nice | 2 | NNP |  "nis  | {nice} | 190708 |
ROW 5: cold |  | JJ/NN |  "kould  | {cold} | 52844 |
queryDBforSAMPA, orthoWord = shower
===Callback for shower===
ortho = shower
uniqID =
PartOfSpeech = NN/VB/VBP
SAMPA =  "SaU`r
extendedORTHO = {shower}
freq = 7653
~~~~~~~~~~cold~~~~~~~~~~~~~~~~~~cold end~~~~~~~~~~~~
ROW 0: a | 1,stressed | DT/LS/NN/NNP |  "e  | {a} | 7536297 |
ROW 1: a | 2,unstressed | DT |  @  | {a} | 7536297 |
ROW 2: a | 3 | FW |  "A  | {a} | 7536297 |
ROW 3: nice | 1 | JJ |  "naIs  | {nice} | 190708 |
ROW 4: nice | 2 | NNP |  "nis  | {nice} | 190708 |
ROW 5: cold |  | JJ/NN |  "kould  | {cold} | 52844 |
ROW 6: shower |  | NN/VB/VBP |  "SaU`r  | {shower} | 7653 |
~~~~~~~~~~shower~~~~~~~~~~~~~~~~~~shower end~~~~~~~~~~~~
queryDBforSAMPA, orthoWord = A
===Callback for A===
ortho = a
uniqID = 1,stressed
PartOfSpeech = DT/LS/NN/NNP
SAMPA =  "e
extendedORTHO = {a}
freq = 7536297

===Callback for A===
ortho = a
uniqID = 2,unstressed
PartOfSpeech = DT
SAMPA =  @
extendedORTHO = {a}
freq = 7536297

===Callback for A===
ortho = a
uniqID = 3
PartOfSpeech = FW
SAMPA =  "A
extendedORTHO = {a}
freq = 7536297

ROW 0: a | 1,stressed | DT/LS/NN/NNP |  "e  | {a} | 7536297 |
ROW 1: a | 2,unstressed | DT |  @  | {a} | 7536297 |
ROW 2: a | 3 | FW |  "A  | {a} | 7536297 |
ROW 3: nice | 1 | JJ |  "naIs  | {nice} | 190708 |
ROW 4: nice | 2 | NNP |  "nis  | {nice} | 190708 |
ROW 5: cold |  | JJ/NN |  "kould  | {cold} | 52844 |
ROW 6: shower |  | NN/VB/VBP |  "SaU`r  | {shower} | 7653 |
ROW 7: a | 1,stressed | DT/LS/NN/NNP |  "e  | {a} | 7536297 |
ROW 8: a | 2,unstressed | DT |  @  | {a} | 7536297 |
ROW 9: a | 3 | FW |  "A  | {a} | 7536297 |
queryDBforSAMPA, orthoWord = nice
===Callback for nice===
ortho = nice
uniqID = 1
PartOfSpeech = JJ
SAMPA =  "naIs
extendedORTHO = {nice}
freq = 190708

===Callback for nice===
ortho = nice
uniqID = 2
PartOfSpeech = NNP
SAMPA =  "nis
extendedORTHO = {nice}
freq = 190708

ROW 0: a | 1,stressed | DT/LS/NN/NNP |  "e  | {a} | 7536297 |
ROW 1: a | 2,unstressed | DT |  @  | {a} | 7536297 |
ROW 2: a | 3 | FW |  "A  | {a} | 7536297 |
ROW 3: nice | 1 | JJ |  "naIs  | {nice} | 190708 |
ROW 4: nice | 2 | NNP |  "nis  | {nice} | 190708 |
ROW 5: cold |  | JJ/NN |  "kould  | {cold} | 52844 |
ROW 6: shower |  | NN/VB/VBP |  "SaU`r  | {shower} | 7653 |
ROW 7: a | 1,stressed | DT/LS/NN/NNP |  "e  | {a} | 7536297 |
ROW 8: a | 2,unstressed | DT |  @  | {a} | 7536297 |
ROW 9: a | 3 | FW |  "A  | {a} | 7536297 |
ROW 10: nice | 1 | JJ |  "naIs  | {nice} | 190708 |
ROW 11: nice | 2 | NNP |  "nis  | {nice} | 190708 |
queryDBforSAMPA, orthoWord = cold
===Callback for cold===
ortho = cold
uniqID =
PartOfSpeech = JJ/NN
SAMPA =  "kould
extendedORTHO = {cold}
freq = 52844

ROW 0: a | 1,stressed | DT/LS/NN/NNP |  "e  | {a} | 7536297 |
ROW 1: a | 2,unstressed | DT |  @  | {a} | 7536297 |
ROW 2: a | 3 | FW |  "A  | {a} | 7536297 |
ROW 3: nice | 1 | JJ |  "naIs  | {nice} | 190708 |
ROW 4: nice | 2 | NNP |  "nis  | {nice} | 190708 |
ROW 5: cold |  | JJ/NN |  "kould  | {cold} | 52844 |
ROW 6: shower |  | NN/VB/VBP |  "SaU`r  | {shower} | 7653 |
ROW 7: a | 1,stressed | DT/LS/NN/NNP |  "e  | {a} | 7536297 |
ROW 8: a | 2,unstressed | DT |  @  | {a} | 7536297 |
ROW 9: a | 3 | FW |  "A  | {a} | 7536297 |
ROW 10: nice | 1 | JJ |  "naIs  | {nice} | 190708 |
ROW 11: nice | 2 | NNP |  "nis  | {nice} | 190708 |
ROW 12: cold |  | JJ/NN |  "kould  | {cold} | 52844 |
queryDBforSAMPA, orthoWord = shower
===Callback for shower===
ortho = shower
uniqID =
PartOfSpeech = NN/VB/VBP
SAMPA =  "SaU`r
extendedORTHO = {shower}
freq = 7653

ROW 0: a | 1,stressed | DT/LS/NN/NNP |  "e  | {a} | 7536297 |
ROW 1: a | 2,unstressed | DT |  @  | {a} | 7536297 |
ROW 2: a | 3 | FW |  "A  | {a} | 7536297 |
ROW 3: nice | 1 | JJ |  "naIs  | {nice} | 190708 |
ROW 4: nice | 2 | NNP |  "nis  | {nice} | 190708 |
ROW 5: cold |  | JJ/NN |  "kould  | {cold} | 52844 |
ROW 6: shower |  | NN/VB/VBP |  "SaU`r  | {shower} | 7653 |
ROW 7: a | 1,stressed | DT/LS/NN/NNP |  "e  | {a} | 7536297 |
ROW 8: a | 2,unstressed | DT |  @  | {a} | 7536297 |
ROW 9: a | 3 | FW |  "A  | {a} | 7536297 |
ROW 10: nice | 1 | JJ |  "naIs  | {nice} | 190708 |
ROW 11: nice | 2 | NNP |  "nis  | {nice} | 190708 |
ROW 12: cold |  | JJ/NN |  "kould  | {cold} | 52844 |
ROW 13: shower |  | NN/VB/VBP |  "SaU`r  | {shower} | 7653 |

---

admin@mako:~/Documents/Thesis/OronymCode