Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenBangla/riti
/ functions
Functions
227 in github.com/OpenBangla/riti
⨍
Functions
227
◇
Types & classes
18
↓ 96 callers
Method
to_string
Returns the suggestion item.
src/suggestion.rs:150
↓ 94 callers
Method
layout_get_value
(&self, key: &str, modifier: LayoutModifiers)
src/fixed/layout.rs:32
↓ 62 callers
Method
process_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 callers
Method
suggest
( &mut self, term: &str, data: &Data, selections: &mut HashMap<String, String,
src/phonetic/suggestion.rs:106
↓ 24 callers
Method
is_empty
Returns `true` if the `Suggestion` struct is empty.
src/suggestion.rs:74
↓ 19 callers
Method
map
Takes a closure to transform preceding and trailing parts.
src/utility.rs:123
↓ 18 callers
Method
word
Returns word without any preceding and trailing meta characters.
src/utility.rs:135
↓ 17 callers
Method
get_suggestion
( &mut self, key: u16, modifier: u8, _selection: u8, data: &Data,
src/fixed/method.rs:26
↓ 16 callers
Function
get_phonetic_method_defaults
()
src/config.rs:246
↓ 16 callers
Method
get_suggestion_for_key
Get suggestion for key.
src/context.rs:29
↓ 15 callers
Method
create_dictionary_suggestion
(&mut self, data: &Data, config: &Config)
src/fixed/method.rs:128
↓ 15 callers
Method
layout_get_value_numpad
(&self, key: &str, fixed_numpad: bool)
src/fixed/layout.rs:39
↓ 13 callers
Function
get_fixed_method_defaults
()
src/config.rs:265
↓ 13 callers
Method
len
Get the length of the suggestions contained.
src/suggestion.rs:132
↓ 9 callers
Method
get_ansi_encoding
Checks if ANSI encoding is enabled.
src/config.rs:209
↓ 8 callers
Method
insert_old_style_reph
Inserts Reph into the buffer in old style.
src/fixed/method.rs:469
↓ 8 callers
Method
set_suggestion_include_english
(&mut self, include: bool)
src/config.rs:98
↓ 6 callers
Method
include_from_dictionary
Find words from the dictionary with given `word` and rank them according the `base` word.
src/phonetic/suggestion.rs:305
↓ 6 callers
Method
is_vowel
Checks the char for a vowel character.
src/utility.rs:17
↓ 5 callers
Method
finish_input_session
Finish the ongoing input session if any.
src/context.rs:66
↓ 5 callers
Method
preceding
Returns trailing meta characters.
src/utility.rs:130
↓ 5 callers
Method
set_ansi_encoding
Set the ANSI encoding configuration.
src/config.rs:214
↓ 5 callers
Method
set_smart_quote
Set the config's smart quote.
src/config.rs:225
↓ 4 callers
Method
finish_input_session
(&mut self)
src/fixed/method.rs:66
↓ 4 callers
Method
get_fixed_old_kar_order
Get the config's fixed kar order.
src/config.rs:172
↓ 4 callers
Method
get_suggestion
( &mut self, key: u16, _modifier: u8, _selection: u8, _data: &Data,
src/khipro/method.rs:38
↓ 4 callers
Method
is_pure_consonant
Checks the char for a pure consonant character.
src/utility.rs:28
↓ 4 callers
Function
push_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 callers
Method
set_fixed_traditional_kar
Set the config's fixed kar.
src/config.rs:147
↓ 4 callers
Method
suggestion_with_dict
Make suggestions from the given `splitted_string`. This will include dictionary and auto-correct suggestion.
src/phonetic/suggestion.rs:207
↓ 3 callers
Method
change_item
Gives a mutable reference of the Rank's item.
src/suggestion.rs:188
↓ 3 callers
Method
create_suggestion
(&mut self, data: &Data, config: &Config)
src/fixed/method.rs:120
↓ 3 callers
Method
get_fixed_suggestion
Get the config's fixed database.
src/config.rs:112
↓ 3 callers
Function
get_khipro_method_defaults
()
src/config.rs:256
↓ 3 callers
Method
get_layout_file_path
(&self)
src/config.rs:43
↓ 3 callers
Method
is_kar
Checks the char for a kar character.
src/utility.rs:22
↓ 3 callers
Function
is_left_standing_kar
Is the provided `c` is a left standing Kar?
src/fixed/method.rs:558
↓ 3 callers
Function
keycode_to_char
(key: u16)
src/keycodes.rs:133
↓ 3 callers
Function
read
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 callers
Function
riti_free
(ptr: *mut T)
src/ffi.rs:8
↓ 3 callers
Method
set_fixed_suggestion
Set the config's fixed database.
src/config.rs:117
↓ 3 callers
Method
trailing
Returns trailing meta characters.
src/utility.rs:140
↓ 3 callers
Method
update_engine
Update the suggestion making engine. This would also look for changes in layout selection and AutoCorrect database.
src/context.rs:48
↓ 2 callers
Method
create_suggestion
Returns `Suggestion` struct with suggestions.
src/phonetic/method.rs:61
↓ 2 callers
Method
create_suggestion
Transliterate the current buffer into a single (lonely) `Suggestion`.
src/khipro/method.rs:31
↓ 2 callers
Method
find_suffix
(&self, string: &str)
src/data.rs:24
↓ 2 callers
Method
get_emoji_by_bengali
(&self, name: &str)
src/data.rs:41
↓ 2 callers
Method
get_emoji_by_emoticon
(&self, emoticon: &str)
src/data.rs:33
↓ 2 callers
Method
get_fixed_automatic_vowel
Get the config's fixed vowel.
src/config.rs:122
↓ 2 callers
Method
get_fixed_traditional_kar
Get the config's fixed kar.
src/config.rs:142
↓ 2 callers
Method
get_layout
Give layout's `layout` json object, which contains the layout data.
src/config.rs:197
↓ 2 callers
Method
get_phonetic_suggestion
(&self)
src/config.rs:102
↓ 2 callers
Method
get_smart_quote
(&self)
src/config.rs:220
↓ 2 callers
Method
get_suggestion
( &mut self, key: u16, _modifier: u8, selection: u8, data: &Data,
src/phonetic/method.rs:84
↓ 2 callers
Method
get_suggestion_include_english
(&self)
src/config.rs:93
↓ 2 callers
Method
get_user_phonetic_autocorrect
Get file path of user defined Auto Correct file.
src/config.rs:84
↓ 2 callers
Method
get_user_phonetic_selection_data
Get file path of user defined phonetic candidate selection file.
src/config.rs:89
↓ 2 callers
Method
is_khipro
Checks if the layout is the Khipro phonetic method.
src/config.rs:192
↓ 2 callers
Function
is_ligature_making_kar
Is the provided `c` is a ligature making Kar?
src/fixed/chars.rs:159
↓ 2 callers
Method
is_phonetic
Checks if the layout is phonetic
src/config.rs:187
↓ 2 callers
Method
set_fixed_old_kar_order
Set the config's fixed kar order.
src/config.rs:177
↓ 2 callers
Method
set_fixed_old_reph
Set the config's fixed old reph.
src/config.rs:157
↓ 2 callers
Method
set_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 callers
Method
set_phonetic_suggestion
Set the config's phonetic database.
src/config.rs:107
↓ 2 callers
Function
smart_quoter
Convert preceding and trailing quotation marks(', ") into their curved form(‘, ’, “, ”) aka Smart Quote.
src/utility.rs:157
↓ 1 callers
Method
add_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 callers
Method
as_tuple
Returns splitted string as a tuple in `(preceding, word, trailing)` order.
src/utility.rs:145
↓ 1 callers
Method
backspace_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 callers
Method
backspace_event
(&mut self, ctrl: bool, data: &Data, config: &Config)
src/phonetic/method.rs:157
↓ 1 callers
Method
candidate_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 callers
Function
clean_string
Clean a string by removing special characters.
src/utility.rs:198
↓ 1 callers
Method
cmp
(&self, other: &Self)
src/suggestion.rs:210
↓ 1 callers
Method
current_suggestion
(&self, config: &Config)
src/fixed/method.rs:216
↓ 1 callers
Method
finish_input_session
(&mut self)
src/khipro/method.rs:64
↓ 1 callers
Method
get_auxiliary_text
Get the auxiliary text.
src/suggestion.rs:98
↓ 1 callers
Method
get_char_for_key
( &self, key: u16, modifier: LayoutModifiers, fixed_numpad: bool, )
src/fixed/layout.rs:46
↓ 1 callers
Method
get_emoji_by_name
(&self, name: &str)
src/data.rs:37
↓ 1 callers
Method
get_fixed_automatic_chandra
Get the config's fixed chandra.
src/config.rs:132
↓ 1 callers
Method
get_fixed_numpad
Get the config's fixed numpad.
src/config.rs:162
↓ 1 callers
Method
get_fixed_old_reph
Get the config's fixed old reph.
src/config.rs:152
↓ 1 callers
Method
get_lonely_suggestion
Get the only suggestion of the *lonely* `Suggestion`.
src/suggestion.rs:90
↓ 1 callers
Function
get_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 callers
Method
get_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 callers
Method
get_prev_selection
( &self, string: &SplittedString, data: &Data, selections: &mut HashMap<String
src/phonetic/suggestion.rs:247
↓ 1 callers
Method
get_suggestions
Get the suggestions as an iterator.
src/suggestion.rs:82
↓ 1 callers
Function
get_user_data_dir
()
src/config.rs:230
↓ 1 callers
Method
internal_backspace_step
Removes the last `n` characters from the buffer.
src/fixed/method.rs:528
↓ 1 callers
Method
is_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 callers
Method
is_reph_moveable
Checks if the Reph is moveable by the Reph insertion algorithm.
src/fixed/method.rs:454
↓ 1 callers
Method
layout_changed
Checks if the layout path had changed.
src/config.rs:182
↓ 1 callers
Method
ongoing_input_session
Checks if there is an onging input session.
src/context.rs:61
↓ 1 callers
Method
previously_selected_index
Returns index of the suggestion, which was previously selected.
src/suggestion.rs:124
↓ 1 callers
Method
search_corrected
Search for a `term` in AutoCorrect dictionary. This looks in the user defined AutoCorrect entries first.
src/phonetic/suggestion.rs:320
↓ 1 callers
Method
set_database_dir
Sets the database directory path. Returns `true` if the path exists.
src/config.rs:50
↓ 1 callers
Method
set_fixed_automatic_chandra
Set the config's fixed chandra.
src/config.rs:137
↓ 1 callers
Method
set_fixed_automatic_vowel
Set the config's fixed vowel.
src/config.rs:127
↓ 1 callers
Method
set_fixed_numpad
Set the config's fixed numpad.
src/config.rs:167
↓ 1 callers
Method
set_user_dir
Sets the user specific writable directory path. Returns `true` if the path exists.
src/config.rs:62
↓ 1 callers
Method
suggest_only_phonetic
Make suggestion from given `term` with only phonetic transliteration.
src/phonetic/suggestion.rs:93
Method
backspace_event
(&mut self, ctrl: bool, data: &Data, config: &Config)
src/fixed/method.rs:72
next →
1–100 of 227, ranked by callers