我正在编写一个脚本,用Python将文本分成几个句子。然而,我不擅长编写更复杂的正则表达式。
有五条规则,我想根据这些规则来分句。如果他们:
* end with "!" or
* end with "?" or
* end with "..." or
* end with "." and the full stop is not followed by a number or
* end with "." and the full stop is followed by a whitespace
Pyth
我在Anaconda上遇到了问题,所以我决定卸载并重新安装它。在这里之前没有问题。我想用我需要用于项目的包重新创建我的env。因此,我在Anaconda Navigator中切换到了Environment> Create部分,结果如下所示:
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Package vc conflicts for:
python=3.7 -> vc[version='14.*|>=14,=14.1