Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72482d91 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Updating the text classifier model path"

parents 39b9f424 67d234d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ final class TextClassifierImpl implements TextClassifier {
    private static final String MODEL_DIR = "/etc/textclassifier/";
    private static final String MODEL_FILE_REGEX = "textclassifier\\.smartselection\\.(.*)\\.model";
    private static final String UPDATED_MODEL_FILE_PATH =
            "/data/misc/textclassifier/textclassifier.smartselection.model";
            "/data/misc/textclassifier/textclassifier.model";
    private static final List<String> ENTITY_TYPES_ALL =
            Collections.unmodifiableList(Arrays.asList(
                    TextClassifier.TYPE_ADDRESS,
+2 −2
Original line number Diff line number Diff line
@@ -21,8 +21,8 @@ public class SmartSelectionInstallReceiver extends ConfigUpdateInstallReceiver {
    public SmartSelectionInstallReceiver() {
        super(
            "/data/misc/textclassifier/",
            "textclassifier.smartselection.model",
            "metadata/smartselection",
            "textclassifier.model",
            "metadata/classification",
            "version");
    }