JavaScript (Client side) library of JsNgram
Load this library in your client html page.
A global variable JsNgram
is defined
and everything is inside it.
The only one method you must call is JsNgram.search(text)
.
Other methods are not for calling but for overriding to customize them.
Properties
Methods
- appendErrorMessage
- appendSearchResult
- clearErrorMessage
- clearSearchResult
- clearWork
- convertIdToUrl
- cutString2by2
- encodeKey
- encodeURI
- escapeHtml
- failMessageHandler
- findPerfection
- fulltextFileName
- generateDeferred
- generateTexts
- indexFileName
- loadFullText
- loadHeader
- loadIndexFile
- loadTitleInfo
- log
- makeHtmlLink
- makeLinkToNext
- makeResultHtml
- makeTextHilighted
- normalizeText
- search
- showErrorMessage
- showFound
- showFoundByDoc
- showFoundByHit
- showLinkToNext
- showOnSearchMessage
- showPage
- showResultMessage
- sortFoundByDocumentPosition
- sortResultsByLocation
- sprintf
- startWork
- toUnicodeArray
- whenSearchRequestDone