Get desktop application:
View/edit binary Protocol Buffers messages
Used in:
ID of this dictionary
set false if this dictionary is not used. Even if |enabled| is false, the dictionary it self is visible to user.
name of dictionary
set true if this dictionary is removed. This flag is used for cloud sync feature. Cloud sync feature is already deprecated and this flag is only used to convert sync dictionary to normal dictionary.
This flag is used for cloud sync feature. Cloud sync feature is already deprecated and this flag is only used to convert sync dictionary to normal dictionary.
entry of each word
Used in: , ,
Do NOT use tag number '3' in this proto. Please see below.
Historically we used to use tag number '3' for POS in string format. In order to switch it to enum based POS, we removed (deprecated) the tag number '3' field and created another field numbered '5'.
set true if this entry is removed. This flag is used for cloud sync feature. Cloud sync feature is already deprecated and this flag is only used to convert sync dictionary to normal dictionary.
set true if this entry is automatically registered by converter.
Used in:
"名詞"
"短縮よみ"
"サジェストのみ"
"固有名詞"
"人名"
"姓"
"名"
"組織"
"地名"
"名詞サ変"
"名詞形動"
"数"
"アルファベット"
"記号"
"顔文字"
"副詞"
"連体詞"
"接続詞"
"感動詞"
"接頭語"
"助数詞"
"接尾一般"
"接尾人名"
"接尾地名"
"動詞ワ行五段"
"動詞カ行五段"
"動詞サ行五段"
"動詞タ行五段"
"動詞ナ行五段"
"動詞マ行五段"
"動詞ラ行五段"
"動詞ガ行五段"
"動詞バ行五段"
"動詞ハ行四段"
"動詞一段"
"動詞カ変"
"動詞サ変"
"動詞ザ変"
"動詞ラ変"
"形容詞"
"終助詞"
"句読点"
"独立語"
"抑制単語"
Used in:
Used in:
Does nothing.
Unlink the user dictionary file if necessary. We can do this operation without creating a session. This operation is introduced as a last resort to clean up user dictionary, so it *forces* to unlink the file regardless of the current user dictionary session status.
Creates a new session, and returns its id via UserDictionaryCommandStatus::session_id.
Deletes the session identified by session_id.
Sets the default dictionary name. It will be used when ensure_non_empty_storage is enabled and the operation supporting the flag is invoked.
Checks if the session is currently undoable or not.
Undoes the last operation.
Loads from local storage.
Saves to local storage.
Returns a list of name and dictionary-id pairs. They are filled in the form of UserDictionary without any entries in UserDictionaryCommandStatus::storage.
Returns the number of entries in the dictionary with the given dictionary_id.
Returns an entry in the dictionary specified by dictionary_id. The position of the entry should be specified via entry_index(0).
Returns if it is possible to add new dictionary or not. The result is returned by using status code.
Creates a new dictionary with the dictionary_name.
Deletes the dictionary with the given dictionary_id.
Renames the dictionary with the given dictionary_id to dictionary_name.
Returns if it is possible to add new entry to the dictionary with the given dictionary_id or not.
Adds an entry to the dictionary with the given dictionary_id. Added entry should be located at the end of the dictionary, and the data should be passed via entry field.
Edits an entry in the dictionary with the given dictionary_id. The new data should be passed via entry. The edit target should be specified via entry_index(0).
Deletes entries in the dictionary with the given dictionary_id. The target entries should be specified based on index in entry_index.
Imports entries from the given data into a dictionary. There are two ways to specify the dictionary: 1) set dictionary_id for the dictionary 2) set dictionary_name to create a new dictionary with the name.
Gets the entire UserDictionaryStorage data. Note: The result of this command could be too large for IPC, which has a size limitation of the response data.
Used in:
Note: this status code is now temporary assgined. It may be updated (incl. re-numbering) to organize the code. I.e., the code shouldn't be saved in serialized format for now. TODO(hidehiko): Re-organize and re-number the enum values, after we check all necessary codes in.
Used in:
Note: SUCCEEDED is conflicting Windows MACRO.
Note: currently if we recieve this error status, the file is actually saved.
Errors for dictionary names.
Errors for entry data.
Errors for importing.
Used in:
version of user dictionary
dictionary body
Used in:
This storage is a snapshot.
This storage is a diff of some snapshots.