-
Notifications
You must be signed in to change notification settings - Fork 0
/
head.html
72 lines (71 loc) · 2.1 KB
/
head.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!doctype html>
<html lang="en">
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Text tokenizer, by Crow</title>
<meta name="description" content="A PHP utility for counting words">
<meta property="og:title" content="Text tokenizer, by Crow">
<meta property="og:description" content="A PHP utility for counting words" />
<meta property="og:url" content="https://tokenizer.corporaproject.org/" />
<meta property="og:site_name" content="Text tokenizer, by Crow" />
<link rel="canonical" href="https://tokenizer.corporaproject.org/" />
<style>
pre > code {
white-space: pre-line;
}
.container {
max-width: 1200px;
}
body {
margin: 0;
padding: 0;
}
nav {
background: #3d3d3d;
color: #fff;
padding: 0.5rem;
}
nav a {
color: #fff;
}
nav a:hover,
nav a:focus {
color: whitesmoke;
}
form {
margin-top: 2rem;
max-width: 800px;
margin: auto;
}
textarea {
margin: 1rem 0 1rem 0;
width: 100%;
min-height: 200px;
border: 1px solid darkgray;
border-radius: 5px;
}
.btn {
display: inline-block;
font-weight: 400;
text-align: center;
white-space: nowrap;
vertical-align: middle;
border: 1px solid transparent;
padding: .375rem .75rem;
font-size: 1rem;
font-weight: 900;
line-height: 1.5;
border-radius: .25rem;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
cursor: pointer;
}
</style>
</head>
<nav>
<h1>Text tokenizer (word counter)</h1>
<p>This demonstrates the word-splitting methodology used in <a href="https://crow.corporaproject.org">Crow, the Corpus & Repository of Writing</a>. This code is developed and maintained by the <a href="https://writecrow.org/">Crow team</a>.</p>
<p>Source code for the tokenizer: <a href="https://github.com/writecrow/tokenizer">https://github.com/writecrow/tokenizer</a></p>
<p>Source code for other Crow components: <a href="https://github.com/writecrow">https://github.com/writecrow/</a></p>
</nav>