一个关于KWIC的问题
老师要求用JAVA面向对象的方法实现对“the sun is rising in the east.”这句话输出以下的结果:
sun is rising in the east the.
is rising in the east the sun.
rising in the east the sun is.
in the east the sun is rising.
the east the sun is rising in.
east the sun is rising in the.
去年学的JAVA,现在很多东西都有点记不大清了,大家帮帮忙,谢谢了!