| 68 | } |
| 69 | |
| 70 | inline int mode_normalize_model(int argc, const char** argv) { |
| 71 | THolder<NCB::IModeNormalizeModelImplementation> impl; |
| 72 | if (NCB::TModeNormalizeModelImplementationFactory::Has(NCB::EImplementationType::YandexSpecific)) { |
| 73 | impl.Reset(NCB::TModeNormalizeModelImplementationFactory::Construct(NCB::EImplementationType::YandexSpecific)); |
| 74 | } else { |
| 75 | CB_ENSURE(NCB::TModeNormalizeModelImplementationFactory::Has(NCB::EImplementationType::OpenSource), |
| 76 | "Missing normalize-model implementation"); |
| 77 | impl.Reset(NCB::TModeNormalizeModelImplementationFactory::Construct(NCB::EImplementationType::OpenSource)); |
| 78 | } |
| 79 | return impl->mode_normalize_model(argc, argv); |
| 80 | } |
nothing calls this directly
no test coverage detected