Beispiel #1
0
 def test_get_signs_for_word(self):
     """
     Tries getting a sign from the grammar from an example of 
     chord input.
     
     @see: L{jazzparser.grammar.Grammar.get_signs_for_word}
     
     """
     g = Grammar()
     # Try a few words
     for word in self.dbinput.chords[:10]:
         # This should be a list of signs
         signs = g.get_signs_for_word(word)