starting to sketch out the dictionary interfaces for spell checking

This commit is contained in:
2025-10-29 23:16:21 -06:00
parent eb47b001bb
commit 05a43bcd47
3 changed files with 45533 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
/*
* Amsterdam Web Communities System
* Copyright (c) 2025 Erbosoft Metaverse Design Solutions, All Rights Reserved
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
// The htmlcheck package contains the HTML Checker.
package htmlcheck
type SpellingDictionary interface {
Ready() bool
Size() int
CheckWord(string) bool
}
type ModSpellingDictionary interface {
SpellingDictionary
AddWord(string)
DelWord(string)
Clear()
}