Skip to content

The example ApplyCustomWordEmbedding is not correct, "product" is not found. #6078

Done

Description

@stamen-petrov

The example ApplyCustomWordEmbedding is not correct, because the method NormalizeText in ML 1.6, has by default keepPunctuation = true, which leads to extracting "product.", not "product". The output is as shown, but the explanation is not, because the 2nd position of the output should be -2, if "product" is considered. I suggest either to remove the "product" row from the custom embeddings, or modify the example accordingly.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Activity

  1. added
    documentation
    on Feb 8, 2022
  2. added this to the ML.NET Future milestone on Feb 8, 2022
  3. added
    Priority:3
    area-Transforms
    and removed on Sep 8, 2026
  4. added
    in-pr
    on Nov 26, 2026
  5. added a commit that references this issue on Nov 28, 2026
    98148ef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority:3area-Transformsdocumentationgreenin-pr

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions