Git Product home page Git Product logo

Comments (2)

boudinfl avatar boudinfl commented on June 8, 2024 1

Hi @vitordouzi,

Sorry for the very late response, I finally have time to spend on checking YAKE implementation.

About (1), every model in pke uses the same default stopword list (the one provided by nltk) which can be changed using the stoplist parameter in candidate_selection(). My position here is that I do not want to have separate/different stopword lists for each model as this, as you know, greatly impacts performance.

About (2) and (3), I mainly relied on the model description in the ECIR 2018 paper to make this re-implementation and I may have missed some points. I will change my code according to the one you provided.

from pke.

boudinfl avatar boudinfl commented on June 8, 2024 1

So, these are the differences I found between ours and your implementations:

  1. In candidate_selection(), you added a filter to remove candidates that contain a first/last word with less than 3 characters.

  2. In context_building(), you changed how contexts are computed from the whole sentence to blocks. Blocks are sequences of in vocabulary words.

  3. In _feature_extraction(), you changed how WRel is computed by removing the addition of PL and RL. This is different from the equation 4 in the ECIR 2018 paper.

  4. In candidate_weighting(), you change how word weights are computed for stopwords. Here words that are less than 3 characters are also considered as stopwords.

from pke.

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.