diff --git a/web/source/osk/banner.ts b/web/source/osk/banner.ts
index b5144911db..01cede7c42 100644
--- a/web/source/osk/banner.ts
+++ b/web/source/osk/banner.ts
@@ -208,6 +208,7 @@ namespace com.keyman.osk {
private updateText() {
let display = this.generateSuggestionText();
this.div.replaceChild(display, this.display);
+ this.display = display;
}
/**
diff --git a/web/testing/index.html b/web/testing/index.html
index 4575972085..5745990905 100644
--- a/web/testing/index.html
+++ b/web/testing/index.html
@@ -19,13 +19,14 @@
- KeymanWeb 10 Testing
+ KeymanWeb 12 Testing
Tests the new Attachment/Enablement API functionality
Chirality testing/bootstrapping
+
Auto-attachment mode tests
diff --git a/web/testing/prediction-ui/index.html b/web/testing/prediction-ui/index.html
new file mode 100644
index 0000000000..95a12890ad
--- /dev/null
+++ b/web/testing/prediction-ui/index.html
@@ -0,0 +1,94 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ KeymanWeb Sample Page - Unminified Source
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ KeymanWeb Sample Page - Predictive Text UI (bootstrapping rig)
+ As we're currently developing the predictive text feature, this page is subject to break as model
+ specifications change and new features are added. Please update the backing model file as necessary.
+
+
+
+
+
+
Type in your language in this text area:
+
+
+
or in this input field:
+
+
+
+
+
+
+
+
+
diff --git a/web/testing/prediction-ui/simple-en-wordlist.js b/web/testing/prediction-ui/simple-en-wordlist.js
new file mode 100644
index 0000000000..df485e7626
--- /dev/null
+++ b/web/testing/prediction-ui/simple-en-wordlist.js
@@ -0,0 +1,18 @@
+/**
+ * While handwritten, this class is designed to mirror the potential results of TypeScript compilation of
+ * model TS source files.
+ */
+(function(){
+ var Model = /** @class */ (function() {
+ function Model() { // implements Model
+ }
+
+ // A direct import/copy from english-1000.json.
+ Model.wordlist = ["the", "of", "and", "to", "a", "in", "that", "is", "was", "he", "for", "it", "with", "as", "his", "on", "be", "at", "by", "i", "this", "had", "not", "are", "but", "from", "or", "have", "an", "they", "which", "one", "you", "were", "her", "all", "she", "there", "would", "their", "we", "him", "been", "has", "when", "who", "will", "more", "if", "no", "out", "so", "said", "what", "up", "its", "about", "into", "than", "them", "can", "only", "other", "new", "some", "could", "time", "these", "two", "may", "then", "do", "first", "any", "my", "now", "such", "like", "our", "over", "man", "me", "even", "most", "made", "after", "also", "did", "many", "before", "must", "af", "through", "back", "years", "much", "where", "your", "way", "well", "down", "should", "because", "each", "just", "those", "people", "too", "how", "little", "state", "good", "very", "make", "world", "still", "own", "see", "men", "work", "long", "here", "get", "between", "both", "life", "being", "under", "never", "day", "same", "another", "know", "while", "last", "us", "might", "great", "old", "year", "off", "come", "since", "against", "go", "came", "right", "used", "three", "take", "himself", "states", "few", "use", "house", "during", "without", "again", "place", "american", "around", "however", "home", "small", "found", "thought", "went", "say", "part", "once", "general", "high", "upon", "school", "every", "does", "got", "united", "left", "number", "course", "war", "until", "always", "away", "something", "fact", "water", "though", "public", "put", "less", "think", "almost", "hand", "enough", "took", "far", "head", "yet", "government", "system", "set", "better", "told", "nothing", "night", "end", "why", "called", "eyes", "find", "look", "going", "asked", "later", "point", "knew", "next", "program", "city", "business", "group", "give", "toward", "young", "let", "room", "days", "president", "side", "social", "given", "present", "several", "order", "national", "possible", "rather", "second", "face", "per", "among", "form", "often", "important", "things", "looked", "early", "white", "case", "john", "large", "four", "need", "big", "within", "become", "felt", "along", "children", "saw", "best", "church", "ever", "least", "power", "development", "thing", "seemed", "light", "family", "interest", "want", "mind", "members", "area", "country", "others", "although", "turned", "done", "open", "god", "service", "problem", "kind", "certain", "different", "thus", "began", "door", "sense", "help", "means", "whole", "matter", "perhaps", "itself", "york", "times", "human", "law", "line", "above", "name", "example", "action", "company", "hands", "local", "show", "whether", "history", "five", "gave", "either", "today", "act", "feet", "across", "quite", "taken", "past", "anything", "having", "seen", "death", "experience", "body", "really", "half", "week", "car", "field", "words", "word", "already", "themselves", "information", "tell", "shall", "together", "college", "money", "period", "keep", "held", "sure", "probably", "free", "seems", "behind", "real", "cannot", "political", "question", "air", "making", "office", "brought", "miss", "whose", "special", "problems", "major", "heard", "became", "moment", "study", "ago", "federal", "known", "available", "street", "result", "economic", "boy", "reason", "position", "south", "change", "board", "individual", "job", "society", "am", "areas", "west", "close", "turn", "love", "community", "true", "force", "full", "court", "seem", "cost", "wife", "age", "future", "wanted", "voice", "department", "center", "woman", "common", "control", "necessary", "policy", "front", "following", "sometimes", "girl", "six", "clear", "further", "land", "music", "feel", "mother", "able", "party", "provide", "university", "education", "level", "run", "students", "effect", "child", "stood", "town", "short", "military", "total", "morning", "outside", "rate", "figure", "art", "class", "century", "usually", "north", "washington", "leave", "therefore", "plan", "top", "evidence", "sound", "million", "black", "hard", "strong", "various", "tax", "believe", "type", "value", "says", "play", "surface", "mean", "soon", "modern", "near", "peace", "lines", "table", "book", "road", "red", "situation", "personal", "minutes", "process", "nor", "idea", "alone", "women", "english", "schools", "gone", "increase", "living", "america", "started", "longer", "cut", "finally", "private", "nature", "secretary", "third", "section", "months", "greater", "call", "fire", "needed", "expected", "view", "values", "kept", "ground", "everything", "pressure", "dark", "basis", "space", "father", "east", "spirit", "required", "union", "complete", "wrote", "except", "moved", "support", "return", "conditions", "recent", "particular", "attention", "late", "hope", "live", "else", "costs", "brown", "beyond", "stage", "taking", "material", "nations", "forces", "report", "inside", "dead", "read", "coming", "person", "hours", "heart", "instead", "low", "miles", "lost", "looking", "data", "added", "makes", "single", "followed", "amount", "pay", "feeling", "basic", "including", "simply", "move", "cold", "hundred", "research", "industry", "tried", "developed", "reached", "hold", "committee", "defense", "equipment", "island", "actually", "shown", "son", "central", "religious", "river", "getting", "beginning", "ten", "sort", "received", "rest", "terms", "doing", "trying", "indeed", "care", "friends", "medical", "picture", "especially", "administration", "subject", "fine", "difficult", "building", "higher", "simple", "wall", "walked", "meeting", "bring", "floor", "foreign", "passed", "similar", "paper", "range", "natural", "final", "property", "training", "police", "international", "cent", "county", "market", "growth", "england", "talk", "written", "start", "story", "suddenly", "hear", "issue", "hall", "answer", "needs", "congress", "working", "likely", "considered", "countries", "earth", "sat", "entire", "meet", "purpose", "labor", "happened", "results", "difference", "cases", "stand", "hair", "william", "production", "stock", "involved", "fall", "food", "whom", "earlier", "increased", "particularly", "thinking", "club", "letter", "knowledge", "below", "effort", "hour", "using", "paid", "sent", "christian", "yes", "points", "boys", "industrial", "bill", "deal", "ready", "ideas", "certainly", "square", "blue", "trade", "moral", "bad", "due", "methods", "girls", "method", "addition", "neither", "showed", "throughout", "directly", "nearly", "statement", "decided", "reading", "weeks", "according", "questions", "anyone", "try", "color", "kennedy", "programs", "nation", "services", "lay", "french", "remember", "physical", "size", "member", "understand", "western", "strength", "record", "comes", "southern", "normal", "population", "appeared", "merely", "concerned", "district", "volume", "temperature", "direction", "trial", "trouble", "summer", "aid", "ran", "friend", "sales", "literature", "list", "maybe", "continued", "evening", "association", "generally", "influence", "led", "provided", "met", "army", "science", "changes", "husband", "step", "chance", "student", "opened", "former", "average", "month", "series", "hot", "works", "cause", "lead", "direct", "systems", "planning", "stopped", "myself", "theory", "piece", "wrong", "effective", "george", "soviet", "freedom", "worked", "ask", "movement", "organization", "clearly", "ways", "treatment", "fear", "beautiful", "meaning", "consider", "bed", "spring", "somewhat", "press", "lot", "forms", "efforts", "note", "truth", "placed", "hotel", "carried", "numbers", "respect", "plant", "herself", "apparently", "groups", "degree", "wide", "easy", "manner", "reaction", "farm", "lower", "recently", "approach", "immediately", "game", "larger", "running", "daily", "charge", "couple", "eye", "oh", "performance", "feed", "de", "persons", "c", "understanding", "arms", "blood", "opportunity", "march", "progress", "additional", "described", "technical", "stop", "fiscal", "radio", "religion", "test", "reported", "main", "based", "steps", "image", "chief", "served", "window", "decision", "determined", "responsibility", "character", "middle", "british", "aj", "europe", "gun", "writing", "horse", "appear", "learned", "account", "serious", "ones", "types", "activity", "green", "length", "letters", "nuclear", "specific", "slowly", "forward", "returned", "lived", "activities", "corner", "obtained", "audience", "justice", "doubt", "latter", "hit", "plane", "gives", "moving", "obviously", "straight", "design", "quality", "saying", "function", "choice", "staff", "include", "pattern", "figures", "born", "parts", "stay", "seven", "poor", "plans", "operation", "shot", "whatever", "cars", "sun", "faith", "pool", "extent", "speak", "heavy", "completely", "lack", "waiting", "standard", "hospital", "ball", "wish", "corps", "visit", "language", "ahead", "deep", "income", "principle", "democratic", "firm", "importance", "growing", "analysis", "designed", "effects", "price", "none", "distance", "indicated", "established", "products", "expect", "division", "continue", "leaders", "existence", "determine", "serve", "stress", "attitude", "pretty", "elements", "easily", "cities", "negro", "remained", "factors", "hardly", "applied", "limited", "closed", "agreement", "scene", "write", "afternoon", "b", "suggested", "health", "professional", "attack", "reach", "drive", "season", "interested", "station", "rhode", "married", "despite", "covered", "role", "becomes", "eight", "current", "played", "spent", "reasons", "council", "unit", "built", "commission", "date", "mouth", "exactly", "original", "studies", "race", "machine"];
+
+ return Model;
+ }());
+
+ // As a wordlist model, we can rely on our "model library" implementation, models.WordListModel.
+ LMLayerWorker.loadModel(new models.WordListModel(Model.wordlist));
+})();
\ No newline at end of file