365 |
365 |
366 @param formatName name of the document format |
366 @param formatName name of the document format |
367 @type str |
367 @type str |
368 """ |
368 """ |
369 self.__highlighter.setChunkers( |
369 self.__highlighter.setChunkers( |
370 [enchant.tokenize.HTMLChunker] if format == "html" else [] |
370 [enchant.tokenize.HTMLChunker] if formatName == "html" else [] |
371 ) |
371 ) |
372 |
372 |
373 def dict(self): |
373 def dict(self): |
374 """ |
374 """ |
375 Public method to get a reference to the dictionary in use. |
375 Public method to get a reference to the dictionary in use. |