metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ottobackwards <>
Subject [GitHub] metron pull request #667: METRON-1061 Add FUZZY_SCORE STELLAR function
Date Tue, 15 Aug 2017 00:33:25 GMT
Github user ottobackwards commented on a diff in the pull request:
    --- Diff: metron-stellar/stellar-common/ ---
    @@ -411,6 +412,14 @@ In the core language functions, we support basic functional programming
         * format - string
         * arguments... - object(s)
       * Returns: A formatted string.
    +### `FUZZY_SCORE`
    +  * Description: Returns the Fuzzy Score which indicates the similarity score between
two strings. One point is given for every matched character. Subsequent matches yield two
bonus points. A higher score indicates a higher similarity.
    +  * Input:
    +    * string - The full term that should be matched against.
    +    * string - The query that will be matched against a term.
    +    * string - The IETF BCP 47 language code to use.
    --- End diff --
    How about List Lang codes()?

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message