Add tsne function

Change-Id: Ibb4833680de51d1933b2832cad09a14ca61443fa
diff --git a/test/Manifest.toml b/test/Manifest.toml
index a60d89e..727433c 100644
--- a/test/Manifest.toml
+++ b/test/Manifest.toml
@@ -2,7 +2,7 @@
 
 julia_version = "1.8.0-rc3"
 manifest_format = "2.0"
-project_hash = "1b4a16b3f8a1675213bbd2d4e92d26b3edac6bb1"
+project_hash = "4526976820679e298f05f54b1d1c43ded7c1663b"
 
 [[deps.ArgTools]]
 uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f"
@@ -60,6 +60,12 @@
 deps = ["Mmap"]
 uuid = "8bb1440f-4735-579b-a4ab-409b98df4dab"
 
+[[deps.Distances]]
+deps = ["LinearAlgebra", "SparseArrays", "Statistics", "StatsAPI"]
+git-tree-sha1 = "3258d0659f812acde79e8a74b11f17ac06d0ca04"
+uuid = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7"
+version = "0.10.7"
+
 [[deps.Distributed]]
 deps = ["Random", "Serialization", "Sockets"]
 uuid = "8ba89e20-285c-5b6f-9357-94700520ee1b"
@@ -182,6 +188,12 @@
 deps = ["Unicode"]
 uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7"
 
+[[deps.ProgressMeter]]
+deps = ["Distributed", "Printf"]
+git-tree-sha1 = "d7a7aef8f8f2d537104f170139553b14dfe39fe9"
+uuid = "92933f4c-e287-5a05-a399-4b506db050ca"
+version = "1.7.2"
+
 [[deps.REPL]]
 deps = ["InteractiveUtils", "Markdown", "Sockets", "Unicode"]
 uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
@@ -223,11 +235,23 @@
 deps = ["LinearAlgebra", "SparseArrays"]
 uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
 
+[[deps.StatsAPI]]
+deps = ["LinearAlgebra"]
+git-tree-sha1 = "2c11d7290036fe7aac9038ff312d3b3a2a5bf89e"
+uuid = "82ae8749-77ed-4fe6-ae5f-f523153014b0"
+version = "1.4.0"
+
 [[deps.TOML]]
 deps = ["Dates"]
 uuid = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
 version = "1.0.0"
 
+[[deps.TSne]]
+deps = ["Distances", "LinearAlgebra", "Printf", "ProgressMeter", "Statistics"]
+git-tree-sha1 = "6f1dfbf9dad6958439816fa9c5fa20898203fdf4"
+uuid = "24678dba-d5e9-5843-a4c6-250288b04835"
+version = "1.3.0"
+
 [[deps.TableTraits]]
 deps = ["IteratorInterfaceExtensions"]
 git-tree-sha1 = "c06b2f539df1c6efa794486abfb6ed2022561a39"
diff --git a/test/runtests.jl b/test/runtests.jl
index 66e3609..9f1536b 100644
--- a/test/runtests.jl
+++ b/test/runtests.jl
@@ -48,10 +48,15 @@
             df = get_collocates(wpd19, "werden")
             @test df.collocate[1] == "kann"
             @test df.ldaf[1] > 10
-            @test df.ldaf[1] > df.ldaf[3]
+            @test df.ldaf[1] > df.ldaf[2]
             @test nrow(get_collocates(wpd19, 3, 1)) == 1
             @test nrow(get_collocates(wpd19, 3, 2)) == 2
         end
     end
 
+    @testset "DerekoVecs.jl: TSne plot" begin
+        df = DerekoVecs.tsne([wpd19], ["werden", "kann"], 5)
+        @test nrow(df) == 10
+        plotTsne([wpd19], ["werden", "kann"], 5)
+    end
 end