From a51b78caa146acd7f216ee214e221c1be63e0ba6 Mon Sep 17 00:00:00 2001 From: drizk1 Date: Sun, 8 Oct 2023 23:10:13 -0400 Subject: [PATCH] gettin pkg ready --- .DS_Store | Bin 6148 -> 6148 bytes src/TidierText.jl | 2 +- src/docstrings.jl | 16 ++++++++-------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.DS_Store b/.DS_Store index e12d4f55261536a04ae745263b20373ff09691bc..db27f7c773e3eaf27b22a0c981d3c35d2c24252c 100644 GIT binary patch delta 113 zcmZoMXffEJ#u95(&cMLH!l1{H&XCDalAG`1l9ZF51Qg@wSj+EuIrFF^s(cDw`GO3? c;N<+=0-zoS2Bw6~%`B#jjAEO2vU&>v09q>?K>z>% delta 113 zcmZoMXffEJ#u6)@$H2hA!l1{H&XCDalAG`1l9ZF51Qg={;`VcyM;%e+Q}D_cWEch~ a=jRpx^)N6nZrI$+V#>& df = DataFrame( - text = [ - "The fox runs.", - "The sun rises."], doc = [1, 2]); +julia> df = DataFrame( + text = [ + "The fox runs.", + "The sun rises."], doc = [1, 2]); -julia> @unnest_character_shingles(df, term, text, 10, to_lower = false, strip_non_alphanum = true) +julia> @unnest_character_shingles(df, term, text, 10, to_lower = false, strip_non_alphanum = true) 7×2 DataFrame Row │ doc term │ Int64 String @@ -279,7 +279,7 @@ julia> @unnest_character_shingles(df, term, text, 10, to_lower = false, strip_n 6 │ 2 esunrise 7 │ 2 sunrises -julia> @unnest_character_shingles(df, term, text, 10, to_lower = true, strip_non_alphanum = false) +julia> @unnest_character_shingles(df, term, text, 10, to_lower = true, strip_non_alphanum = false) 9×2 DataFrame Row │ doc term │ Int64 String @@ -314,12 +314,12 @@ Splits the text in `input_col` of `df` into separate characters, outputting the # Examples ```jldoctest -julia> julia> df = DataFrame( +julia> df = DataFrame( text = [ "The quick.", "Nice."], doc = [1, 2]); -julia> @unnest_characters(df, term, text, to_lower = false) +julia> @unnest_characters(df, term, text, to_lower = false) Row │ doc term │ Int64 Char ─────┼─────────────