# Informationen: https://www.computerhope.com/unix/aspell.htm https://wiki.ubuntuusers.de/GNU_Aspell/ # zusaetzliche Woerterbucher: https://ubuntu.pkgs.org/18.04/ubuntu-universe-i386/aspell-de_20161207-3_all.deb.html #------------------------------------------------------------------------- # aspell Usage: aspell [options] is one of: -?|usage display a brief usage message help display a detailed help message -c|check to check a file -a|pipe "ispell -a" compatibility mode [dump] config dumps the current configuration to stdout config prints the current value of an option [dump] dicts | filters | modes lists available dictionaries / filters / filter modes [options] is any of the following: --encoding= encoding to expect data to be in --mode= filter mode -l,--lang= language code -d,--master= base name of the main dictionary to use --sug-mode= suggestion mode #------------------------------------------------------------------------- # aspell --help Aspell 0.60.7-rc1. Copyright 2000-2011 by Kevin Atkinson. Usage: aspell [options] is one of: -?|usage display a brief usage message help display a detailed help message -c|check to check a file -a|pipe "ispell -a" compatibility mode list produce a list of misspelled words from standard input [dump] config dumps the current configuration to stdout config prints the current value of an option soundslike returns the sounds like equivalent for each word entered munch generate possible root words and affixes expand [1-4] expands affix flags clean [strict] cleans a word list so that every line is a valid word -v|version prints a version line munch-list [simple] [single|multi] [keep] reduce the size of a word list via affix compression conv [] converts from one encoding to another norm ( | ) [] perform Unicode normalization [dump] dicts | filters | modes lists available dictionaries / filters / filter modes dump|create|merge master|personal|repl [] dumps, creates or merges a master, personal, or replacement dictionary. normalization form to use, either none, internal, or strict [options] is any of the following: --conf= main configuration file --conf-dir= location of main configuration file --data-dir= location of language data files --add|rem-dict-alias= create dictionary aliases --dict-dir= location of the main word list --encoding= encoding to expect data to be in --add|rem-filter= add or removes a filter --add|rem-filter-path= path(s) aspell looks for filters --mode= filter mode -e,--mode=email enter Email mode. -H,--mode=html enter HTML mode. -t,--mode=tex enter TeX mode. -n,--mode=nroff enter Nroff mode. --add|rem-extra-dicts= extra dictionaries to use --home-dir= location for personal files -W,--ignore= ignore words <= n chars --[dont-]ignore-case ignore case when checking words --[dont-]ignore-repl ignore commands to store replacement pairs --keyboard= keyboard definition to use for typo analysis -l,--lang= language code --local-data-dir= location of local language data files -d,--master= base name of the main dictionary to use --[dont-]normalize enable Unicode normalization --[dont-]norm-required Unicode normalization required for current lang --norm-form= Unicode normalization form: none, nfd, nfc, comp --[dont-]norm-strict avoid lossy conversions when normalization --per-conf= personal configuration file -p,--personal= personal dictionary file name --prefix= prefix directory --repl= replacements list file name -C|-B,--[dont-]run-together consider run-together words legal --run-together-limit= maximum number that can be strung together --run-together-min= minimal length of interior words --[dont-]save-repl save replacement pairs on save all --[dont-]set-prefix set the prefix based on executable location --size= size of the word list --sug-mode= suggestion mode --sug-edit-dist= edit distance to use, override sug-mode default --[dont-]sug-typo-analysis use typo analysis, override sug-mode default --[dont-]sug-repl-table use replacement tables, override sug-mode default --add|rem-sug-split-char= characters to insert when a word is split --[dont-]use-other-dicts use personal, replacement & session dictionaries --add|rem-variety= extra information for the word list --[dont-]warn enable warnings --[dont-]affix-compress use affix compression when creating dictionaries --[dont-]clean-affixes remove invalid affix flags --[dont-]clean-words attempts to clean words so that they are valid --[dont-]invisible-soundslike compute soundslike on demand rather than storing --[dont-]partially-expand partially expand affixes for better suggestions --[dont-]skip-invalid-words skip invalid words --[dont-]validate-affixes check if affix flags are valid --[dont-]validate-words check if words are valid -b|-x,--[dont-]backup create a backup file by appending ".bak" --[dont-]byte-offsets use byte offsets instead of character offsets -m|-P,--[dont-]guess create missing root/affix combinations --keymapping= keymapping for check mode: "aspell" or "ispell" --[dont-]reverse reverse the order of the suggest list --[dont-]suggest suggest possible replacements --[dont-]time time load time and suggest time in pipe mode Available Dictionaries: Dictionaries can be selected directly via the "-d" or "master" option. They can also be selected indirectly via the "lang", "variety", and "size" options. de-neu de_AT de_AT de_AT-latex de_AT-latex de_AT-neu de_CH de_CH de_CH-latex de_CH-latex de_CH-neu de_DE de_DE de_DE-latex de_DE-latex de_DE-neu Available Filters (and associated options): Filters can be added or removed via the "filter" option. url filter: filter to skip URL like constructs context filter: experimental filter for hiding delimited contexts --add|rem-context-delimiters= context delimiters (separated by spaces) --[dont-]context-visible-first swaps visible and invisible text email filter: filter for skipping quoted text in email messages --add|rem-email-quote= email quote characters --email-margin= num chars that can appear before the quote char nroff filter: filter for dealing with Nroff documents tex filter: filter for dealing with TeX/LaTeX documents --[dont-]tex-check-comments check TeX comments --add|rem-tex-command= TeX commands html filter: filter for dealing with HTML documents --add|rem-html-check= HTML attributes to always check --add|rem-html-skip= HTML tags to always skip the contents of texinfo filter: filter for dealing with Texinfo documents --add|rem-texinfo-ignore= Texinfo commands to ignore the parameters of --add|rem-texinfo-ignore-env= Texinfo environments to ignore sgml filter: filter for dealing with generic SGML/XML documents --add|rem-sgml-check= SGML attributes to always check --add|rem-sgml-skip= SGML tags to always skip the contents of Available Filter Modes: Filter Modes are reconfigured combinations of filters optimized for files of a specific type. A mode is selected via the "mode" option. This will happen implicitly if Aspell is able to identify the file type from the extension, and possibility the contents, of the file. ccpp mode for checking C++ comments and string literals perl mode for checking Perl comments and string literals nroff mode for checking Nroff documents url mode to skip URL like constructs (default mode) texinfo mode for checking Texinfo documents email mode for skipping quoted text in email messages comment mode to check any lines starting with a # sgml mode for checking generic SGML/XML documents none mode to disable all filters html mode for checking HTML documents tex mode for checking TeX/LaTeX documents #------------------------------------------------------------------------- # aspell dicts de de_AT de_CH de_DE #------------------------------------------------------------------------- # aspell config -> zeigt aktuelle Konfiguration #------------------------------------------------------------------------- # aspell dump config > /etc/aspell.conf # aspell dump config > //.aspell.conf # lang (string) # language code # default: = en_US #------------------------------------------------------------------------- .vimrc-File: map ^T :w!:!aspell check %:e! % # Latex-spezifische Syntax zulassen, indem man eine 'special'-Zeile # zur Datei de.dat hinzufuegt: # The character '"' (U+22) may not appear in the middle of a word /usr/lib/aspell-0.60/de.dat special " **- # CWL in RWS umwandeln prezip-bin -d < en-common.cwl | aspell --lang=en create master ./en-common.rws # Inhalt des Master-Wörterbuchs anzeigen aspell -d de_DE dump master # Datei mit einem Latex-Wörterbuch testen aspell --mode=tex -d de_DE-latex check aspell-latex-test.txt Datei mit einer Latex-spezifischen Konfigurationsdatei testen aspell --conf=/root/.aspell-latex.conf check administration.tex ----