Issue with actxserver for synonyms calculation
2 ビュー (過去 30 日間)
古いコメントを表示
Doc = actxserver('Word.Application');
X = cellfun(@(word) invoke(Doc,'SynonymInfo',word), words, 'UniformOutput', false);
Synonyms = cellfun(@(X) get(X,'MeaningList'), X, 'UniformOutput', false);
Synonyms = cellfun(@(X) [words{X}; Synonyms{X}], num2cell(1:numel(words)), 'UniformOutput', false);
I am calculating Synonyms using below mentioned server and code
I have put this in function and have called that function from my file. But this function finds synonyms of few words and then this below error arrives,
Error using feval
Server Creation Failed: Server execution failed
Error in actxserver (line 87)
h=feval(['COM.' convertedProgID], 'server', machinename, interface);
Doc = actxserver('Word.Application');
Error in headline_recognition (line 54)
syn = takesynonyms(wordsstring(kk));
Please guide !
Thanks
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!