Fixed a few minor problems with debug output showing up in the wrong order
Find All Permutations appears to do the same thing as my debug output, just

with less debug output.

My next steps are:
(1) To make it so that you can return more than one SAMPA per ortho`
(2) To make interpret phrase work
Created a wordBreakdown.h, prepped for multi-SAMPA

It *does not* run right now, due to strategically placed asserts.

I've extracted all the header stuff into a .h file, which is good.

I also prepped the code a bit for being able to have more than one
SAMPA per ortho (which is possible, and important).
Fixed getSAMPA for changed signature. Not run or compiled.
Successfully returned multiple SAMPA phone phrases for single ortho.

To fix:
(1) why is there a trailing space on all the phoneme breakdowns?
(2) I need a new phrase with all the " % $s in them
(3) do I want the " % $ stuff? or should I parse that out?

Next big step: to interpret phrase.

admin@mako:~/Documents/Thesis/OronymCode $ ./wordBreakdown
DATABASE SUCCESSFULLY OPENED
FIND ALL PERMUTATIONS
queryDBwithOrthoForSAMPA, orthoWord = A
===Callback for A===
SAMPA =  "e

===Callback for A===
SAMPA =  @

===Callback for A===
SAMPA =  "A

Database results size = 3
ROW 0:  "e  |
ROW 1:  @  |
ROW 2:  "A  |
 "e   @   "A
 After clear, database results size = 0
 0:  _"_e_ _
 1:  _@_ _
 2:  _"_A_ _
 queryDBwithOrthoForSAMPA, orthoWord = nice
 ===Callback for nice===
 SAMPA =  "naIs

 ===Callback for nice===
 SAMPA =  "nis

 Database results size = 2
 ROW 0:  "naIs  |
 ROW 1:  "nis  |
  "naIs   "nis
  After clear, database results size = 0
  0:  _"_n_aI_s_ _
  1:  _"_n_i_s_ _
  queryDBwithOrthoForSAMPA, orthoWord = cold
  ===Callback for cold===
  SAMPA =  "kould

  Database results size = 1
  ROW 0:  "kould  |
   "kould
   After clear, database results size = 0
   0:  _"_k_ou_l_d_ _
   queryDBwithOrthoForSAMPA, orthoWord = shower
   ===Callback for shower===
   SAMPA =  "SaU`r

   Database results size = 1
   ROW 0:  "SaU`r  |
    "SaU`r
    After clear, database results size = 0
    0:  _"_S_aU_`r_ _
    Assertion failed: (0), function findAllPermutations, file wordBreakdown.cpp, line 91.
    Abort trap: 6
Extra whitespaces from DB query results removed

Now, to figure out if I want the emphasis matches stored or not.

I think I do. But it complicates things. Now I want to put phones in a tuple with
their SAMPA and their emphases.  But is that too much work?...Maybe.

Will I use that data?  I'll almost certainly need it if I want to implement
note intervals or BRS stuff. So I really should do it.

But it's not needed for right now. And I kind of need to get things down right now.

I just need to weigh whether it's really important for *this moment*.

The truth is, it isn't. But it's important for pretty much EVERY other part.

When you resume, look at line 82 and beyond. Work from there in your head.
That'll help you decide what to do.

NEXT STEP: using each word's sampa, create full sampa phrases--ALL permutations.

Perhaps separate out "interpret phrase" from "find all permutations"
Added a bunch of scrivener stuff I've had for a while

Also, in 126.rtf, I have ideas for how to structure my thesis so I can use
all my work without having to integrate it all.