-
Notifications
You must be signed in to change notification settings - Fork 1
/
generate.html
24 lines (24 loc) · 925 Bytes
/
generate.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
<html>
<head>
<script src="util.js"></script>
<script src="generate.js"></script>
</head>
<body>
<p>
To use:
<br />
Input text on the left, click generate, wait a while, output will be in the right box
<br />
</p>
<textarea id="text" cols="30" rows="10"></textarea>
<button onclick="generate()">Generate</button>
<textarea id="output" cols="30" rows="10"></textarea>
<br />
<input id="splitSentences" type="checkbox" checked>Split on sentence breaks (unchecked = split on newline)</input>
<br />
<input id="stripChars" type="checkbox">Strip special characters</input>
<br />
<input id="stripUrls" type="checkbox">Strip URLs</input>
<p>Number of chains: </p><input id="chainNum" type="number" value="3"></input>
</body>
</html>