File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 4949    " \n "  ,
5050    " P_flatland = NgramCharModel(2, wordseq)\n "  ,
5151    " \n "  ,
52-     " faust = open_data(\" faust.txt\" ).read()\n "  ,
52+     " faust = open_data(\" GE-text/ faust.txt\" ).read()\n "  ,
5353    " wordseq = words(faust)\n "  ,
5454    " \n "  ,
5555    " P_faust = NgramCharModel(2, wordseq)" 
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ def test_char_models():
123123
124124def  test_samples ():
125125    story  =  open_data ("EN-text/flatland.txt" ).read ()
126-     story  +=  open_data ("EN-text/ gutenberg.txt" ).read ()
126+     story  +=  open_data ("gutenberg.txt" ).read ()
127127    wordseq  =  words (story )
128128    P1  =  UnigramWordModel (wordseq )
129129    P2  =  NgramWordModel (2 , wordseq )
@@ -164,7 +164,7 @@ def test_shift_decoding():
164164
165165
166166def  test_permutation_decoder ():
167-     gutenberg  =  open_data ("EN-text/ gutenberg.txt" ).read ()
167+     gutenberg  =  open_data ("gutenberg.txt" ).read ()
168168    flatland  =  open_data ("EN-text/flatland.txt" ).read ()
169169
170170    pd  =  PermutationDecoder (canonicalize (gutenberg ))
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments