在R包中,如果我们编写如下代码:x <- udpipe("The economy is weak but the outlook is bright. the property market will be booming next year", "english") doc_id paragraph_id sentence_id sentence start end term_id token_id token lemma
我想在不改变大小写的情况下搜索特定的字符串并将其替换为相同的字符串。
假设我有以下字符串- 'Good Morning. This is too good.',我想搜索'good‘并用不同的颜色突出显示它,但我保持相同的大小写。我尝试使用'stringByReplacingOccurrencesOfString()',但这里的问题是它将'G