1) 如果单词以辅音开头,那么把起始辅音字符串(即直到第一个元音字母的所有字母)从单词开始移到尾部,并加上后缀ay。如“string”变换后为“ingstray”。 2) 如果单词以元音开头,则加后缀way。如“apple”变换后为“appleway”。 程序应该能够生成如下的运行示例: Enter a line: this is pig latin. isthay isway igpay atinlay.
Apache Pig is a platform for analyzing large data sets that consists of a high-level language for expressing data analysis programs, coupled with infrastructure for evaluating these programs. The salient property of Pig programs is that their struct