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

Commit 2c004952 authored by Tony Mak's avatar Tony Mak
Browse files

Log also the lang id model name that is involved in events

Possible values:
und_v0, und_v1

What is it:
The model version of the LangId model file.

Who determines this value?
The textclassifier team. The model version is burnt to the model file.

Test: m
Test: atest TextClassifierServiceTest

Bug: 152490822

Change-Id: I0058536ee4e5d8e9c14e100b61683c67af28981d
parent 4c0116ee
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -8170,6 +8170,9 @@ message TextSelectionEvent {

    // Name of source package.
    optional string package_name = 11;

    // Name of the LangID model that is involved in this event.
    optional string langid_model_name = 12;
}

/**
@@ -8210,6 +8213,9 @@ message TextLinkifyEvent {

    // Name of source package.
    optional string package_name = 11;

    // Name of the LangID model that is involved in this event.
    optional string langid_model_name = 12;
}

/**
@@ -8247,6 +8253,9 @@ message ConversationActionsEvent {

    // Name of the annotator model that is involved in this event.
    optional string annotator_model_name = 10;

    // Name of the LangID model that is involved in this event.
    optional string langid_model_name = 11;
}

/**