commit | fa7115945e035db7b3b93b2eb700b72213afb9e9 | [log] [tgz] |
---|---|---|
author | Lukas Zilka <zilka@google.com> | Fri Feb 23 12:54:40 2018 +0100 |
committer | Lukas Zilka <zilka@google.com> | Fri Feb 23 13:28:21 2018 +0100 |
tree | fb06725a617cac71beb00ac52f61db540fcaa34f | |
parent | b23e2125be90bbf6124e9cd5684fc93026c5ec4d [diff] |
Adds a few boundary-condition checks, and updates the default model not to contain regexes that cause the ICU regex interpreter to hang. (sync with Google3) Bugs: 73758981 Test: Tested on device. CTS tests pass. bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest Change-Id: If4121b639df2f40c05d7eac456b92c8cf9243dd2