<commit_before>macdict2
========

The second version of macdict.

Installation
------------

for Swift™ executable file:

> `make -f Makefile2 swfit`

for Objective-C executable file:

> `make -f Makefile2 objc`

Usage
-----

`macdict2 [-h] [-l] [-d <dictionary name>]... [-i <dictionary indexes>]... [word]...`

### Options: `-h`

Show help information and exit.

### Options: `-l`

Show a list of names of all available dictionaries with indexes.

### Options: `-d <dictionary>`

`dictionary` is the name of the dictionary.

If `dictionary` is `all`, then macdict2 will search all available dictionaries and show all the definitions of the word or phrase.

If no dictionary is specified, macdict2 will search all available dictionaries and show the first definition found.

### Options: `-i <index>`

`index` is indexes of the dictionary delimited with commas `,`. If indexes contain `0` then all available dictionaries are selected.

This option is only recommended for a temporary use.

e.g.

```
$ macdict2 Quod Erat Demonstrandum
Definitions of <Quod Erat Demonstrandum>
quod erat demonstrandum |kwɒd ˌɛrat dɛmənˈstrandʊm | (abbrev.: QED) ▶exclamation used to convey that a fact or situation demonstrates the truth of one's theory or claim, especially to mark the conclusion of a formal proof. ORIGIN Latin, literally ‘which was to be demonstrated’.
```

```
$ macdict -d all Quod Erat Demonstrandum
Definitions of <Quod> in {Prisma woordenboek Nederlands}

quod |kwot| < Latijnvoornaamwoordwat, hetgeen~ erat demonstrandumhetgeen bewezen moest worden~ nonwat niet het geval is: als ik een nieuwe baan zou willen - ~ non - dan zou het iets in het onderwijs zijn~ licetwat toegestaan, geoorloofd is
%
Definitions of <Quod Erat Demonstrandum> in {スーパー大辞林}

Q.E.D.〖ラテン quod erat demonstrandum 〗「（このように）証明されるべきであったところの」の意。また，数学や物理で，「よって証明された」の意。
%
Definitions of <Quod Erat Demonstrandum> in {Oxford Dictionary of English}<commit_msg>update README for issue #2<commit_after>macdict2
========

The second version of macdict.

Installation
------------

for Swift™ executable file:

> `make -f Makefile2 swfit`

for Objective-C executable file:

> `make -f Makefile2 objc`

Usage
-----

`macdict2 [-h] [-l] [-d <dictionary name>]... [-i <dictionary indexes>]... [word]...`

### Options: `-h`

Show help information and exit.

### Options: `-l`

Show a list of names of all available dictionaries with indexes.

### Options: `-d <dictionary>`

`dictionary` is the name of the dictionary.

If `dictionary` is `all`, then macdict2 will search all available dictionaries and show all the definitions of the word or phrase.

If no dictionary is specified, macdict2 will search all system built-in dictionaries and show the first definition found.

### Options: `-i <index>`

`index` is indexes of the dictionary delimited with commas `,`. If indexes contain `0` then all available dictionaries are selected.

This option is only recommended for a temporary use.

e.g.

```
$ macdict2 Quod Erat Demonstrandum
Definitions of <Quod Erat Demonstrandum>
quod erat demonstrandum |kwɒd ˌɛrat dɛmənˈstrandʊm | (abbrev.: QED) ▶exclamation used to convey that a fact or situation demonstrates the truth of one's theory or claim, especially to mark the conclusion of a formal proof. ORIGIN Latin, literally ‘which was to be demonstrated’.
```

```
$ macdict -d all Quod Erat Demonstrandum
Definitions of <Quod> in {Prisma woordenboek Nederlands}

quod |kwot| < Latijnvoornaamwoordwat, hetgeen~ erat demonstrandumhetgeen bewezen moest worden~ nonwat niet het geval is: als ik een nieuwe baan zou willen - ~ non - dan zou het iets in het onderwijs zijn~ licetwat toegestaan, geoorloofd is
%
Definitions of <Quod Erat Demonstrandum> in {スーパー大辞林}

Q.E.D.〖ラテン quod erat demonstrandum 〗「（このように）証明されるべきであったところの」の意。また，数学や物理で，「よって証明された」の意。
%
Definitions of <Quod Erat Demonstrandum> in {Oxford Dictionary of English}
{'fraction_non_alphanumeric': 0.10125931637111282, 'fraction_numerical': 0.004369056797738371, 'mean_word_length': 4.4130737134909594, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6729970', 'n_tokens_mistral': 1388, 'n_tokens_neox': 1284, 'n_words': 512}