File size: 5,219 Bytes
158b61b |
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 |
<!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>
|