AI Search Microsoft analyzer en.microsoft token 'NN240' what does nn mean?

chris.c.zhao chris.c.zhao 25 Reputation points
2024-02-06T19:16:46.9133333+00:00

AI Search Microsoft analyzer en.microsoft token 'nn240' what does nn mean? the input is '240-47-7007', output: [{'token': '240-47-7007', 'startOffset': 0, 'endOffset': 11, 'position': 0}, {'token': '240', 'startOffset': 0, 'endOffset': 3, 'position': 0}, {'token': 'nn240', 'startOffset': 0, 'endOffset': 3, 'position': 0}, {'token': '47', 'startOffset': 4, 'endOffset': 6, 'position': 1}, {'token': 'nn47', 'startOffset': 4, 'endOffset': 6, 'position': 1}, {'token': '7007', 'startOffset': 7, 'endOffset': 11, 'position': 2}, {'token': 'nn7007', 'startOffset': 7, 'endOffset': 11, 'position': 2}] what does nn means inn 'token': 'nn47' ?

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
1,350 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 25,111 Reputation points Microsoft Employee Moderator
    2024-02-08T09:17:48.7033333+00:00

    @chris.c.zhao chris.c.zhao Thanks for your patience on this. I have checked with internal team and they has confirmed that nn means normalizednumber.

    A tangible example of this would be numbers with formatting characters. Both the original value and "nn" version are stored as tokens. For example, 1,200 becomes the following tokens:

    "tokens": [
            {
                "token": "1,200",
                "startOffset": 0,
                "endOffset": 5,
                "position": 0
            },
            {
                "token": "nn1200",
                "startOffset": 0,
                "endOffset": 5,
                "position": 0
            }
        ]
    
    

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.