MCPcopy Create free account

hub / github.com/OpenBangla/riti / functions

Functions227 in github.com/OpenBangla/riti

↓ 96 callersMethodto_string
Returns the suggestion item.
src/suggestion.rs:150
↓ 94 callersMethodlayout_get_value
(&self, key: &str, modifier: LayoutModifiers)
src/fixed/layout.rs:32
↓ 62 callersMethodprocess_key_value
Processes the `value` of the pressed key and updates the method's internal buffer which will be used when creating suggestion.
src/fixed/method.rs:235
↓ 44 callersMethodsuggest
( &mut self, term: &str, data: &Data, selections: &mut HashMap<String, String,
src/phonetic/suggestion.rs:106
↓ 24 callersMethodis_empty
Returns `true` if the `Suggestion` struct is empty.
src/suggestion.rs:74
↓ 19 callersMethodmap
Takes a closure to transform preceding and trailing parts.
src/utility.rs:123
↓ 18 callersMethodword
Returns word without any preceding and trailing meta characters.
src/utility.rs:135
↓ 17 callersMethodget_suggestion
( &mut self, key: u16, modifier: u8, _selection: u8, data: &Data,
src/fixed/method.rs:26
↓ 16 callersFunctionget_phonetic_method_defaults
()
src/config.rs:246
↓ 16 callersMethodget_suggestion_for_key
Get suggestion for key.
src/context.rs:29
↓ 15 callersMethodcreate_dictionary_suggestion
(&mut self, data: &Data, config: &Config)
src/fixed/method.rs:128
↓ 15 callersMethodlayout_get_value_numpad
(&self, key: &str, fixed_numpad: bool)
src/fixed/layout.rs:39
↓ 13 callersFunctionget_fixed_method_defaults
()
src/config.rs:265
↓ 13 callersMethodlen
Get the length of the suggestions contained.
src/suggestion.rs:132
↓ 9 callersMethodget_ansi_encoding
Checks if ANSI encoding is enabled.
src/config.rs:209
↓ 8 callersMethodinsert_old_style_reph
Inserts Reph into the buffer in old style.
src/fixed/method.rs:469
↓ 8 callersMethodset_suggestion_include_english
(&mut self, include: bool)
src/config.rs:98
↓ 6 callersMethodinclude_from_dictionary
Find words from the dictionary with given `word` and rank them according the `base` word.
src/phonetic/suggestion.rs:305
↓ 6 callersMethodis_vowel
Checks the char for a vowel character.
src/utility.rs:17
↓ 5 callersMethodfinish_input_session
Finish the ongoing input session if any.
src/context.rs:66
↓ 5 callersMethodpreceding
Returns trailing meta characters.
src/utility.rs:130
↓ 5 callersMethodset_ansi_encoding
Set the ANSI encoding configuration.
src/config.rs:214
↓ 5 callersMethodset_smart_quote
Set the config's smart quote.
src/config.rs:225
↓ 4 callersMethodfinish_input_session
(&mut self)
src/fixed/method.rs:66
↓ 4 callersMethodget_fixed_old_kar_order
Get the config's fixed kar order.
src/config.rs:172
↓ 4 callersMethodget_suggestion
( &mut self, key: u16, _modifier: u8, _selection: u8, _data: &Data,
src/khipro/method.rs:38
↓ 4 callersMethodis_pure_consonant
Checks the char for a pure consonant character.
src/utility.rs:28
↓ 4 callersFunctionpush_checked
Checks if the `vec` already has the `value` before inserting. If it does, then the `value` is not inserted.
src/utility.rs:35
↓ 4 callersMethodset_fixed_traditional_kar
Set the config's fixed kar.
src/config.rs:147
↓ 4 callersMethodsuggestion_with_dict
Make suggestions from the given `splitted_string`. This will include dictionary and auto-correct suggestion.
src/phonetic/suggestion.rs:207
↓ 3 callersMethodchange_item
Gives a mutable reference of the Rank's item.
src/suggestion.rs:188
↓ 3 callersMethodcreate_suggestion
(&mut self, data: &Data, config: &Config)
src/fixed/method.rs:120
↓ 3 callersMethodget_fixed_suggestion
Get the config's fixed database.
src/config.rs:112
↓ 3 callersFunctionget_khipro_method_defaults
()
src/config.rs:256
↓ 3 callersMethodget_layout_file_path
(&self)
src/config.rs:43
↓ 3 callersMethodis_kar
Checks the char for a kar character.
src/utility.rs:22
↓ 3 callersFunctionis_left_standing_kar
Is the provided `c` is a left standing Kar?
src/fixed/method.rs:558
↓ 3 callersFunctionkeycode_to_char
(key: u16)
src/keycodes.rs:133
↓ 3 callersFunctionread
Read the entire contents of a file into a bytes vector. Optimized to allocate the required amount of capacity beforehand.
src/utility.rs:58
↓ 3 callersFunctionriti_free
(ptr: *mut T)
src/ffi.rs:8
↓ 3 callersMethodset_fixed_suggestion
Set the config's fixed database.
src/config.rs:117
↓ 3 callersMethodtrailing
Returns trailing meta characters.
src/utility.rs:140
↓ 3 callersMethodupdate_engine
Update the suggestion making engine. This would also look for changes in layout selection and AutoCorrect database.
src/context.rs:48
↓ 2 callersMethodcreate_suggestion
Returns `Suggestion` struct with suggestions.
src/phonetic/method.rs:61
↓ 2 callersMethodcreate_suggestion
Transliterate the current buffer into a single (lonely) `Suggestion`.
src/khipro/method.rs:31
↓ 2 callersMethodfind_suffix
(&self, string: &str)
src/data.rs:24
↓ 2 callersMethodget_emoji_by_bengali
(&self, name: &str)
src/data.rs:41
↓ 2 callersMethodget_emoji_by_emoticon
(&self, emoticon: &str)
src/data.rs:33
↓ 2 callersMethodget_fixed_automatic_vowel
Get the config's fixed vowel.
src/config.rs:122
↓ 2 callersMethodget_fixed_traditional_kar
Get the config's fixed kar.
src/config.rs:142
↓ 2 callersMethodget_layout
Give layout's `layout` json object, which contains the layout data.
src/config.rs:197
↓ 2 callersMethodget_phonetic_suggestion
(&self)
src/config.rs:102
↓ 2 callersMethodget_smart_quote
(&self)
src/config.rs:220
↓ 2 callersMethodget_suggestion
( &mut self, key: u16, _modifier: u8, selection: u8, data: &Data,
src/phonetic/method.rs:84
↓ 2 callersMethodget_suggestion_include_english
(&self)
src/config.rs:93
↓ 2 callersMethodget_user_phonetic_autocorrect
Get file path of user defined Auto Correct file.
src/config.rs:84
↓ 2 callersMethodget_user_phonetic_selection_data
Get file path of user defined phonetic candidate selection file.
src/config.rs:89
↓ 2 callersMethodis_khipro
Checks if the layout is the Khipro phonetic method.
src/config.rs:192
↓ 2 callersFunctionis_ligature_making_kar
Is the provided `c` is a ligature making Kar?
src/fixed/chars.rs:159
↓ 2 callersMethodis_phonetic
Checks if the layout is phonetic
src/config.rs:187
↓ 2 callersMethodset_fixed_old_kar_order
Set the config's fixed kar order.
src/config.rs:177
↓ 2 callersMethodset_fixed_old_reph
Set the config's fixed old reph.
src/config.rs:157
↓ 2 callersMethodset_layout_file_path
Sets the layout file path. For Avro Phonetic, it accepts the name `avro_phonetic`. Returns `true` if the layout file path or name is valid.
src/config.rs:34
↓ 2 callersMethodset_phonetic_suggestion
Set the config's phonetic database.
src/config.rs:107
↓ 2 callersFunctionsmart_quoter
Convert preceding and trailing quotation marks(', ") into their curved form(‘, ’, “, ”) aka Smart Quote.
src/utility.rs:157
↓ 1 callersMethodadd_suffix_to_suggestions
Add suffix(গুলো, মালা, etc.) to the dictionary suggestions and return them. This function gets the suggestion list from the stored cache. Handles Au
src/phonetic/suggestion.rs:44
↓ 1 callersMethodas_tuple
Returns splitted string as a tuple in `(preceding, word, trailing)` order.
src/utility.rs:145
↓ 1 callersMethodbackspace_event
A BackSpace event. Returns a new `suggestion` after applying the BackSpace event. If the `ctrl` parameter is true then it deletes the whole word in
src/context.rs:79
↓ 1 callersMethodbackspace_event
(&mut self, ctrl: bool, data: &Data, config: &Config)
src/phonetic/method.rs:157
↓ 1 callersMethodcandidate_committed
A candidate of the suggestion list was committed. `index`: index of the candidate. This function will end the ongoing input session.
src/context.rs:40
↓ 1 callersFunctionclean_string
Clean a string by removing special characters.
src/utility.rs:198
↓ 1 callersMethodcmp
(&self, other: &Self)
src/suggestion.rs:210
↓ 1 callersMethodcurrent_suggestion
(&self, config: &Config)
src/fixed/method.rs:216
↓ 1 callersMethodfinish_input_session
(&mut self)
src/khipro/method.rs:64
↓ 1 callersMethodget_auxiliary_text
Get the auxiliary text.
src/suggestion.rs:98
↓ 1 callersMethodget_char_for_key
( &self, key: u16, modifier: LayoutModifiers, fixed_numpad: bool, )
src/fixed/layout.rs:46
↓ 1 callersMethodget_emoji_by_name
(&self, name: &str)
src/data.rs:37
↓ 1 callersMethodget_fixed_automatic_chandra
Get the config's fixed chandra.
src/config.rs:132
↓ 1 callersMethodget_fixed_numpad
Get the config's fixed numpad.
src/config.rs:162
↓ 1 callersMethodget_fixed_old_reph
Get the config's fixed old reph.
src/config.rs:152
↓ 1 callersMethodget_lonely_suggestion
Get the only suggestion of the *lonely* `Suggestion`.
src/suggestion.rs:90
↓ 1 callersFunctionget_modifiers
Returns boolean tuples of the modifiers from the bit masked integer `modifier`. First is Shift, second is Ctrl and third is Alt.
src/utility.rs:48
↓ 1 callersMethodget_pre_edit_text
Get the pre-edit text from the list of the `index'. This returns the lone suggestion if the suggestion is a lonely one. The main purpose of the func
src/suggestion.rs:112
↓ 1 callersMethodget_prev_selection
( &self, string: &SplittedString, data: &Data, selections: &mut HashMap<String
src/phonetic/suggestion.rs:247
↓ 1 callersMethodget_suggestions
Get the suggestions as an iterator.
src/suggestion.rs:82
↓ 1 callersFunctionget_user_data_dir
()
src/config.rs:230
↓ 1 callersMethodinternal_backspace_step
Removes the last `n` characters from the buffer.
src/fixed/method.rs:528
↓ 1 callersMethodis_lonely
Returns `true` when the `Suggestion` struct is a **lonely** one, otherwise returns `false`. A *lonely* `Suggestion` struct means that the struct has
src/suggestion.rs:69
↓ 1 callersMethodis_reph_moveable
Checks if the Reph is moveable by the Reph insertion algorithm.
src/fixed/method.rs:454
↓ 1 callersMethodlayout_changed
Checks if the layout path had changed.
src/config.rs:182
↓ 1 callersMethodongoing_input_session
Checks if there is an onging input session.
src/context.rs:61
↓ 1 callersMethodpreviously_selected_index
Returns index of the suggestion, which was previously selected.
src/suggestion.rs:124
↓ 1 callersMethodsearch_corrected
Search for a `term` in AutoCorrect dictionary. This looks in the user defined AutoCorrect entries first.
src/phonetic/suggestion.rs:320
↓ 1 callersMethodset_database_dir
Sets the database directory path. Returns `true` if the path exists.
src/config.rs:50
↓ 1 callersMethodset_fixed_automatic_chandra
Set the config's fixed chandra.
src/config.rs:137
↓ 1 callersMethodset_fixed_automatic_vowel
Set the config's fixed vowel.
src/config.rs:127
↓ 1 callersMethodset_fixed_numpad
Set the config's fixed numpad.
src/config.rs:167
↓ 1 callersMethodset_user_dir
Sets the user specific writable directory path. Returns `true` if the path exists.
src/config.rs:62
↓ 1 callersMethodsuggest_only_phonetic
Make suggestion from given `term` with only phonetic transliteration.
src/phonetic/suggestion.rs:93
Methodbackspace_event
(&mut self, ctrl: bool, data: &Data, config: &Config)
src/fixed/method.rs:72
next →1–100 of 227, ranked by callers