Skip to content
julia sample code
Branch: master
Clone or download
kirk gardner
kirk gardner more
Latest commit 87573b0 Apr 3, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
modules modules Apr 3, 2018
tests dict examples Apr 3, 2018
README.md modules Apr 3, 2018
test.sh more Apr 3, 2018
wff_dict.jl more Apr 3, 2018
wff_dict_verbose.jl more Apr 3, 2018
wff_mod.jl more Apr 3, 2018
wff_type.jl more Apr 3, 2018

README.md

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.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

You can’t perform that action at this time.