/** @file extractor.h
 *
 *	Declaration of N-grams extraction module interface.
 *
 *	(C) Ceslav Przywara 2008, MFF UK Prague
 *
 */

#ifndef _EXTRACTOR_H
#define	_EXTRACTOR_H

#include <fstream>

// Document stats.
#include "stats.h"

namespace ace {

/** Procedure extracts N-grams from given input datafile and counts file stats.
 *	@param input_file Reference to input datafile.
 *	@param stats Reference to statistics container (to be filled with file stats).
 */
size_t extract(std::ifstream& input_file, NamedDataFileStats& stats);

} // namespace ace

#endif
