Package | Description |
---|---|
metdetection |
Modifier and Type | Method and Description |
---|---|
private static MetricalLpcfgGenerator |
Main.generateGrammar(java.util.List<java.io.File> midiFiles,
java.util.List<java.io.File> anacrusisFiles,
boolean useChannel)
Generate a grammar from the given files with the given Runner.
|
Modifier and Type | Method and Description |
---|---|
private static void |
Main.addToGrammar(MetricalLpcfg grammar,
MetricalLpcfgGenerator toAdd)
Add the grammar rules from the given generator to the given grammar.
|
private static void |
Main.extractFromGrammar(MetricalLpcfg grammar,
MetricalLpcfgGenerator toExtract)
Extract the grammar rules from the given generator from the given grammar.
|
private static void |
Main.testGrammar(java.io.File testFile,
java.util.List<java.io.File> anacrusisFiles,
boolean useChannel,
MetricalLpcfg grammar,
MetricalLpcfgGenerator correctGrammarGenerator)
Test the given Runner with the given generated grammar.
|