Bridgeconn / LanguageRecognizer

MIT License
0 stars 1 forks source link

APIs to inspect models #11

Closed kavitharaju closed 3 days ago

kavitharaju commented 2 weeks ago
  1. list_models() --> [{script_names: ..., model_name:..., features: ..., downloaded:T/F }, ....]
  2. get_model(lang_name=None, script_name=None, model_name=None) --> {script_names: ..., model_name:..., features: ..., downloaded:T/F }

These APIs shoudl return as much data as we can about the models. The fields given above are examples, add or remove fields as needed.