我正在處理大量舊的文本材料。 OCR過程經常會提出「。」總之,例如「t.h.i.s i.s a test」。我想用空白的空格替換這些點「」。但我不想擺脫表示句子結束的點。所以我正在尋找一個尋找字母/點/字母的正則表達式,然後將其替換爲無。 test <- "t.h.i.s i.s a test."
gsub(test, pattern="\\w[[:punct:]]\\w", repla
我寫了下面的代碼: public class ClassLevelSynchronization {
public static void main(String[] args) {
new Thread(new AddThread()).start();
new Thread(new MultiplyThread()).start();
}
}
當我在xcode中對代碼執行重構時,除了一個文件以外,所有文件都被正確地重構,並且當我單擊以檢查該文件中所做的更改時,出現以下「內部錯誤」: Uncaught Exception:
Invalid parameter not satisfying: fileName
Stack Backtrace:
The stack backtrace has been logged to the co