Clone this repo:
  1. 01652c1 Uprev new code and remove C++17 workarounds. by Amanda Deacon · 3 months ago factory-puff-13813.B firmware-asurada-13885.B firmware-quiche-13883.B master release-R90-13816.B release-R91-13904.B stabilize-13768.B stabilize-13799.B stabilize-13816.40.B stabilize-13816.51.B stabilize-13821.B stabilize-13836.B stabilize-13851.B stabilize-13856.B stabilize-13895.B stabilize-coil-13902.B stabilize-glibc-13901.B stabilize-rust-13776.B stabilize-rust-13795.B stabilize-rust-13836.B
  2. 35482ec libtextclassifier: add Amanda to OWNER by Honglin Yu · 3 months ago
  3. 4c965f1 Uprev tclib to suppress neural network model's dict outputs by Honglin Yu · 6 months ago factory-dedede-13683.B factory-test-13683.B factory-volteer-13600.B factory-zork-13700.B firmware-dedede-13606.B firmware-volteer-13672.39.B firmware-volteer-13672.47.B firmware-volteer-13672.81.B firmware-volteer-13672.B release-R88-13597.B release-R89-13729.B stabilize-13591.B stabilize-13597.103.B stabilize-13597.105.B stabilize-13597.66.B stabilize-13597.67.B stabilize-13597.68.B stabilize-13597.69.B stabilize-13597.70.B stabilize-13597.71.B stabilize-13597.84.B stabilize-13597.85.B stabilize-13597.90.B stabilize-13597.94.B stabilize-13597.95.B stabilize-13597.97.B stabilize-13605.B stabilize-13654.B stabilize-13729.16.B stabilize-13729.45.B stabilize-13729.49.B stabilize-13729.56.B stabilize-13729.57.B stabilize-13729.72.B stabilize-ambassador-13597.79.B stabilize-quickfix-13597.30.B stabilize-quickfix-13729.60.B stabilize-quickfix-13729.73.B stabilize-quickfix-13729.84.B stabilize-rust-13613.B stabilize-rust-13720.B
  4. 9668a42 make tclib use the vocab based model. by Honglin Yu · 6 months ago firmware-trogdor-13577.B
  5. ecd17cc ml: uprev tclib to potentially support vocab by Honglin Yu · 6 months ago stabilize-rust-13555.B stabilize-rust-13562.B

libtextclassifier

A library for on-device text classification (address, telephone number, emails etc.).

Usage in Chrome OS

To use libtextclassifier, one also needs to install a flatbuffer model defined in “model.fbs”. For simplicity, this model file will be installed in the ebuild of ml-service.

And libtextclassifier currently depends on the chrome-icu package which requires explicitly initializing the icu data, just like chrome.

The ml-service is currently the only user of this library. If another library in Chrome OS also wants to use it, please let the owners of ml-service and libtextclassifier know because then,

  1. we need to make libtextclassifier into a shared library to save space;
  2. we may also need to move the installation of libtextclassifier‘s model file into libtextclassifier’s ebuild.