Euphoria
nlp_sentence.h
Go to the documentation of this file.
1 #pragma once
2 
3 
4 
5 #include <functional>
6 #include <istream>
7 
8 namespace eu::core
9 {
10 
11 using TextSentence = std::vector<std::string>;
12 using OnSentenceFunction = std::function<void(const TextSentence&)>;
13 
14 
15 bool
17 
18 
19 std::string
21 
22 }
std::function< void(const TextSentence &)> OnSentenceFunction
Definition: nlp_sentence.h:12
bool parse_sentences(std::istream &data, OnSentenceFunction on_sentence)
std::vector< std::string > TextSentence
Definition: nlp_sentence.h:11
std::string from_sentence_to_string(const TextSentence &s)
core::OnSentenceFunction on_sentence
Definition: nlp_sentence.cc:89