3252. 语言辨别

单点时限: 2.0 sec

内存限制: 256 MB

现在有一段文字,你要辨别它是中文拼音、日文罗马音,还是英文。

中文拼音:

zhong guo hang tian ke ji ji tuan wu yuan tian zhou yi hao zong she ji shi bai ming sheng xiang zhong xin she jie shao,yin di qiu can cun da qi zu li,kong jian zai tai kong gui dao yun xing xu yi ran liao tui dong pa sheng,yi wei chi yun xing gao du。ci wai,ri hou kong jian zhan zai ren yun xing xian ran,mei you huo yun fei chuan de zhi chi,shi wu fa wan cheng chang qi zai gui zhu liu ren wu de。zhe ye shi zhong guo hang tian yan fa tian zhou huo yun fei chuan de gen ben yuan yin zai tian zhou yi hao chu xian zhi qian,qian su lian xian zai nian tui chu jin bu hao xi lie huo yun fei chuan,ou zhou yu hang ju zai zhi nian jian yun xing guo zi dong zhuan yi fei xing qi ri ben yu zhou hang kong yan jiu kai fa ji gou zai nian shou ci fa she kong jian zhan zhuan yun fei xing qi mei guo tai kong tan suo gong si jin nian ze yan fa le long fei chuan,hai you mei guo a lian te ji shu xi tong gong si he gui dao ke xue gong si de tian e zuo huo yun fei chuan

日文罗马音:

Shijou sainenshou de shougi no puro kishi to nari, yon nichi, debyū sen irai no renshou kiroku o ichi roku ni koushin shi ta bakari no aichi ken seto shi no chuugaku san nensei, fujii satoshi tai yon dan ga shougakusei o aite ni taikyoku shi, sashi kata nado o shidou shi mashi ta.
aichi ken okazaki shi de hirakare ta shougi kyoushitsu ni ha jimoto no shougakusei oyoso kyuu zero nin ga sanka shi, fujii satoshi tai yon dan tachi ichi zero nin no puro ga itte goto ni kodomo tachi o mawatte iku rirē keishiki de taikyoku shi mashi ta.
taikyoku ha puro gawa ga hisha kaku ochi no joutai de hajimari, kodomo tachi ha puro kishi no attouteki na tsuyo sa o mae ni tsugi no itte o shinken ni kangae te i mashi ta.

英文:

The Sun is rising on a calm and cloudy morning in late February 2017, and Jamie Sneddon and I have an important collection to make. After a short drive along the north-east coast of Scotland – passing open fields, detached bungalows, and blooming bushes of gorse that shine with a radiant yellow under the grey sky – we arrive at the muddy entrance of a farmyard.
Many of the locals here in the remote Scottish Highlands are crofters: they nurture and trade certain root vegetables and small numbers of livestock and poultry, a lifestyle first developed in the 19th Century. After opening a red and rusting gate, we disturb a vocal gaggle of geese and a few chickens. Through the wire fences that border the farm, we can also see a small flock of sheep.
However, Sneddon has only one animal on his mind: a cat. He is hoping to catch a stray tomcat that rules the yard. The previous day, he had baited a small cage inside one of the farm’s stone outbuildings with mackerel – cheap, smelly, and easy to split into portions – and cat food.

测试数据来源于近期 BBC 中文站、英文站,和 NHK 日文站。

可能会存在语言混杂的情况(比如说混入阿拉伯数字,日语中混入英语等等),但只是少数几个单词,不会影响整体的评定。

输入格式

测试包含不超过 15 个测试文件,每个测试文件是一个测试点。

一个测试点是一篇文章,含有多行,读入到文件结束。文件大小不小于 500B,不大于 10KB。数据中可能会出现非 ASCII 字符。

输出格式

输出一行:

  • 如果判断为中文,输出 Chinese
  • 如果判断为日文,输出 Japanese
  • 如果判断为英文,输出 English

样例

Input
zhong guo hang tian ke ji ji tuan wu yuan tian zhou
shi wu fa wan
Output
Chinese

236 人解决,300 人已尝试。

279 份提交通过,共有 1468 份提交。

3.0 EMB 奖励。

创建: 7 年,6 月前.

修改: 7 年,2 月前.

最后提交: 2 周,4 天前.

来源: 2017 华东师范大学校赛

题目标签