23 #ifndef USE_STD_NAMESPACE 24 #include "base/commandlineflags.h" 32 "Display cloud of this font, canonical_class1");
34 "Display canonical sample of this font, canonical_class2");
47 int main(
int argc,
char **argv) {
52 argc, argv,
false, NULL, &file_prefix);
57 if (FLAGS_display_cloud_font >= 0) {
58 #ifndef GRAPHICS_DISABLED 60 FLAGS_display_cloud_font,
61 FLAGS_canonical_class2.c_str(),
62 FLAGS_display_canonical_font);
63 #endif // GRAPHICS_DISABLED 65 }
else if (!FLAGS_canonical_class1.empty()) {
67 FLAGS_canonical_class2.c_str());
void ParseArguments(int *argc, char ***argv)
INT_PARAM_FLAG(display_cloud_font, -1, "Display cloud of this font, canonical_class1")
MasterTrainer * LoadTrainingData(int argc, const char *const *argv, bool replication, ShapeTable **shape_table, STRING *file_prefix)
void WriteShapeTable(const STRING &file_prefix, const ShapeTable &shape_table)
void DebugCanonical(const char *unichar_str1, const char *unichar_str2)
STRING_PARAM_FLAG(canonical_class1, "", "Class to show ambigs for")
int main(int argc, char **argv)
const ShapeTable & master_shapes() const
void DisplaySamples(const char *unichar_str1, int cloud_font, const char *unichar_str2, int canonical_font)