forked from hermanschaaf/jieba-js
-
Notifications
You must be signed in to change notification settings - Fork 9
/
weka_csv_arff.html
167 lines (132 loc) · 6.43 KB
/
weka_csv_arff.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<html>
<head>
<title>Weka CSV to ARFF (file process framework 20170212)</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script>
<link rel="stylesheet" href="//pulipulichen.github.io/blogger/posts/2016/12/semantic/semantic.min.css" />
<link rel="stylesheet" href="//fontawesome.io/assets/font-awesome/css/font-awesome.css" />
<script src="//pulipulichen.github.io/blogger/posts/2016/12/semantic/semantic.min.js"></script>
<script src="//pulipulichen.github.io/blogger/posts/2016/12/clipboard.min.js"></script>
<script src="require-jieba-js.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-37178375-7', 'auto');
ga('send', 'pageview');
</script>
<!-- ------------------------------------ -->
<form class="file-process-framework ui form">
<div class="ui two column doubling grid">
<div class="column">
<div class="ui segment">
<h1 class="ui horizontal divider header">
Input
</h1>
<div class="ui top attached tabular menu">
<div class="item" data-tab="textarea">Textarea</div>
<div class="active item" data-tab="file">File</div>
</div>
<!-- --------------------------------- -->
<div class="ui bottom attached tab segment" data-tab="textarea">
<div class="field">
<label for="input_mode_textarea">Paste CSV file here: </label>
<textarea class="input-mode textarea" id="input_mode_textarea" onfocus="this.select()">document,class
奧運會籃球比賽和世界籃球錦標賽的比賽場地長度是 28 公尺寬 15 公尺,籃球
地球是太陽系從內到外的第三顆行星,地球
籃球運動是以投籃上籃和扣籃為中心的對抗性室內體育運動之一,?
您可以探家自 Google 地球和支援合作夥伴建立的套件合大量景點視訊和影像的資源函數庫,?</textarea>
</div>
</div>
<!-- --------------------------------- -->
<div class="ui bottom attached active tab segment" data-tab="file">
<div class="field">
<label for="files">Please select a CSV file in UTF8 encoding: </label>
</div>
<div class="field">
<input class="myfile" name="files[]" id="files" multiple="" type="file" />
<div class="ui pointing inverted blue large basic label">
<a href="//blog.pulipuli.info/2016/12/utf-8notepad-how-to-convert-plain-text.html" target="notepad" style="display: block">How to Convert TXT file to UTF8 encoding?</a>
</div>
</div>
<div class="inline field" style="display: none;">
<input type="checkbox" name="autodownload" id="autodownload" />
<label for="autodownload">Download Processed File Automatically</label>
</div>
</div> <!-- <div class="ui bottom attached tab segment" data-tab="file"> -->
<!-- -------------------------------------- -->
<div class="inline field">
<input type="checkbox" id="enable_toker" checked="checked" />
<label for="enable_toker">使用jieba斷詞</label>
</div>
</div> <!-- <div class="ui segment"> -->
</div> <!-- <div class="column"> -->
<!-- -------------------------------------- -->
<div class="column">
<div class="ui segment display-result" style="">
<!-- <div class="display-result"> -->
<h2 class="ui horizontal divider header">
Result
</h2>
<div class="ui doubling grid">
<div class="eight wide column">
<button type="button" class="fluid ui large right labeled icon green button download-file">
<i class="right download icon"></i>
DOWNLOAD Train Doc
</button>
</div>
<div class="eight wide column">
<button type="button" class="fluid ui large right labeled icon green button download-test-file">
<i class="right download icon"></i>
DOWNLOAD Test Doc
</button>
</div>
</div>
<!-- -------------------------------- -->
<div class="field">
<label for="filename">Train Document File Name: </label>
<input type="text" onfocus="this.select()" id="filename" class="filename" style="width: calc(100% - 15em)" />
</div>
<div class="field">
<label for="preview">
Result Preview:
<div class="ui pointing below medium blue basic label encoding" style="margin-left: 1em">
Get error encoding text? <a href="//blog.pulipuli.info/2016/12/utf-8notepad-how-to-convert-plain-text.html" target="notepad" >Try to Convert TXT file to UTF8 encoding?</a>
</div>
<button type="button" class="ui mini compact teal right labeled icon button copy-csv" style="margin-left: 1em">
COPY ARFF File
<i class="copy icon"></i>
</button>
</label>
<textarea id="preview" class="preview" onfocus="this.select();"></textarea>
</div>
<!-- -------------------------------- -->
<div class="field">
<label for="test_filename">Test Document File Name: </label>
<input type="text" onfocus="this.select()" id="test_filename" class="test_filename" style="width: calc(100% - 15em)" />
</div>
<div class="field">
<label for="preview">
Result Preview:
<div class="ui pointing below medium blue basic label encoding" style="margin-left: 1em">
Get error encoding text? <a href="//blog.pulipuli.info/2016/12/utf-8notepad-how-to-convert-plain-text.html" target="notepad" >Try to Convert TXT file to UTF8 encoding?</a>
</div>
<button type="button" class="ui mini compact teal right labeled icon button copy-csv" style="margin-left: 1em">
COPY ARFF File
<i class="copy icon"></i>
</button>
</label>
<textarea id="test_preview" class="test_preview" onfocus="this.select();"></textarea>
</div>
</div> <!-- <div class="column"> -->
</div> <!-- <div class="ui two column doubling grid"> -->
</form>
<div id="preloader"></div>
<link rel="stylesheet" href="codepen/text-mining.css" />
<script src="codepen/text-mining.js"></script>
</body>
</html>