/*
    Copyright (C) 2012 Bartosz Broda, Jacek Bochenek, Łukasz Biłeńkij, 
    Damian Jaworski, Wojciech Mazur, Dominik Piasecki, Maciej Piasecki, 
    Radosław Ramocki
    
    This program is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 3 of the License, or (at your option)
any later version.

    This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. 

    See the LICENSE and COPYING files for more details.
*/

#ifndef BUILDER_CONFIG_H
#define BUILDER_CONFIG_H
#include <vector>
#include <set>
#include <string>

#include "operator.h"

namespace builder{

struct config
{
	std::vector<std::string> corpora;
	std::string reader_class;
	std::string tagset;
	std::string outfile;

	std::vector<Operator> operators;

	/*std::string operator_string; // from operator file
	std::string relation_name; // from operator file
	std::set<std::string> operator_poses; // from operator file
	std::set<std::string> row_poses; // from operator file*/

	size_t dump_interval;

	bool append_pos;  //TODO 'tis unused but should be

	static config parse_args(int ac, char **av);
	
private:
	void parse_operator(Operator & oper, const std::string & filename) const;
	
}; // struct config

}

#endif //BUILDER_CONFIG_H
