我正在嘗試在調用Java的R語言tm包中使用stemDocument來阻止語料庫。 我曾嘗試例如在TM手冊:如何在R語言的tm(文本挖掘)包中使用stemDocument?
data("crude")
crude[[1]]
stemDocument(crude[[1]])
,並出現以下錯誤:
Could not initialize the GenericProperitiesCreator. This exception was produced:
java.lang.NullPointerException
任何幫助表示讚賞。我對Java一無所知。
謝謝
對我來說,必須是你的Java安裝(你已經安裝了Java,對嗎?)。 –