Coder Social home page Coder Social logo

larrykollar / reuse_analyzer Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 3 KB

Analyzes a set of text files and generates a report of matches and near-matches. Use for reuse analysis or finding inconsistencies.

Awk 100.00%
awk-script dita fuzzy-search text-analysis

reuse_analyzer's People

Contributors

larrykollar avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

reuse_analyzer's Issues

The report has redundancies for groups of 3+

If there is a group of three or more matches, like this:

Matches for file1.txt block 3:
foo bar baz
    file2.txt block 7 (ratio 1):
    foo bar baz
    flle3.txt block 12 (ratio 1):
    foo bar baz

Then there will be a redundant group all but the first match:

Matches for file2.txt block 7:
foo bar baz
    flle3.txt block 12 (ratio 1):
    foo bar baz

A second script, that takes the piped input from the report, would be a good way to weed out redundant groups.

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.