Grammalecte  Check-in [ae399c509c]

Overview
Comment:[graphspell] spellchecker: comments
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | graphspell | multid
Files: files | file ages | folders
SHA3-256: ae399c509c475f840bbb4094a3395a26732446443865d58a1b4a07dfd52f9507
User & Date: olr on 2018-03-20 13:15:53
Other Links: branch diff | manifest | tags
Context
2018-03-20
13:19
[graphspell] dawg: rename var name <aff> to <sAff> check-in: b89ba9acea user: olr tags: graphspell, multid
13:15
[graphspell] spellchecker: comments check-in: ae399c509c user: olr tags: graphspell, multid
12:43
[build][fr][bug] config.ini: fix build check-in: 5d03787a55 user: olr tags: fr, build, multid
Changes

Modified graphspell-js/spellchecker.js from [a6a425b5cc] to [c98943d8b7].

1
2
3
4
5
6
7


8
9
10
11
12
13
14
1
2
3
4
5
6

7
8
9
10
11
12
13
14
15






-
+
+







// Spellchecker
// Wrapper for the IBDAWG class.
// Useful to check several dictionaries at once.

// To avoid iterating over a pile of dictionaries, it is assumed that 3 are enough:
// - the main dictionary, bundled with the package
// - the extended dictionary, added by an organization
// - the extended dictionary
// - the community dictionary, added by an organization
// - the personal dictionary, created by the user for its own convenience


"use strict";


if (typeof(require) !== 'undefined') {

Modified graphspell/spellchecker.py from [4d329ce1f7] to [b7bf43a731].

1
2
3
4
5
6
7


8
9
10
11
12
13
14
1
2
3
4
5
6

7
8
9
10
11
12
13
14
15






-
+
+







# Spellchecker
# Wrapper for the IBDAWG class.
# Useful to check several dictionaries at once.

# To avoid iterating over a pile of dictionaries, it is assumed that 3 are enough:
# - the main dictionary, bundled with the package
# - the extended dictionary, added by an organization
# - the extended dictionary
# - the community dictionary, added by an organization
# - the personal dictionary, created by the user for its own convenience


import traceback

from . import ibdawg
from . import tokenizer