public function test_This_is_how_you_create_a_DataModel_CSV__Case_specified_through_options()
 {
     $options = array('directory' => __DIR__, 'index' => 'main_index_for_data_tests');
     $data_model = new DataModel_CSV($options);
     $expected_index_pathname = realpath(__DIR__ . DIRECTORY_SEPARATOR . 'main_index_for_data_tests');
     $this->assertEquals($expected_index_pathname, $data_model->get_index_pathname(), "The pathname of the index file has not been set to the specified pathname.");
 }
 public static function init()
 {
     $logger = Logger::getLogger('LinguisticObjects.init');
     $data_model = new DataModel_CSV();
     // This iterator will return a hash table of attribute-value pairs, one pair for each entry of data.
     $iterator = $data_model->get_attributes_values_iterator();
     $avs = array();
     while ($iterator->next()) {
         $attributes_values = $iterator->current();
         $object = self::makeLinguisticObject($attributes_values);
     }
 }