#pragma once #include #include #include typedef std::vector Word; typedef std::vector Phrase; typedef std::pair Range; typedef std::list Ranges; bool IsA(const Phrase &source, int pos, int offset, int factor, const std::string &str); void OutputWithLabels(const Phrase &source, const Ranges ranges, std::ostream &out);