Turi Create  4.0
content_interpretation.hpp
1 /* Copyright © 2017 Apple Inc. All rights reserved.
2  *
3  * Use of this source code is governed by a BSD-3-clause license that can
4  * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
5  */
6 #ifndef TURI_UNITY_TOOLKITS_CONTENT_INTERPRETATION_H
7 #define TURI_UNITY_TOOLKITS_CONTENT_INTERPRETATION_H
8 
9 #include <core/data/sframe/gl_sarray.hpp>
10 #include <core/data/flexible_type/flexible_type.hpp>
11 
12 namespace turi { namespace feature_engineering {
13 
14 bool content_interpretation_valid(gl_sarray data, const flex_string& interpretation);
15 flex_string infer_content_interpretation(gl_sarray data);
16 flex_string infer_string_content_interpretation(gl_sarray data);
17 
18 }}
19 
20 #endif /* CONTENT_INTERPRETATION_H */
std::string flex_string