Package jazzparser :: Package backoff
[hide private]
[frames] | no frames]

Source Code for Package jazzparser.backoff

 1  """Modelling without parsing 
 2   
 3  This module is for baseline models that do not use grammars to model  
 4  the syntax of music, but model the tonal-space semantics directly.  
 5  We do not expect this to be a good approach, but are implementing it  
 6  for comparison, so we can see how much is added by use of the human  
 7  knowledge and higher-level structure in the grammar, using a parsing  
 8  approach. 
 9   
10  """ 
11  """ 
12  ============================== License ======================================== 
13   Copyright (C) 2008, 2010-12 University of Edinburgh, Mark Granroth-Wilding 
14    
15   This file is part of The Jazz Parser. 
16    
17   The Jazz Parser is free software: you can redistribute it and/or modify 
18   it under the terms of the GNU General Public License as published by 
19   the Free Software Foundation, either version 3 of the License, or 
20   (at your option) any later version. 
21    
22   The Jazz Parser is distributed in the hope that it will be useful, 
23   but WITHOUT ANY WARRANTY; without even the implied warranty of 
24   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
25   GNU General Public License for more details. 
26    
27   You should have received a copy of the GNU General Public License 
28   along with The Jazz Parser.  If not, see <http://www.gnu.org/licenses/>. 
29   
30  ============================ End license ====================================== 
31   
32  """ 
33  __author__ = "Mark Granroth-Wilding <mark.granroth-wilding@ed.ac.uk>"  
34   
35  from .loader import get_backoff_builder 
36   
37  BUILDERS = { 
38      'ngram' : ('ngram','HmmPathBuilder'), 
39      'midingram' : ('ngram','MidiHmmPathBuilder'), 
40  } 
41