Skip to content

HRahman1777/Word-Filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wakatime

Word Filter

Table of Contents

Intro

Word Filter শব্দ দুইটি থেকে আমরা ধারণা করতে পারতেসি যে অনেক গুলো শব্দ থেকে কাংখিত শব্দটা ফিল্টার/খুজে বাহির করার একটা সিস্টেম। এই Word Filter সিস্টেমটা এই ভাবে কাজ করে। যেমন ধরি শব্দ ভান্ডারে কয়েকটি শব্দ আছে cover, world, think, chest, eager, apple, night, anger, purge এখান থেকে যদি filter(বাছাই) করা হয় এমন একটি শব্দকে

  • যার মধ্যে e, g  আছে

    • তাহলেঃ anger, eager, purge
  • যার মধ্যে  t, c, n নাই

    • তাহলেঃ world, eager, apple, purge
  • যদি উপরের ২টা এক সাথে ফিল্টার করি মানে e,g আছে আর  t, c, n নাই

    • তাহলেঃ eager, purge
  • এই ফলাফল থেকে যদি ফিল্টার করা হয় যে এমন শব্দ যার ৪র্থ বর্ণ g দিয়ে তাহলে পাবো purge, এর থেকে আর ফিল্টার করা যাবে না, এইটাই আমাদের কাংখিত শব্দ।


এই PRESENT আর NOT-PRESENT LETTERS ব্যবহারকারি Input হিসবে দিবে আর সিস্টেম (শব্দ ভান্ডার থেকে) সেই অনুযায়ী ফলাফল দিবে বাছাই করে।

  • (PRESENT LETTERS) বলতে কোন কোন বর্ণ কাংখিত শব্দে আছে,
  • (NOT-PRESENT LETTERS) কোন কোন বর্ন গুলো কাংখিত শব্দে নাই

এই ফিল্টার সিস্টেমটা Wordle Game থেকে অনুপ্রানিত হয়ে Word-Filter type কিছু বানানোর ক্ষদ্র চেষ্টা করা হয়েছে, যদিও এইটা পুরপুরি wordle solver না তবে আশা করি word guess করতে বেশ সাহায্য করবে।


*** Target was to design a filtering word system and most importantly develop a simple console project with Node.js


Requirements

For development, you will only need Node.js and a node global package, Yarn, installed in your environement.

Node (1)

  • Node installation on Windows

    Just go on official Node.js website and download the installer. Also, be sure to have git available in your PATH, npm might need it (You can find git here).

  • Node installation on Ubuntu

    You can install nodejs and npm easily with apt install, just run the following commands.

    $ sudo apt install nodejs
    $ sudo apt install npm
    
  • Other Operating Systems

    You can find more information about the installation on the official Node.js website and the official NPM website.

If the installation was successful, you should be able to run the following command.

$ node --version
v17.7.1

$ npm --version
8.5.4

Yarn installation (2)

After installing node, this project will need yarn too, so just run the following command.

  $ npm install -g yarn

Install and Use

Go to a specific folder where you want to store project files then open terminal console.

$ git clone https://github.com/HRahman1777/Word-Filter.git
$ cd Word-Filter
$ yarn install

OR

  • Just download as a ZIP and extract

Running the project

$ yarn start

Follow all instructions that appears after running this command.

Screenshot

Screen recorded video -> click here

Main Console

Index

Contact

Hasibur Rahman - [email protected]

If face any issue PLEASE share in Discussions section.

About

Filter word with different ways from a word-file.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published