| 734 | } |
| 735 | |
| 736 | static bool isCustomModel(const Specification::Model& model) { |
| 737 | return (model.Type_case() == Specification::Model::kCustomModel); |
| 738 | } |
| 739 | |
| 740 | static bool isAppleWordTagger(const Specification::Model& model) { |
| 741 | return (model.Type_case() == Specification::Model::kWordTagger); |