Coder Social home page Coder Social logo

dictionarytools's Introduction

DictionaryTools

Dictionary tools for .dic files using Python and Batch files.

How to use?

Modify the input and output filepaths for the merge of the dictionaries, then save and execute the batch file, you can tailor the batch file if you want different scripts to be executed as well as create your own.

Contents

The respository includes the following list of files:

  • dicMerger.py: merges two dictionaries and creates and output one removing comments and keeping the strings only.

  • dicDuplicateRemover.py: removes all repeated instances of a string, keeping only the first one.

  • dicInvalidRemover.py: removes all string considered invalid through the use of regular expressions, invalid strings are considered ones that have a size different from 12 characters and contain non hex characters.

  • dicValidator.py: checks that there are no repeated or invalid strings in the output .dic file.

  • merge_and_clean.bat: executes the previous scripts in the same order as they are defined.

Experiment with all these files at your own will.

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.