Skip to content

kpg11001/sample_code

master
Switch branches/tags

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?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

julia sample code

Resources

Stars

Watchers

Forks

Releases

No releases published