'This example shows basic text statistics without any additional flags.',
sampleText:
'Giraffes have long necks that can be up to 6 feet (1.8 meters) long, but they only have 7 neck vertebrae, the same as humans.',
sampleResult:`Text Statistics
==================
Characters: 125
Words: 26
Lines: 1
Sentences: 1
Paragraphs: 1`,
sampleOptions: initialValues
},
{
title:'Text Statistics with Characters Frequency',
description:
'This example shows basic text statistics with characters frequency.',
sampleText:`The Great Barrier Reef is the world's largest coral reef system, located off the coast of Australia. It consists of over 2,900 individual reefs and 900 islands. The reef is home to thousands of species of marine life, including fish, sea turtles, sharks, and dolphins. It is also a popular tourist destination, attracting millions of visitors every year. However, the reef is facing many threats, including climate change, pollution, and overfishing. Conservation efforts are being made to protect this unique and valuable ecosystem for future generations.`,
sampleResult:`Text Statistics
==================
Characters: 556
Words: 87
Lines: 1
Sentences: 1
Paragraphs: 1
CharactersFrequency
==================
0: 4(0.72%)
2: 1(0.18%)
9: 2(0.36%)
␣:85(15.29%)
e: 51(9.17%)
i: 40(7.19%)
s: 40(7.19%)
t: 39(7.01%)
a: 37(6.65%)
o: 34(6.12%)
r: 33(5.94%)
n: 29(5.22%)
l: 21(3.78%)
f: 20(3.60%)
h: 15(2.70%)
d: 15(2.70%)
c: 14(2.52%)
u: 14(2.52%)
,:11(1.98%)
g: 10(1.80%)
m: 8(1.44%)
v: 8(1.44%)
.:6(1.08%)
p: 6(1.08%)
y: 5(0.90%)
b: 3(0.54%)
w: 2(0.36%)
':1(0.18%)
k: 1(0.18%)
q: 1(0.18%)`,
sampleOptions:{
emptyLines: false,
sentenceDelimiters:'',
wordDelimiters:'',
characterCount: true,
wordCount: false
}
},
{
title:'Text Statistics with Characters and Words Frequencies',
description:
'This example shows basic text statistics with characters and words frequencies.',
sampleText:`The Great Barrier Reef is the world's largest coral reef system, located off the coast of Australia. It consists of over 2,900 individual reefs and 900 islands. The reef is home to thousands of species of marine life, including fish, sea turtles, sharks, and dolphins. It is also a popular tourist destination, attracting millions of visitors every year. However, the reef is facing many threats, including climate change, pollution, and overfishing. Conservation efforts are being made to protect this unique and valuable ecosystem for future generations.`,