mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-26 13:23:25 +03:00
130 lines
5.2 KiB
HTML
Executable File
130 lines
5.2 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<HTML>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<title>Moses Translation System</title>
|
|
<script type="text/javascript" src="jquery-1.7.2.js"></script>
|
|
<link href="./themes/styles/common.css" rel="stylesheet" type="text/css" />
|
|
<link href="./themes/styles/search.css" rel="stylesheet" type="text/css"/>
|
|
<link href="./themes/styles/fanyi.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<script language="javascript">
|
|
$(document).ready(function()
|
|
{
|
|
|
|
var targetDiv = $("#outputText");
|
|
var input = $("#inputText");
|
|
|
|
$("#transForm").submit(function()
|
|
{
|
|
$.ajax(
|
|
{
|
|
type: "POST", url: 'trans_result.php',data: {input1: input.val()},
|
|
complete: function(data)
|
|
{
|
|
targetDiv.html('');
|
|
targetDiv.append(data.responseText);
|
|
|
|
}
|
|
});
|
|
return false;
|
|
});
|
|
});
|
|
|
|
</script>
|
|
<body>
|
|
<div class="topWrap">
|
|
<div class="top">
|
|
<div class="logo"><a href="/" title="English Chinese Translation Based on Moses">Home</a></div>
|
|
|
|
</div>
|
|
<!-- top end -->
|
|
</div>
|
|
<div class="ConBox">
|
|
<div class="hd">
|
|
<div id="inputMod" class="column fl">
|
|
<div class="wrapper">
|
|
<!--
|
|
<form action="trans_result.php" method="post" id="transForm" name="transForm">-->
|
|
<form action="" method="post" id="transForm" name="transForm">
|
|
<div class="row desc">
|
|
Source Text:
|
|
<input type="reset" name="clear" value="Clear"/>
|
|
</div>
|
|
<div class="row border content">
|
|
<textarea id="inputText" class="text" dir="ltr" tabindex="1" wrap="SOFT" name="inputText"></textarea>
|
|
|
|
</div>
|
|
<div class="row">
|
|
<select>
|
|
<option value ="en-cn">English >> Chinese </option>
|
|
</select>
|
|
<input type="submit" value="Translation"/>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<!-- end of wrapper -->
|
|
</div>
|
|
<!-- end of div inputMod -->
|
|
<div id="outputMod" class="column fr">
|
|
<div class="wrapper">
|
|
<div id="translated" style="display: block;">
|
|
<div class="row desc"><span id="outputLang">en->ch</span></div>
|
|
<div class="row">
|
|
<div id="outputText" class="row">
|
|
<div class="translated_result">
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- end of entryList -->
|
|
<!-- end translated -->
|
|
</div>
|
|
<!-- end of wrapper -->
|
|
|
|
|
|
<div class="row cf" id="addons">
|
|
<a id="feedback_link" target="_blank" href="#" class="fr">Feedback</a>
|
|
<span id="suggestYou">
|
|
选择<a data-pos="web.o.leftbottom" class="clog-js" data-clog="FUFEI_CLICK" href="http://nlp2ct.sftw.umac.mo/" target="_blank">人工翻译服务</a>,获得更专业的翻译结果。
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div id="errorHolder"><span class="error_text"></span></div>
|
|
</div>
|
|
<div style="clear:both"></div>
|
|
<script type="text/javascript">
|
|
var global = {};
|
|
global.sessionFrom = "http://dict.youdao.com/";
|
|
</script>
|
|
<script type="text/javascript" src="http://impservice.dictweb.youdao.com/imp/dict_req_web_1.0.js"></script>
|
|
<script data-main="fanyi" type="text/javascript" src="./themes/fanyi/v2.1.3.1/scripts/fanyi.js"></script>
|
|
<div id="transBtnTip">
|
|
<div id="transBtnTipInner">
|
|
点击翻译按钮继续,查看网页翻译结果。
|
|
<p class="ar">
|
|
<a href="#" id="transBtnTipOK">I have known</a>
|
|
</p>
|
|
<b id="transBtnTipArrow"></b>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="Feedback"><a href="http://nlp2ct.sftw.umac.mo/" target="_blank">反馈信息给我们</a></div>
|
|
|
|
|
|
<div class="footer" style="clear:both">
|
|
<p><a href="http://nlp2ct.sftw.umac.mo/" target="_blank">Conect with us</a> <span>|</span>
|
|
<a href="http://nlp2ct.sftw.umac.mo/" target="_blank">Mosese Translated system</a> <span>|</span>
|
|
Copyright© 2012-2012 NLP2CT All Right to Moses Group
|
|
</p>
|
|
<p>More</p>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</HTML>
|