(&self)
| 221 | } |
| 222 | |
| 223 | pub fn is_downloaded(&self) -> bool { |
| 224 | let model_file_path = self.path(); |
| 225 | |
| 226 | model_file_path.exists() |
| 227 | } |
| 228 | |
| 229 | pub fn whitelisted_lang(&self) -> Option<Vec<&'static str>> { |
| 230 | match self { |
no test coverage detected