Grammalecte  Check-in [a054196a67]

Overview
Comment:[graphspell] don’t validate acronyms by default
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | graphspell
Files: files | file ages | folders
SHA3-256: a054196a6734811aeedbea621809ce2d10a2967a82bd13d33869828fd7706bd9
User & Date: olr on 2018-07-05 12:45:22
Other Links: manifest | tags
Context
2018-07-05
12:48
[build] setup.py update check-in: 65a6a08553 user: olr tags: build, trunk
12:45
[graphspell] don’t validate acronyms by default check-in: a054196a67 user: olr tags: graphspell, trunk
12:44
[graphspell][js] trim useless spaces check-in: 2f18864bbc user: olr tags: graphspell, trunk
Changes

Modified graphspell/ibdawg.py from [87f324b718] to [98abc07d28].

   132    132               self.stem = self._stem3
   133    133               self._lookupArcNode = self._lookupArcNode3
   134    134               self._getArcs = self._getArcs3
   135    135               self._writeNodes = self._writeNodes3
   136    136           else:
   137    137               raise ValueError("  # Error: unknown code: {}".format(self.nCompressionMethod))
   138    138   
   139         -        self.bAcronymValid = True
          139  +        self.bAcronymValid = False
   140    140           self.bNumAtLastValid = False
   141    141   
   142    142       def _initBinary (self):
   143    143           "initialize with binary structure file"
   144    144           if self.by[0:17] != b"/grammalecte-fsa/":
   145    145               raise TypeError("# Error. Not a grammalecte-fsa binary dictionary. Header: {}".format(self.by[0:9]))
   146    146           if not(self.by[17:18] == b"1" or self.by[17:18] == b"2" or self.by[17:18] == b"3"):