【发布时间】:2009-10-21 06:50:42
【问题描述】:
文件1:
hello
world
我不知道从文本文件中提取单词列表、找到它们的定义并将它们粘贴到输出文本文件中的最佳方法。我一直在考虑使用 WordNet - 但不知道如何自动化这个过程。
有没有人有任何想法(可能是 google/APIs/linux 应用程序)可以用来查找单词的定义,然后将它们粘贴到文本文件中?
文件2:
an expression of greeting; "every morning they exchanged polite hellos"
universe: everything that exists anywhere; "they study the evolution of the universe"; "the biggest tree in existence"
【问题讨论】:
标签: linux unix dictionary awk cat