Giter Site home page Giter Site logo

Restrictions on matching mode about drain3 HOT 2 CLOSED

logpai avatar logpai commented on July 21, 2024
Restrictions on matching mode

from drain3.

Comments (2)

davidohana avatar davidohana commented on July 21, 2024

Hi Boris,
So indeed, Drain uses word count at the root of the search tree, so a user name with multiple words will generate a new template.
I think that the suggestions you had are pretty fundamental and should be thoroughly tested before being integrated into Drain3.
Other simper options you might consider:
(1) Use regex masking if possible, to pre-mask usernames into a single token before Drain.
(2) Consolidate multiple sequential <*> into one . This can be an opt-in feature we can add to Drain3.

David

from drain3.

Boris-2021 avatar Boris-2021 commented on July 21, 2024

Hi Boris, So indeed, Drain uses word count at the root of the search tree, so a user name with multiple words will generate a new template. I think that the suggestions you had are pretty fundamental and should be thoroughly tested before being integrated into Drain3. Other simper options you might consider: (1) Use regex masking if possible, to pre-mask usernames into a single token before Drain. (2) Consolidate multiple sequential <*> into one . This can be an opt-in feature we can add to Drain3.

David

Thank you for you advise

Boris

from drain3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.