{"id":3602,"date":"2019-06-29T10:05:44","date_gmt":"2019-06-29T02:05:44","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3602"},"modified":"2019-06-29T10:05:44","modified_gmt":"2019-06-29T02:05:44","slug":"ispell","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/ispell","title":{"rendered":"ispell\u547d\u4ee4 &#8211; \u7528\u4e8e\u62fc\u5199\u68c0\u67e5\u7a0b\u5e8f"},"content":{"rendered":"\n<p>ispell\u9884\u8bbe\u4f1a\u4f7f\u7528\/usr\/lib\/ispell\/english.hash\u5b57\u5178\u6587\u4ef6\u6765\u68c0\u67e5\u6587\u672c\u6587\u4ef6\u3002\u82e5\u5728\u68c0\u67e5\u7684\u6587\u4ef6\u4e2d\u627e\u5230\u5b57\u5178\u6ca1\u6709\u7684\u8bcd\u6c47\uff0cispell\u4f1a\u5efa\u8bae\u4f7f\u7528\u7684\u8bcd\u6c47\uff0c\u6216\u662f\u8ba9\u4f60\u5c06\u65b0\u7684\u8bcd\u6c47\u52a0\u5165\u4e2a\u4eba\u5b57\u5178\u3002 <\/p>\n\n\n\n<p><strong>\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong> ispell [\u53c2\u6570] <\/p>\n\n\n\n<p><strong>\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n<table class=\"wp-block-table has-fixed-layout\"><tbody><tr><td>-a<\/td><td>\u5f53\u5176\u4ed6\u7a0b\u5e8f\u8f93\u51fa\u9001\u5230ispell\u65f6\uff0c\u5fc5\u987b\u4f7f\u7528\u6b64\u53c2\u6570 <\/td><\/tr><tr><td>-A<\/td><td>\u8bfb\u53d6\u5230&#8221;&amp;Include File&amp;&#8221;\u5b57\u7b26\u4e32\u65f6\uff0c\u5c31\u53bb\u68c0\u67e5\u5b57\u7b26\u4e32\u540e\u6240\u6307\u5b9a\u6587\u4ef6\u7684\u5185\u5bb9 <\/td><\/tr><tr><td>-b<\/td><td>\u4ea7\u751f\u5907\u4efd\u6587\u4ef6\uff0c\u6587\u4ef6\u540d\u4e3a.bak <\/td><\/tr><tr><td>-B<\/td><td>\u68c0\u67e5\u8fde\u5b57\u9519\u8bef<\/td><\/tr><tr><td>-C<\/td><td>\u4e0d\u68c0\u67e5\u8fde\u5b57\u9519\u8bef <\/td><\/tr><tr><td>-d<\/td><td>\u6307\u5b9a\u5b57\u5178\u6587\u4ef6 <\/td><\/tr><tr><td>-l<\/td><td>\u4ece\u6807\u51c6\u8f93\u5165\u8bbe\u5907\u8bfb\u53d6\u5b57\u7b26\u4e32\uff0c\u7ed3\u675f\u540e\u663e\u793a\u62fc\u9519\u7684\u8bcd\u6c47 <\/td><\/tr><tr><td>-L<\/td><td>\u6307\u5b9a\u5185\u6587\u663e\u793a\u7684\u884c\u6570 <\/td><\/tr><tr><td>-m<\/td><td>\u81ea\u52a8\u8003\u8651\u5b57\u5c3e\u7684\u53d8\u5316 <\/td><\/tr><tr><td>-M<\/td><td>\u8fdb\u5165ispell\u540e\uff0c\u5728\u753b\u9762\u4e0b\u65b9\u663e\u793a\u6307\u4ee4\u7684\u6309\u952e <\/td><\/tr><tr><td>-n<\/td><td>\u68c0\u67e5\u7684\u6587\u4ef6\u4e3anoff\u6216troff\u7684\u683c\u5f0f <\/td><\/tr><tr><td>-N<\/td><td>\u8fdb\u5165ispell\u540e\uff0c\u5728\u753b\u9762\u4e0b\u65b9\u4e0d\u663e\u793a\u6307\u4ee4\u7684\u6309\u952e <\/td><\/tr><tr><td>-p<\/td><td>\u6307\u5b9a\u4e2a\u4eba\u5b57\u5178\u6587\u4ef6 <\/td><\/tr><tr><td>-P<\/td><td>\u4e0d\u8003\u8651\u5b57\u5c3e\u53d8\u5316\u7684\u60c5\u5f62 <\/td><\/tr><tr><td>-S<\/td><td>\u4e0d\u6392\u5e8f\u5efa\u8bae\u53d6\u4ee3\u7684\u8bcd\u6c47 <\/td><\/tr><tr><td>-t<\/td><td>\u68c0\u67e5\u7684\u6587\u4ef6\u4e3aTeX\u6216LaTeX\u7684\u683c\u5f0f <\/td><\/tr><tr><td>-V<\/td><td>\u975eANSI\u6807\u51c6\u7684\u5b57\u7b26\u4f1a\u4ee5&#8221;M-^&#8221;\u7684\u65b9\u5f0f\u6765\u663e\u793a <\/td><\/tr><tr><td>-w<\/td><td>\u68c0\u67e5\u65f6\uff0c\u7279\u522b\u6311\u51fa\u542b\u6709\u6307\u5b9a\u7684\u5b57\u7b26 <\/td><\/tr><tr><td>-W<\/td><td>\u4e0d\u68c0\u67e5\u6307\u5b9a\u957f\u5ea6\u7684\u8bcd\u6c47 <\/td><\/tr><tr><td>-x<\/td><td>\u4e0d\u8981\u4ea7\u751f\u5907\u4efd\u6587\u4ef6 <\/td><\/tr><\/tbody><\/table>\n\n\n\n<p><strong>\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n<p>\u68c0\u67e5testfile\u6587\u4ef6\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@linuxcool ~]# ispell testfile <\/pre>\n\n\n\n<p>\u6587\u4ef6testfile\u4e2d\u6709\u62fc\u5199\u9519\u8bef\uff0c\u5bf9\u8be5\u6587\u4ef6\u8fdb\u884c\u4fee\u6539\u540e\u9700\u5907\u4efd\u6587\u4ef6\uff1a <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@linuxcool ~]# ispell -b testfile<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>ispell\u9884\u8bbe\u4f1a\u4f7f\u7528\/usr\/lib\/ispell\/english.hash\u5b57\u5178\u6587\u4ef6\u6765\u68c0\u67e5\u6587\u672c\u6587\u4ef6\u3002\u82e5\u5728\u68c0\u67e5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-3602","post","type-post","status-publish","format-standard","hentry","category-document"],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3602","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=3602"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3602\/revisions"}],"predecessor-version":[{"id":3649,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3602\/revisions\/3649"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}