diff --git a/vocab.cpp b/vocab.cpp index 6930188..dfc6506 100755 --- a/vocab.cpp +++ b/vocab.cpp @@ -3,6 +3,9 @@ syllable::syllable(){ f = 0; e = 0; o = 0; s = 0; h = 0; v = 0; } +void syllable::reset(){ + f = 0; e = 0; o = 0; s = 0; h = 0; v = 0; +} /*** * Classify a character into f,e,o,s,h; Call during main loop * @param c the phoneme @@ -61,4 +64,4 @@ int* syllable::tointptr(){ matrix[4] = h; matrix[5] = s; return matrix; -} \ No newline at end of file +}