GithubHelp home page GithubHelp logo

akshath123 / anagram-using-lexicographic-order Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 4.09 MB

This application is developed in Java which finds the Anagram of a word using Lexicographic ordering

License: BSD 2-Clause "Simplified" License

lexicographical java mysql jswing anagram

anagram-using-lexicographic-order's Introduction

Anagram Using Lexicographic Order

Introduction

This application is developed for finding the Anagram for a given word. There is a GUI for the application which makes the it easy for the user to use the application. The term anagram means that a word, phrase, or name formed by rearranging the letters of another, such as spar, formed from rasp, eg: tea anagram is eat. Lexicographic order when applied to permutation it finds the next highest order permutation, more in detail explanation can be found here.

Motivation behind the project

This project was built in 3rd semester as a project for the subject Discreate Mathematics as part of my curriculum.

How was it done?

I labeled each word with a number from 1 to N ( where N represents the length of the word ). Next using Lexicographic ordering I found the next highest order permutation using indexing and swaped the letters accordingly giving a new word. With the new word I checked the whether the word is meaningful or not using a database. If it is a meaningful word I am presenting it to the user.

To see the demo of it click here

Note: Make sure you add the mysql-connector in the project when using the application

anagram-using-lexicographic-order's People

Contributors

akshath123 avatar

Watchers

 avatar  avatar

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.