d86c42e983
Diction and style are two old standard Unix commands. Diction identifies wordy and commonly misused phrases. Style analyses surface characteristics of a document, including sentence length and other readability measures. These programs cannot help you structure a document well, but they can help to avoid poor wording and compare the readability (not the understandability!) of your documents with others. Both commands support English and German documents.
17 lines
422 B
Ruby
17 lines
422 B
Ruby
require 'formula'
|
|
|
|
class Diction <Formula
|
|
url 'http://ftp.gnu.org/gnu/diction/diction-1.11.tar.gz'
|
|
homepage 'http://www.gnu.org/software/diction/'
|
|
md5 '4cbdb115c976d7141f54b223df28012e'
|
|
|
|
def install
|
|
configure_args = [
|
|
"--prefix=#{prefix}",
|
|
"--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
]
|
|
system "./configure", *configure_args
|
|
system "make install"
|
|
end
|
|
end
|