#ifndef WCRFT2_SERVICE
#define WCRFT2_SERVICE

#include <nlp_service/service.h>

#include <libwcrft/tagger.h>

namespace wcrft2service {

class Wcrft2Service : public nlp_service::Service
{
public:
	Wcrft2Service(const std::string& config_path, std::string logfile_path = "",
					nlp_service::logging_lvl log_lvl = nlp_service::INFO_LVL, bool run_as_daemon = false);
	virtual ~Wcrft2Service();

	void process(std::string task_path, nlp_service::Service::task_config task_options, std::string output_path) const;
private:
	Wcrft::Tagger *tagger;
};

}	// end namespace wcrft2service

#endif	// WCRFT2_SERVICE
