From 9e36fcbfbf1de3e1c968d01c6240ac195f28bc49 Mon Sep 17 00:00:00 2001 From: Ayushk4 Date: Mon, 12 Aug 2019 18:07:38 +0530 Subject: [PATCH] Add Statistics to Project.toml --- Project.toml | 25 +++++++++++++------------ test/ner.jl | 2 +- test/runtests.jl | 9 +++------ 3 files changed, 17 insertions(+), 19 deletions(-) diff --git a/Project.toml b/Project.toml index aa12254..9fb316f 100644 --- a/Project.toml +++ b/Project.toml @@ -4,20 +4,21 @@ license = "MIT" desc = "Julia package for text analysis" [deps] -WordTokenizers = "796a5d58-b03d-544a-977e-18100b691f6e" -DataDeps = "124859b0-ceae-595e-8997-d05f6a7a8dfe" -Languages = "8ef0a80b-9436-5d2c-a485-80b904378c43" -DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" -DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8" -Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c" -Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c" -SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" -LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" -BSON = "fbb218c0-5317-5bc6-957e-2ee96dd4b1f0" -Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7" +BSON = "fbb218c0-5317-5bc6-957e-2ee96dd4b1f0" +Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c" +Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7" +Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c" +DataDeps = "124859b0-ceae-595e-8997-d05f6a7a8dfe" +Languages = "8ef0a80b-9436-5d2c-a485-80b904378c43" +DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" +Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" +SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" +LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" +DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8" +WordTokenizers = "796a5d58-b03d-544a-977e-18100b691f6e" [compat] -julia = "1" +julia = "1.0" [extras] Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" diff --git a/test/ner.jl b/test/ner.jl index da97453..9430958 100644 --- a/test/ner.jl +++ b/test/ner.jl @@ -1,4 +1,4 @@ -using WordTokenizers, TextAnalysis, Test +using WordTokenizers @testset "NER" begin ner = NERTagger() diff --git a/test/runtests.jl b/test/runtests.jl index 0b45c79..dbfc5e0 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,13 +1,12 @@ -println("Running tests:") -include("ner.jl") - -module TestTextAnalysis using SparseArrays using Test using Languages using TextAnalysis using WordTokenizers +println("Running tests:") + +include("ner.jl") include("coom.jl") include("crf.jl") include("tokenizer.jl") @@ -27,5 +26,3 @@ include("bayes.jl") include("taggingschemes.jl") include("averagePerceptronTagger.jl") include("evaluation_metrics.jl") - -end