LanguageModel currently works only on Android. There are plans to launch content suggestions (that use LanguageModel) on iOS. There are two tasks to be done:
- create an iOS factory
(similar to chrome/browser/translate/language_model_factory.cc)
- feed CLD data to the model
(similar to https://cs.chromium.org/chromium/src/chrome/browser/translate/chrome_translate_client.cc?l=314)
(another minor ContentSuggestions-related task is to pass the LanguageModel to RemoteSuggestionsFetcher in ios_chrome_content_suggestions_service_factory)
The factory seems easy, I am not sure I understand what the client is supposed to do.
I am also not sure to understand what the LanguageModel is doing.
Comment 1 by jkrcal@chromium.org
, Apr 26 2017