old_contents: # -*- coding: utf-8 -*-
  import data_set, weight_learner
  
  def test_weight_learner():
      section_set = [1]
      wl = weight_learner.WeightLearner()
      wl.learn_weight_sections(section_set)
      
  if __name__ == "__main__":
      test_weight_learner()
  """
      ds = data_set.DataSet(section_set=[2])
      i = 0
  
        
      a = ds.get_data('wsj_0099.mrg.3.pa.gs.tab', 4)
          
      print a.get_word_list()
      print a.get_pos_list()
      print a.get_edge_list()
   """       
  
  
new_contents: # -*- coding: utf-8 -*-
  import data_set, weight_learner
  
  def test_weight_learner():
      section_set = [1]
      wl = weight_learner.WeightLearner()
      wl.learn_weight_sections(section_set)
      #wl.learn_weight_sentence('wsj_0099.mrg.3.pa.gs.tab')
      
  if __name__ == "__main__":
      test_weight_learner()
  """
      ds = data_set.DataSet(section_set=[2])
      i = 0
  
        
      a = ds.get_data('wsj_0099.mrg.3.pa.gs.tab', 4)
          
      print a.get_word_list()
      print a.get_pos_list()
      print a.get_edge_list()
   """       
  
  
subject: update for dump and change dep_tree