我已经在Eclipse中创建了一个Java程序。该程序统计每个单词的出现频率。例如,如果用户输入'I to to the shop‘,程序将产生输出’1112‘,即1个长度为1的词('I')、1个长度为2的词('to')、1个长度为3的词(' the ')和2个长度为4的词(’to‘,'shop')。import java.util.Scanner;
{
示例: text = "May your coffee be strong and your Monday be short" print_dict_in_key_order(the_dict)
text = 'why does someone believe you when you say there are four billion stars but they have to