MentDB
Mentalese Database Engine
Back / All functions / Word

Words and symbols form a gigantic index that points to thoughts.
You can easily search for a word with just a few symbols.
A word can exist in several languages, or sometimes in the same language.

word create word create|insert|addword create word create|insert|addword existword firstword lastword getword lang probabilityword searchword levenshteinword show languagesword showword showword perceptionword perception symbolword perception thoughtword stimulateword deleteword delete

word create <word> <lang> <type> <lock_translation>

Synonymous

    word create|insert|add

Description

    To insert a new word in a language

Parameters

    word:   The word - string - required
    lang:   The language - string - required
    type:   The type - string - required
    lock_translation:   Lock the translation - string - required
admin
word create dog en false
mentdb
TH[6q]
admin
word create chien fr false
mentdb
TH[6r]
admin
word create cat en false
mentdb
TH[6s]

word create <word> <lang> <separator> <type> <lock_translation>

Synonymous

    word create|insert|add

Description

    To insert a new word in a language with separator

Parameters

    word:   The word - string - required
    lang:   The language - string - required
    separator:   The separator - string - required
    type:   The type - string - required
    lock_translation:   Lock the translation - string - required
admin
word create "New-York" en "-" false
mentdb
TH[6v]

word exist <word> <lang>

Description

    To check if a word already exist in a language

Parameters

    word:   The word - string - required
    lang:   The language - string - required
admin
word exist dog en
mentdb
1

word first <word> <lang>

Description

    To get the first word tab link

Parameters

    word:   The word - string - required
    lang:   The language - string - required
admin
word first dog en
mentdb
TH[6q]

word last <word> <lang>

Description

    To get the last word tab link

Parameters

    word:   The word - string - required
    lang:   The language - string - required
admin
word last dog en
mentdb
TH[6q]

word get <word> <position> <lang>

Description

    To get the word tab link

Parameters

    word:   The word - string - required
    position:   The position - integer>=0 - required
    lang:   The language - string - required
admin
word get dog 0 en
mentdb
TH[6q]

word lang probability <sentence>

Description

    To get the language probability

Parameters

    sentence:   The sentence - string - required
admin
word lang probability "dog"
mentdb
[
{
"v": 100.0,
"k": "en"
}
]
Description

    To search words

Parameters

    symbols:   Symbols - string - required
    regex:   The regex - string - required
    order:   The order - string (asc|desc|top) - required
    lang:   The lang - string - required
admin
word search do "do.*" top en
mentdb
[{"dog":100.0}]

word levenshtein <symbols> <order> <lang>

Description

    To search levenshtein distance between words

Parameters

    symbols:   Symbols - string - required
    order:   The order - string (asc|desc|top) - required
    lang:   The lang - string - not required
admin
word levenshtein dg top en
mentdb
[{"Dog":33.33333333333333}]

word show languages <word>

Description

    To show all languages for a specific word

Parameters

    word:   The word - string - required
admin
word show languages dog
mentdb
[
"en"
]

word show <word>

Description

    To show word tab links in all languages

Parameters

    word:   The word - string - required
admin
word show dog
mentdb
[
{
"thoughtId": "TH[6q]",
"lang": "en"
}
]

word show <word> <lang>

Description

    To show word tab links

Parameters

    word:   The word - string - required
    lang:   The language - string - required
admin
word show dog en
mentdb
[
"TH[6q]"
]

word perception <word> <lang>

Description

    To show symbol tab link perceptions for a specific word (average % tab link)

Parameters

    word:   The word - string - required
    lang:   The language - string - required
admin
word perception dog en
mentdb
[ { "v": 100.0, "w": 1, "mw": 1, "k": "TL[646f67 0 en]" }, { "v": 0.0, "w": 0, "mw": 1, "k": "TL[646f67 1 en]" }, { "v": 0.0, "w": 0, "mw": 1, "k": "TL[646f67 2 en]" } ]

word perception symbol <word> <lang>

Description

    To show symbol perception for a specific word (average % symbol)

Parameters

    word:   The word - string - required
    lang:   The language - string - required
admin
word perception symbol dog en
mentdb
[ { "v": 33.33333333333333, "w": 2, "mw": 6, "k": "S[d]" }, { "v": 50.0, "w": 3, "mw": 6, "k": "S[o]" }, { "v": 16.666666666666664, "w": 1, "mw": 6, "k": "S[g]" } ]

word perception thought <word> <lang>

Description

    To show thought perception for a specific word

Parameters

    word:   The word - string - required
    lang:   The language - string - required
admin
word perception thought dog en
mentdb
[ { "v": 0.0, "w": 0, "mw": 0, "k": "TH[0]" } ]

word stimulate <word> <lang>

Description

    To stimulate a word

Parameters

    word:   The word - string - required
    lang:   The language - string - required
admin
word stimulate dog en
mentdb
Word W[dog] stimulated with successful in the language 'en'.

word delete <word> <lang>

Description

    To delete a word in a language

Parameters

    word:   The word - string - required
    lang:   The language - string - required
admin
word delete dog en
mentdb
Word W[dog] deleted with successful in the language 'en'.

word delete <word>

Description

    To delete a word

Parameters

    word:   The word - string - required
admin
word delete dog
mentdb
Word W[dog] deleted with successful.




© 2012 - 2019 - MentDB.