commit | bbe43dfd97c01364e46df452be4c99536d64e4fb | [log] [tgz] |
---|---|---|
author | Jan Althaus <jalt@google.com> | Thu Nov 30 15:01:40 2017 +0100 |
committer | Jan Althaus <jalt@google.com> | Fri Dec 01 10:37:01 2017 +0100 |
tree | 2964448e11b27f7561efd369200eeee6b21eedb5 | |
parent | 05013b377266f9e4e2651c6aa819960479dc3676 [diff] |
Storage refactor for EntityConfidence Caching the sorted entity list so users don't need to be careful to cache the result of getEntities (previously dont by TextSelection and TextClassification, but not TextLink). Also switched to ArrayMap as it's better suited for small maps like the ones generated by the classifier. Test: Ran FrameworksCoreTests Change-Id: I08cc9f72146ccab88b6a3624f3775a366c814f7a