History log of /external/libtextclassifier/types.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ba849e7b63cdf4a38e6ef1a5a9ffd60567d7c40b 08-Mar-2018 Lukas Zilka <zilka@google.com> Fixes crashes by making native library thread-safe, makes Annotate calls much faster by
re-using tokens, fixes default values in enums in FlatBuffer schema.

Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest

Bug: 74193987
Bug: 68239358
Change-Id: Ic5ca42b628280bece59d31203748072084ac452c
(cherry picked from commit 2191547d7109587d73077f9d4818c691f7d7dafb)
Merged-In: Ic5ca42b628280bece59d31203748072084ac452c
/external/libtextclassifier/types.h
df710db0da01c5f470ead4f7518ba142c4117dae 27-Feb-2018 Lukas Zilka <zilka@google.com> Roll forward (ag/3652360): Adds a few boundary-condition checks, and updates the default model not to contain regexes that cause the ICU regex interpreter to hang.

- the core problem was wrong version of the model
- this went through because I was unaware of the difference between coretests and cts (so should this arise next time, it should be caught at my machine locally, and latest in presubmit robot that now runs the right tests cr/187097855)

Bugs: 73758981
Bugs: 73849149
Test: Tested on device. CTS and core tests pass.

bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
bit CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest

Change-Id: I82f7aeaa7fbe3af6c043ec055686efae0d2e9383
/external/libtextclassifier/types.h
3cd8fc204df54aaf637df85db45c408fab50aa40 26-Feb-2018 Abodunrinwa Toki <toki@google.com> Revert "Adds a few boundary-condition checks, and updates the default model not to contain regexes that cause the ICU regex interpreter to hang."

This reverts commit fa7115945e035db7b3b93b2eb700b72213afb9e9.

Reason for revert: This is blocking pre-submit tests.

android.view.textclassifier.cts.TextClassificationManagerTest.testGenerateLinks() failing.

Bug: 73849149
Change-Id: I5fd052886094aaa5b6d2519123eca4705ba81463
/external/libtextclassifier/types.h
fa7115945e035db7b3b93b2eb700b72213afb9e9 23-Feb-2018 Lukas Zilka <zilka@google.com> 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
/external/libtextclassifier/types.h
b23e2125be90bbf6124e9cd5684fc93026c5ec4d 09-Feb-2018 Lukas Zilka <zilka@google.com> Sync from google3.

Bug: 68239358
Test: Builds. Tested on device. CTS test passes.

bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest

Change-Id: Ie5e20b06b1c615ab246e7ed7f08e980e61c492c4
/external/libtextclassifier/types.h
21d8c98fb12bc83dd0e9f5cb8fa9197ef325e074 24-Jan-2018 Lukas Zilka <zilka@google.com> Sync of lib2 to AOSP.

Model comes from experiment: 2524_BoundsEnglishv5_R1

Bug: 68239358
Test: Builds & tested on device.
Change-Id: I65cb7f0b067b68e3e1c22ee87232555887446089
/external/libtextclassifier/types.h