diff options
author | Tony Mak <tonymak@google.com> | 2019-03-01 14:03:25 +0000 |
---|---|---|
committer | Tony Mak <tonymak@google.com> | 2019-03-14 11:27:50 +0000 |
commit | 159f028b5f089a5363dc023d0accbc18766b310c (patch) | |
tree | 04076359f62abb501d1914da77428b167554c7a9 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 66b5c2761a0bb0e0e177d0496f835290f0c68e28 (diff) |
Using LangID to detect the language of the text and pass it to annotator
1. Use LangID to detect the language tags, and pass the result to
the native side.
2. Have feature flags to turn off "detectLanguageTagsFromText" and
foreign action for classification respectively.
Test: Select a non-english word, no more "define" action.
Test: atest frameworks/base/core/tests/coretests/src/android/view/textclassifier/
BUG: 123705564
BUG: 128413589
Change-Id: I6a68caca1e0709e63319907acbf8d776894f555b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions