/dictionary

Simple console based dictionary with Trie.

Primary LanguageCMIT LicenseMIT

Dictionary

A simple console based dictionary in C using the Trie data structure.

How it works

All the words from the dictionary.txt file is added to the Trie, and then per input all the words that match or are possible matches for the input is printed on to the screen.

Build & Run

You will need a standards-compliant C compiler, the standard C library with header files, and make. On Debian GNU/Linux and derivatives, you can install these with

$ apt install build-essential

After that clone the repository and cd into it

$ git clone https://github.com/xemeds/dictionary.git

$ cd dictionary

Build and run with

$ make

$ ./dictionary

References

Dictionary file: https://github.com/dwyl/english-words/

License

This project is under the MIT license.