|
|
@ -14,21 +14,27 @@
|
|
|
|
<h4 id="sweTitle" style="margin:10px; display: inline;">編輯停用詞</h4>
|
|
|
|
<h4 id="sweTitle" style="margin:10px; display: inline;">編輯停用詞</h4>
|
|
|
|
<ul id="sweContainer" class="w3-ul w3-hoverable" style="margin-bottom: 10px;"></ul>
|
|
|
|
<ul id="sweContainer" class="w3-ul w3-hoverable" style="margin-bottom: 10px;"></ul>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<input class="w3-input w3-border" style="width: 85%; display: inline;" type="text" id="newStopWord" placeholder="新增停用詞(以空白隔開)">
|
|
|
|
<input class="w3-input w3-border" style="width: 85%; display: inline;" type="text" id="newStopWord"
|
|
|
|
<button class="general-button w3-right" type="button" id="confirm" style="background-color: #379; margin-left: 8px;" onclick="addStopWord()">新增</button>
|
|
|
|
placeholder="新增停用詞(以空白隔開)">
|
|
|
|
|
|
|
|
<button class="general-button w3-right" type="button" id="confirm"
|
|
|
|
|
|
|
|
style="background-color: #379; margin-left: 8px;" onclick="addStopWord()">新增</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="sweButtons" style="margin: 20px 0px;">
|
|
|
|
<div id="sweButtons" style="margin: 20px 0px;">
|
|
|
|
<button class="general-button" type="button" id="confirm" style="background-color: #379; margin: 0px 10px" onclick="hideStopWordEditor(); submit()">確認</button>
|
|
|
|
<button class="general-button" type="button" id="confirm"
|
|
|
|
<button class="general-button" type="button" id="confirm" style="background-color: #379; margin: 0px 10px" onclick="downloadStopWord()">匯出停用詞</button>
|
|
|
|
style="background-color: #379; margin: 0px 10px"
|
|
|
|
<button class="general-button" type="button" id="confirm" style="background-color: #379; margin: 0px 10px" onclick="clearStopWord()">全部清除</button>
|
|
|
|
onclick="hideStopWordEditor(); submit()">確認</button>
|
|
|
|
<button class="general-button w3-right" type="button" id="confirm" style="background-color: #379; margin: 0px 20px" onclick="hideStopWordEditor()">返回</button>
|
|
|
|
<button class="general-button" type="button" id="confirm"
|
|
|
|
|
|
|
|
style="background-color: #379; margin: 0px 10px" onclick="downloadStopWord()">匯出停用詞</button>
|
|
|
|
|
|
|
|
<button class="general-button" type="button" id="confirm"
|
|
|
|
|
|
|
|
style="background-color: #379; margin: 0px 10px" onclick="clearStopWord()">全部清除</button>
|
|
|
|
|
|
|
|
<button class="general-button w3-right" type="button" id="confirm"
|
|
|
|
|
|
|
|
style="background-color: #379; margin: 0px 20px" onclick="hideStopWordEditor()">返回</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class='w3-bar w3-teal'>
|
|
|
|
<div class='w3-bar w3-teal'>
|
|
|
|
<button class="w3-button w3-teal" type="button" onclick="location.href='/ptt'">PTT Sententree</button>
|
|
|
|
<button class="w3-button w3-teal" type="button" onclick="location.href='/generalTxt'"
|
|
|
|
<button class="w3-button" type="button" onclick="location.href='/ptt_push'">推文Sententree</button>
|
|
|
|
style="color: darkseagreen;">泛用文字視覺化工具</button>
|
|
|
|
<button class="w3-button w3-teal" type="button" onclick="location.href='/generalTxt'" style="color: darkseagreen;">泛用文字視覺化工具</button>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id='heading'>
|
|
|
|
<div id='heading'>
|
|
|
|
<h2>泛用文字視覺化工具</h2>
|
|
|
|
<h2>泛用文字視覺化工具</h2>
|
|
|
@ -38,7 +44,8 @@
|
|
|
|
<p id='comment'>使用繁體中文Jieba斷詞器,不保證簡體中文能夠正常使用。</p>
|
|
|
|
<p id='comment'>使用繁體中文Jieba斷詞器,不保證簡體中文能夠正常使用。</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div style="margin:10px;">
|
|
|
|
<div style="margin:10px;">
|
|
|
|
<button class="general-button" type="button" id="editSWButton" style="margin:10px 0px;" onclick="showStopwordEditor()">編輯停用詞</button>
|
|
|
|
<button class="general-button" type="button" id="editSWButton" style="margin:10px 0px;"
|
|
|
|
|
|
|
|
onclick="showStopwordEditor()">編輯停用詞</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id='rawText' class=''>
|
|
|
|
<div id='rawText' class=''>
|
|
|
|
<textarea id='rawTextBox' rows=25 placeholder="輸入要視覺化的文字
|
|
|
|
<textarea id='rawTextBox' rows=25 placeholder="輸入要視覺化的文字
|
|
|
@ -46,7 +53,8 @@
|
|
|
|
<button class='general-button' style='margin: 10px 0px' onclick="submit()">提交</button>
|
|
|
|
<button class='general-button' style='margin: 10px 0px' onclick="submit()">提交</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<button id='toggleTextBox' class='general-button' style='margin: 0px 10px' onclick="switchMessageBox()">隱藏文字視窗</button>
|
|
|
|
<button id='toggleTextBox' class='general-button' style='margin: 0px 10px'
|
|
|
|
|
|
|
|
onclick="switchMessageBox()">隱藏文字視窗</button>
|
|
|
|
<div id='graph' class='hidden'>
|
|
|
|
<div id='graph' class='hidden'>
|
|
|
|
<div id='vis'></div>
|
|
|
|
<div id='vis'></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|