Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
sample_code/README.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
40 lines (26 sloc)
918 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Julia Sample Code | |
Sample txt files are located in the tests directory. | |
Included are a number of implementations of the word frequency functionality (wff) in Julia using dictionaries and user-defined types. | |
An additional implementation which uses user defined modules is also provided. | |
Start with wff_dict_verbose.jl | |
chmod +x wff_dict_verbose.jl | |
./wff_dict_verbose.jl tests/* | |
or | |
julia -i wff_dict_verbose.jl tests/* | |
## Dictionaries | |
### wff_dict_verbose.jl | |
Verbose implementation of wff using dictionaries. | |
### wff_dict.jl | |
Implementation of wff using dictionaries with compact code. | |
## Types | |
<!-- | |
### wff_types_verbose.jl | |
Verbose implementation of wff using types | |
--> | |
### wff_types.jl | |
Implementation of wff using types with compact code. | |
## Modules | |
### modules/wff.jl | |
A module which provides functions necessary for implementing wff. | |
### wff_mod.jl | |
Implementation of WFF using modules.wff.jl |