Depending on the language, a word may have identical or different meanings.
The same word can have many different thoughts, eg: the hand, to hand ...
A thought can be stimulated and all these relationships can go up.
thought create <word> <separator> <lang> <lock_translation>
Synonymous
thought create|insert|add
Description
insert thought
Parameters
word: The word - string - required
separator: The separator - string - required
lang: The language - string - required
lock_translation: Lock the translation - string - required
admin
thought insert cat "" en false
mentdb
TH[6t]
thought show <word> <lang>
Description
To show all thoughts linked with a word in a language
Parameters
word: The word - string - required
lang: The language - string - required
admin
thought show cat en
mentdb
[
"TH[6t]"
]
thought show <word>
Description
To show all thoughts linked with a word in all languages
Parameters
word: The word - string - required
admin
thought show cat
mentdb
[
{
"thoughtId": "TH[6t]",
"lang": "en"
}
]
thought first <word> <lang>
Description
To get the first thought
Parameters
word: The word - string - required
lang: The language - string - required
admin
thought first cat en
mentdb
TH[6t]
thought last <word> <lang>
Description
To get the last thought
Parameters
word: The word - string - required
lang: The language - string - required
admin
thought last cat en
mentdb
TH[6t]
thought get <word> <position> <lang>
Description
To get a thought
Parameters
word: The word - string - required
position: The position - integer>=0 - required
lang: The language - string - required
admin
thought get cat 0 en
mentdb
TH[6t]
thought merge <level> <thoughtId1> <thoughtId2>
Description
To merge thoughts
Parameters
level: The level (ex: th|...) - string - required
thoughtId1: The thought id 1 - string - required
thoughtId2: The thought id 2 - string - required
admin
thought merge "th" TH[6t] TH[6s];
mentdb
Thoughts merged with successful.
admin
thought merge "th" (
word create snake en false;
) (
word create serpent fr false;
);
mentdb
Thoughts merged with successful.
thought prob_in_words <ths> <words>
Description
To get the thoughts probability in words
Parameters
ths: The thoughts - string - required
words: The words - string - required
admin
thought prob_in_words "TH[6]" "cat";
mentdb
100
thought show words <thoughtId>
Description
To show all words in a thought
Parameters
thoughtId: The thought id - string - required
admin
thought show words TH[6]
mentdb
[
{
"lang": "en",
"word": "W[cat]"
}
]
thought show words <thoughtId> <lang>
Description
To show all words in a thought for a specific language
Parameters
thoughtId: The thought id - string - required
lang: The language - string - required
admin
thought show words TH[6] en
mentdb
[
{
"lang": "fr",
"word": "W[cat]"
}
]
thought stimulate <thoughtId>
Description
To stimulate a thought
Parameters
thoughtId: The thought id - string - required
admin
thought stimulate TH[6t]
mentdb
Thought TH[6t] stimulated with successful.
thought delete <thoughtId>
Description
To delete a specific thought
Parameters
thoughtId: The thought id - string - required
admin
thought delete (word create chicken en false)
mentdb
Thought TH[115] deleted with successful.
thought delete by lang <lang> <thoughtId>
Description
To delete a specific thought in a language
Parameters
lang: The language - string - required
thoughtId: The thought id - string - required
admin
thought delete by lang en (word create chicken en false)
mentdb
Thought TH[115] deleted with successful in the language 'en'.
thought delete by word <word> <thoughtId>
Description
To delete a specific thought in a word
Parameters
word: The word - string - required
thoughtId: The thought id - string - required
admin
thought delete by word chicken (word create chicken en false)
mentdb
Thought TH[115] deleted with successful in the word 'chicken'.
thought delete by word lang <word> <lang> <thoughtId>
Description
To delete a specific thought in a word and in a language
Parameters
word: The word - string - required
lang: The language - string - required
thoughtId: The thought id - string - required
admin
thought delete by word lang chicken en (word create chicken en false)
mentdb
Thought TH[115] deleted with successful in the word 'chicken' and the language en.
© 2012 - 2019 - MentDB.