diff --git a/docs/text-as-data.html b/docs/text-as-data.html index 4c97cd0..f2d8680 100644 --- a/docs/text-as-data.html +++ b/docs/text-as-data.html @@ -5,7 +5,7 @@

Text vs. Tokens

-

The following text has been tokenized, and the tokens are presented in alphabetical order (exclusing punctuation). What would you say that the text is about?

+

The following text has been tokenized, and the tokens are presented in alphabetical order (excluding punctuation). What would you say that the text is about?

Now review the original text. How close was your original guess?

diff --git a/docs/text_swap.css b/docs/text_swap.css index 1cd2407..d47ea07 100644 --- a/docs/text_swap.css +++ b/docs/text_swap.css @@ -13,3 +13,8 @@ h2 { text-align: justify; font-family: sans-serif; } + +.citation { + font-size: .75em; + font-family: serif; +} \ No newline at end of file diff --git a/docs/text_swap.js b/docs/text_swap.js index 06ba009..7372411 100644 --- a/docs/text_swap.js +++ b/docs/text_swap.js @@ -7,6 +7,8 @@ TOKENIZED_TEXT = ` African African African An Business CCDL Center Cissé Cissé Cyber Diplomacy GW GWSB GWSB GWSB Leadership Pape School a about academic adjunct advances against aiming aims also ambassadors an and and and and and and and and and announced as between cofounder community conferences connects cyber cyberattacks cybersecurity cybersecurity cybersecurity defend diplomacy during education enhance for government heads help help include information last leaders leaders leaders members ministers month of of of of of officials opportunity organization partnership partnership partnership policy policymaking practices prepare problems professor providing rapidly real said said seminars shape solve state students technology technology that the the the the the the the to to to to understanding while will with with world year ` +SOURCE = `Gross, Sarah. "Business School partners with cybersecurity organization to inform students, African leaders." The GW Hatchet, September 9, 2024. https://gwhatchet.com/2024/09/09/business-school-partners-with-cybersecurity-organization-to-inform-students-african-leaders/` + function createP(text, div) { let p = document.createElement('p'); p.innerHTML = text; @@ -18,6 +20,10 @@ function addText(e) { textDiv.innerHTML = ""; TEXT.split('\n\n').forEach(paragraph => createP(paragraph, textDiv)); textDiv.removeEventListener("click", addText); + let citation = document.createElement("p"); + citation.classList.add('citation'); + citation.innerHTML = SOURCE; + textDiv.append(citation); } function textDisplay() { diff --git a/r-statistics/Statistical_Inference_with_R_Continuous_Variables.pdf b/r-statistics/Statistical_Inference_with_R_Continuous_Variables.pdf index 1adc928..32a6c15 100644 Binary files a/r-statistics/Statistical_Inference_with_R_Continuous_Variables.pdf and b/r-statistics/Statistical_Inference_with_R_Continuous_Variables.pdf differ