Appearance
@gracious.tech/fetch-client / other/search / SearchWords
Class: SearchWords
Defined in: client/src/other/search.ts:17
A generic class for searching any kind of representation of words over multiple books This can be used for a single book, a testament, or the whole Bible This can be used to search for strongs, lemmas, or original words WARN Searching both testaments will be wasteful unless both are using same language/codes
Constructors
Constructor
new SearchWords(
json):SearchWords
Defined in: client/src/other/search.ts:25
Parameters
json
string
Returns
SearchWords
Properties
_books
_books:
Record<string,string[][][]>
Defined in: client/src/other/search.ts:19
id
readonlyid:string
Defined in: client/src/other/search.ts:21
source
readonlysource:string
Defined in: client/src/other/search.ts:22
source_url
readonlysource_url:string
Defined in: client/src/other/search.ts:23
Methods
get_words_for_ref()
get_words_for_ref(
ref):string[]
Defined in: client/src/other/search.ts:38
Get words for given verse reference (the values that represent the words that is)
Parameters
ref
Returns
string[]
search()
search(…
values):SearchWordsResults[]
Defined in: client/src/other/search.ts:44
Search for given values (i.e. strongs codes or lemmas)
Parameters
values
…string[]