From 942eb79e99d7b7616861504604ac745a63eceb2b Mon Sep 17 00:00:00 2001 From: Sidney Nimako Date: Mon, 17 Feb 2025 15:33:07 -0500 Subject: [PATCH 1/2] Added analytics tag --- index.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/index.html b/index.html index 8c0c76f..aa4c690 100644 --- a/index.html +++ b/index.html @@ -7,6 +7,15 @@ + + + Sidney Nimako +
-

Sentence Embedding Calculator

-

Enter a sentence below to compute its embedding using TensorFlow Universal Sentence Encoder.

- - - - - +

SHRTN

+

The quick brown fox jumps over the lazy dog

+ +
+ + +

+
+ + + + + +
+ +
- Loading model and computing embedding... This might take a few moments on first run. + Computing embedding...
- +
- - + \ No newline at end of file diff --git a/shrtn.json b/shrtn.json new file mode 100644 index 0000000..4390f8f --- /dev/null +++ b/shrtn.json @@ -0,0 +1,55 @@ +{ + "sentences": [ + "The climate crisis is forcing governments to reconsider their environmental policies to reduce emissions.", + "Literature often reflects cultural and social issues, providing insights into various historical perspectives.", + "The construction of the new bridge will significantly ease heavy traffic congestion in the city area.", + "Scientific discoveries continue to expand humanity’s understanding of the vast and mysterious universe.", + "The protagonist in the novel faces difficult moral dilemmas that challenge her deeply held beliefs.", + "Volunteering regularly at community centers helps foster responsibility and empathy for others' struggles.", + "Economic stability is closely linked to the overall success of thriving small businesses locally.", + "Digital media platforms play a major role in shaping and influencing global public opinion today.", + "The painting vividly captures the artist’s emotional response to the horrors of war and loss.", + "Political leaders are constantly working to negotiate long-term peace agreements in various conflict zones.", + "The museum’s latest exhibit showcases important artifacts from ancient civilizations across different regions.", + "Understanding algebra is necessary for effectively solving many real-world mathematical problems and equations.", + "Modern architecture blends innovative design concepts with practical functionality for sustainable structures.", + "Space exploration has led to the development of many groundbreaking technologies used daily.", + "The play cleverly uses humor to address and criticize serious societal issues in depth.", + "Scientific advancements have significantly improved global healthcare outcomes over the past decade.", + "The biography details the struggles and triumphs of an influential and iconic historical figure.", + "Renewable energy sources like wind and solar power are essential for a sustainable planet.", + "Genetic research could unlock groundbreaking solutions to previously incurable diseases and conditions.", + "The importance of mental health awareness is increasing in communities around the world today.", + "Recycling programs contribute to reducing global environmental waste and promoting sustainable practices.", + "A nation’s economy is heavily influenced by international trade agreements and policies.", + "Technological innovation consistently drives the growth of major global industries worldwide.", + "The artist’s work clearly reflects the political and social climate of her era.", + "Wildlife conservation efforts help protect endangered species from extinction and habitat destruction.", + "Effective communication is absolutely vital for maintaining strong and healthy personal relationships.", + "The architectural design of the new building strongly emphasizes sustainability and green practices.", + "Artificial intelligence continues transforming the healthcare industry by improving diagnostic accuracy.", + "Historical events play a significant role in shaping the policies of modern governments.", + "Cybersecurity measures are crucial for protecting personal information from online threats and hackers.", + "Learning a second language enhances cognitive abilities and improves overall communication skills.", + "The novel deeply explores themes of justice, betrayal, and the misuse of power.", + "Economic disparities frequently lead to social unrest and widespread protest in major cities.", + "The film’s director effectively uses visual effects to enhance storytelling and audience engagement.", + "Climate change has directly contributed to more frequent and severe natural disasters globally.", + "Music often evokes strong emotional responses from listeners and connects to personal experiences.", + "The court’s recent ruling has established an important new legal precedent for future cases.", + "Urban planning helps manage rapid population growth and improves city infrastructure development.", + "Scientific evidence overwhelmingly supports the modern theory of evolution and natural selection.", + "Public speaking skills are necessary for successful leadership and career development today.", + "Online education provides greater access to learning opportunities for students worldwide.", + "The poem reflects deeply on the complexities and contradictions of human nature.", + "Cultural diversity enriches communities and broadens perspectives through unique shared experiences.", + "Medical research aims to develop new treatments and cures for widespread diseases.", + "The invention of the printing press revolutionized global communication and the spread of ideas.", + "Social media platforms significantly influence how people interact and share information globally.", + "History provides valuable lessons about the consequences of human conflict and cooperation.", + "Reducing fossil fuel consumption benefits the environment and reduces harmful carbon emissions.", + "Renewable resources like solar power help lower our overall carbon footprint and pollution.", + "International cooperation is critical for effectively addressing and managing global pandemics.", + "Scientific data strongly supports the urgent need for immediate climate action worldwide." + ] +} \ No newline at end of file diff --git a/simple.css b/simple.css index f549412..66fdc8c 100644 --- a/simple.css +++ b/simple.css @@ -5,11 +5,11 @@ :root { --madder: #C41230; --greh: #a5a5a7; - /* --zomp: #2CA58D; */ - --zomp: #0c694d; - --background: rgb(240, 243, 243); - --accent-1: #0c694d; - --section-outline-color: #0c7e323d; + --background: #f0f3f3; + /* --accent-1: #004F2D; */ + --accent-1: #26547C; + /* --section-outline-color: #0c7e323d; */ + --section-outline-color: #5393CA; } .marginless { @@ -163,7 +163,7 @@ br { max-height: 30vh; } - + #left { display: block; }