Giter Club home page Giter Club logo

Comments (4)

cocoxu avatar cocoxu commented on August 22, 2024

"For deletion, we only use precision because overdeleting hurts readability much more significantly than not deleting". The python and java implementations of SARI follow this rule. However, STAR (corpus-level SARI) does not. We made this decision for STAR very arbitrarily, since there weren't enough data to verify STAR's correlation with human judgements, given the limited number and varieties of text simplification systems back in 2016.

As for your second question -- I am not sure how you randomly selected the sentence, and why they would have very hight STAR scores. You may want to look into the separate Delete/Add/Keep scores, as well as SARI scores to figure out the reasons.

from simplification.

ybz79 avatar ybz79 commented on August 22, 2024

Many thanks for your reply!

As for the second question, I found that STAR.java might use the hardcode and fix the number of reference sentences to 8, which may cause this problem when testing on 1-reference corpus.

HashMap src_sub_cand = substractHashMap(srcNgramCounts[i][n], candNgramCounts[n], 8, 8);
HashMap src_sub_ref  = substractHashMap(srcNgramCounts[i][n], refNgramCounts[i][n], 8, 1);
HashMap src_sub_cand_sub_ref = intersectHashMap(src_sub_cand, src_sub_ref, 1, 1)

from simplification.

cocoxu avatar cocoxu commented on August 22, 2024

Thanks for pointing this out!

I mostly used SARI for the paper and experiments, though wrote the STAR at some point during the project and released it just in case it might be useful to some people. I added your comments to the README as a temporal "fix" for now.

from simplification.

ybz79 avatar ybz79 commented on August 22, 2024

Many thanks for your reply, I have no more questions.

from simplification.

Related Issues (14)

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.