구두점을 고려하여 자연어로 텍스트의 서식을 지정하려면 어떻게해야합니까? Vim의 gq
명령이나 명령 줄 도구 (예 : fmt 또는 par)는 구두점을 무시하고 줄 바꿈합니다.구두점 관련 텍스트 서식
we had everything before us, we had
nothing before us, we were all going
direct to Heaven, we were all going
direct the other way
smart_formatter -w 40
줄 것입니다 : : 물론
we had everything before us,
we had nothing before us,
we were all going direct to Heaven,
we were all going direct the other way
, 어떤 문장 부호가 내에서 발견되지 않을 때 경우가
fmt -w 40
내가 이것을 원했던 이유는 어떤 문장이나 subsent가 바뀌 었는지를 알 수있는 의미있는 diff
텍스트를 얻는 것입니다.