且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在ms word文档中查找重复的单词

更新时间:2023-02-14 12:11:43

1)使用Microsoft.Office.Interop.Word命名空间打开Word文档.
2)阅读所有内容,并创建单词和出现次数的字典列表.
3)为了满足您的业务需求,需要做任何其他事情.
1) Open the word document using the Microsoft.Office.Interop.Word namespace.
2) Read all the content and create a dictionary list of words and occurance count.
3) Do whatever else you need to in order to satisfy your business requirements.