JP2015064759A - Electronic device, conversion candidate registration program, and conversion candidate registration method - Google Patents
Electronic device, conversion candidate registration program, and conversion candidate registration method Download PDFInfo
- Publication number
- JP2015064759A JP2015064759A JP2013198334A JP2013198334A JP2015064759A JP 2015064759 A JP2015064759 A JP 2015064759A JP 2013198334 A JP2013198334 A JP 2013198334A JP 2013198334 A JP2013198334 A JP 2013198334A JP 2015064759 A JP2015064759 A JP 2015064759A
- Authority
- JP
- Japan
- Prior art keywords
- words
- word
- conversion
- company
- series
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 101
- 238000000034 method Methods 0.000 title claims description 18
- 230000002596 correlated effect Effects 0.000 claims description 23
- 210000002925 A-like Anatomy 0.000 description 35
- 240000000220 Panda oleosa Species 0.000 description 16
- 235000016496 Panda oleosa Nutrition 0.000 description 16
- 238000010586 diagram Methods 0.000 description 15
- 230000000875 corresponding effect Effects 0.000 description 6
- 239000000284 extract Substances 0.000 description 5
- 210000001072 colon Anatomy 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 235000008247 Echinochloa frumentacea Nutrition 0.000 description 1
- 244000182691 Echinochloa frumentacea Species 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Machine Translation (AREA)
- Document Processing Apparatus (AREA)
Abstract
Description
本発明は、電子機器、変換候補登録プログラム及び変換候補登録方法に関する。 The present invention relates to an electronic device, a conversion candidate registration program, and a conversion candidate registration method.
コンピュータ、スマートフォン、タブレット端末、カーナビゲーション装置等、文字入力が可能な電子機器には、漢字入力を容易にするために、入力された仮名文字の文字列を、漢字を含む文字列に変換するための変換辞書が備えられている。変換辞書を用いた「かな漢字変換」では、入力文字列に対する変換候補として、過去の変換結果が変換辞書に随時登録される。 For electronic devices that can input characters, such as computers, smartphones, tablet terminals, car navigation devices, etc., to convert the input character string of kana characters into a character string that includes Chinese characters in order to facilitate the input of Chinese characters The conversion dictionary is provided. In “Kana-Kanji conversion” using a conversion dictionary, past conversion results are registered in the conversion dictionary as needed as conversion candidates for an input character string.
入力された文字列が、複数の単語と、それら複数の単語を区切る「区切り記号」とを含む場合には、区切り記号により区切られた複数の単語が一体として意味を持つのか否かの判定をすることが難しい。よって、入力された文字列に区切り記号が含まれる場合には、その文字列全体の変換結果ではなく、区切り記号により区切られた各単語のそれぞれの変換結果が変換候補として変換辞書に登録されることが多い。例えば、変換結果が「日本株式会社 A様、B様」のように、スペース及び読点の区切り記号を含む場合には、区切り記号によって「日本株式会社」と、「A様」と、「B様」とに分割された3つの変換候補が変換辞書に登録されることが多い。 When the input character string includes a plurality of words and a “separator” that separates the plurality of words, it is determined whether or not the plurality of words separated by the delimiter have meaning as a whole. Difficult to do. Therefore, when a delimiter is included in the input character string, the conversion result of each word delimited by the delimiter is registered in the conversion dictionary as a conversion candidate instead of the conversion result of the entire character string. There are many cases. For example, if the conversion result includes a space and a punctuation mark, such as “Japan Corporation A-like, B-like”, “Japan Corporation”, “A-like”, “B-like” Are often registered in the conversion dictionary.
よって、複数の単語と区切り記号とを含む文字列がユーザにより頻繁に入力される文字列であっても、ユーザがその文字列をかな漢字変換する際には、個々の単語毎に変換が必要になる。このため、ユーザの手間が増えるとともに、漢字入力の効率が低下する。 Therefore, even if a character string including a plurality of words and a delimiter is a character string that is frequently input by the user, when the user converts the character string to Kana-Kanji, conversion is required for each individual word. Become. For this reason, a user's effort increases and the efficiency of Kanji input falls.
これに対し、漢字入力の効率の低下を防止するために、複数の単語と区切り記号とを含む文字列を一体としてユーザが予め手動で変換辞書に登録することが可能である。しかし、手動での登録はユーザの手間を増やすことになり効率が悪い。 On the other hand, in order to prevent a decrease in the efficiency of inputting Chinese characters, the user can manually register in advance in the conversion dictionary a character string including a plurality of words and delimiters. However, manual registration increases user effort and is inefficient.
開示の技術は、上記に鑑みてなされたものであって、区切り記号を含む文字列に対する変換候補の登録の効率を上げることができる電子機器、変換候補登録プログラム及び変換候補登録方法を提供することを目的とする。 The disclosed technology has been made in view of the above, and provides an electronic device, a conversion candidate registration program, and a conversion candidate registration method that can increase the efficiency of registration of conversion candidates for a character string including a delimiter. With the goal.
開示の態様では、入力文字に対する変換文字の候補である変換候補を記憶する。また、所定の区切り記号によって区切られる複数の単語において互いに相関がある一連の単語を関連付ける。また、関連付けた一連の単語と、これら一連の単語を区切る区切り記号とを一体として変換候補に登録する。 In the disclosed aspect, conversion candidates that are conversion character candidates for the input character are stored. In addition, a series of words correlated with each other in a plurality of words delimited by a predetermined delimiter are associated. In addition, a series of related words and a delimiter that separates the series of words are registered together as a conversion candidate.
開示の態様によれば、区切り記号を含む文字列に対する変換候補の登録の効率を上げることができる。 According to the disclosed aspect, the efficiency of registering conversion candidates for a character string including a delimiter can be increased.
以下に、本願の開示する電子機器、変換候補登録プログラム及び変換候補登録方法の実施例を図面に基づいて詳細に説明する。なお、この実施例により本願の開示する電子機器、変換候補登録プログラム及び変換候補登録方法が限定されるものではない。また、以下の実施例において、同一の機能を有する構成、及び、同一の処理を行うステップには同一の符号を付し、重複する説明を省略する。 Embodiments of an electronic device, a conversion candidate registration program, and a conversion candidate registration method disclosed in the present application will be described below in detail with reference to the drawings. In addition, the electronic device, the conversion candidate registration program, and the conversion candidate registration method disclosed in the present application are not limited by this embodiment. Further, in the following embodiments, configurations having the same function and steps for performing the same processing are denoted by the same reference numerals, and redundant description is omitted.
[実施例1]
<電子機器のハードウェア構成>
図1は、実施例1の電子機器のハードウェア構成例を示す図である。図1において、電子機器10は、プロセッサ11と、タッチパネル12と、メモリ13とを有する。電子機器10の一例として、文字入力が可能なコンピュータ、スマートフォン、タブレット端末、カーナビゲーション装置等がある。
[Example 1]
<Hardware configuration of electronic equipment>
FIG. 1 is a diagram illustrating a hardware configuration example of the electronic apparatus according to the first embodiment. In FIG. 1, the
プロセッサ11は、電子機器10の各種処理を行う。特に、プロセッサ11は、電子機器10へ入力された文字(つまり「入力文字」)に対する変換文字の候補(つまり「変換候補」)を、メモリ13に記憶された変換辞書131に登録する。プロセッサ11の一例として、CPU(Central Processing Unit)、DSP(Digital Signal Processor)、FPGA(Field Programmable Gate Array)等が挙げられる。
The processor 11 performs various processes of the
タッチパネル12は、電子機器10の表面に取り付けられ、文字入力を含む入力操作を受け付けると共に、各種の情報を表示する。
The
メモリ13は、変換候補が登録された変換辞書131と、複数のエントリが登録されたアドレス帳132とを記憶する。また、メモリ13は、各種のプログラムを記憶する。メモリ13の一例として、SDRAM(Synchronous Dynamic Random Access Memory)等のRAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ等が挙げられる。
The
<電子機器の動作>
図2は、実施例1のアドレス帳の登録例を示す図である。図3は、実施例1のグループリストの一例を示す図である。
<Operation of electronic equipment>
FIG. 2 is a diagram illustrating an example of address book registration according to the first embodiment. FIG. 3 is a diagram illustrating an example of a group list according to the first embodiment.
例えば、アドレス帳132には、図2に示すように、エントリ21,22,23がユーザにより予め登録されている。エントリ21,22,23において、上段の項目には、各エントリを一意に特定可能な「第1の情報」が登録され、下段の項目には、エントリが属するグループを示す「第2の情報」が登録される。ここでは、「第1の情報」として、例えば「A様」、「B様」、「C様」のような「連絡先名」が登録されており、これらの連絡先名が、エントリを検索する際のプライマリキーとなる。また、「第2の情報」として、例えば「F社」、「D社」のような、各連絡先が属するグループを表す「所属会社名」が登録されている。
For example, as shown in FIG. 2,
また、アドレス帳132には、図3に示すように、グループリスト30がユーザにより予め登録されている。エントリ21,22に登録された所属会社名が共に「F社」であることに合わせて、グループ名31を「F社」、「F社」に属する連絡先名32−1,32−2を「A様」,「B様」とするグループリスト30が登録されている。つまり、連絡先名「A様」及び「B様」は、互いに同一のグループに登録されている。グループリスト30において、連絡先名32−1,32−2は上記の「第1の情報」に相当し、グループ名31は、エントリが属するグループを示す上記の「第2の情報」に相当する。また、グループ名31は、グループリスト30を検索する際のプライマリキーとなる。
Further, as shown in FIG. 3, the
このようなエントリ及びグループリストが登録されたアドレス帳132を用いて、プロセッサ11は、以下のようにして、変換候補を変換辞書131に登録する。以下では、登録例1と、登録例2の2つの登録例を挙げる。図4A〜D及び図5A〜Dは、実施例1の電子機器の動作の説明に供する図である。
Using the address book 132 in which such entries and group lists are registered, the processor 11 registers conversion candidates in the
<登録例1>
図4A〜Dを用いて、登録例1について説明する。
<Registration example 1>
Registration example 1 will be described with reference to FIGS.
タッチパネル12を用いて入力された仮名文字の文字列の変換結果「A様、B様(F社)、C様(D社)」がタッチパネル12に表示されている状態で、タッチパネル12上の確定キーまたは改行キーがタッチされて、この変換結果が確定される(図4A)。図4Aに示す変換結果は、「A様」,「B様」,「F社」,「C様」,「D社」の複数の単語と、これらの複数の単語を区切る「、」,「(」,「)」の所定の区切り記号とを含む。
The conversion result “A-like, B-like (Company F), C-like (Company D)” of the kana character string input using the
プロセッサ11は、変換結果の確定がなされると、変換結果「A様、B様(F社)、C様(D社)」から、所定の区切り記号を除く、複数の単語「A様」,「B様」,「F社」,「C様」,「D社」を抽出する(図4B)。所定の区切り記号「、」,「(」,「)」は予めメモリ13に登録されている。
When the conversion result is confirmed, the processor 11 removes a predetermined delimiter from the conversion results “A-like, B-like (Company F), C-like (Company D)”, a plurality of words “A-like”, “B-like”, “Company F”, “C-like” and “Company D” are extracted (FIG. 4B). The predetermined delimiters “,”, “(”, “)” are registered in the
次いで、プロセッサ11は、抽出した複数の単語「A様」,「B様」,「F社」,「C様」,「D社」において、互いに隣接する2つの単語である「単語1」と「単語2」との間での相関の有無を、アドレス帳132を参照して判定する(図4C)。 Next, the processor 11 selects “word 1” which is two words adjacent to each other in the extracted words “like A”, “like B”, “company F”, “like C”, and “company D”. The presence or absence of correlation with “word 2” is determined with reference to the address book 132 (FIG. 4C).
単語1が「A様」であり、単語2が「B様」である場合、グループリスト30において、単語1は連絡先名32−1に一致し、単語2は連絡先名32−2に一致する。つまり、グループリスト30において、「A様」と「B様」とは互いに同一のグループ「F社」に登録されている。そこで、プロセッサ11は、「A様」と「B様」とを、互いに相関がある一連の単語と判定して関連付ける。
When the word 1 is “like A” and the word 2 is “like B”, in the
単語1が「B様」であり、単語2が「F社」である場合、単語1はエントリ22の連絡先名に一致し、単語2はエントリ22の所属会社名に一致する。つまり、「B様」と「F社」とは互いに同一のエントリ22に登録されている。そこで、プロセッサ11は、「B様」と「F社」とを、互いに相関がある一連の単語と判定して関連付ける。
When the word 1 is “B” and the word 2 is “Company F”, the word 1 matches the contact name of the
そして、「A様」と「B様」とが関連付けられ、「B様」と「F社」とが関連付けられる結果、「A様」と「B様」と「F社」とが互いに相関がある一連の単語として関連付けられる。 As a result of associating “Like A” and “Like B” and associating “Like B” with “Company F”, “Like A”, “Like B”, and “Company F” are correlated with each other. Associated as a series of words.
単語1が「F社」であり、単語2が「C様」である場合、図2に示すように、「F社」と「C様」とは同一のエントリに登録されていない。また、図3に示すように、「F社」のグループリスト30には「C様」は登録されていない。そこで、プロセッサ11は、「F社」と「C様」との間には相関がないと判定し、「F社」と「C様」とを関連付けない。
When the word 1 is “Company F” and the word 2 is “C-like”, as shown in FIG. 2, “F Company” and “C-like” are not registered in the same entry. Further, as shown in FIG. 3, “C-like” is not registered in the
単語1が「C様」であり、単語2が「D社」である場合、単語1はエントリ23の連絡先名に一致し、単語2はエントリ23の所属会社名に一致する。つまり、「C様」と「D社」とは互いに同一のエントリ23に登録されている。そこで、プロセッサ11は、「C様」と「D社」とを、互いに相関がある一連の単語と判定して関連付ける。
When the word 1 is “C” and the word 2 is “Company D”, the word 1 matches the contact name of the
次いで、プロセッサ11は、関連付けた一連の単語と、それらの一連の単語を区切る区切り記号とを一体として変換辞書131の変換候補に登録する(図4D)。 Next, the processor 11 registers a series of related words and a delimiter that separates the series of words as conversion candidates in the conversion dictionary 131 (FIG. 4D).
すなわち、プロセッサ11は、図4Aに示す変換結果「A様、B様(F社)、C様(D社)」から、一連の単語として関連付けた「A様」,「B様」,「F社」と、区切り記号「、」,「(」,「)」とを一体として抽出する。この際、プロセッサ11は、抽出の終点の区切り記号を「)」として抽出を行う。つまり、プロセッサ11は、「A様、B様(F社)、C様(D社)」から「A様、B様(F社)」を抽出する。そして、プロセッサ11は、抽出した「A様、B様(F社)」を、読み「えーさま」に対する変換候補に登録する。この読み「えーさま」は、図4Aに示す変換結果「A様、B様(F社)、C様(D社)」を得る際に入力された仮名文字のうち、「A様、B様(F社)」において最初の単語である「A様」に対応する仮名文字を抽出したものである。よって、この変換候補の登録以降にタッチパネル12に「えーさま」なる仮名文字の文字列が入力されると、その文字列の変換候補として、区切り記号を含む「A様、B様(F社)」がタッチパネル12に表示される。
That is, the processor 11 associates “A-like”, “B-like”, “F” associated as a series of words from the conversion results “A-like, B-like (Company F), C-like (Company D)” shown in FIG. 4A. "Company" and separators ",", "(", ")" are extracted as a unit. At this time, the processor 11 performs extraction by setting the delimiter at the end point of extraction as “)”. In other words, the processor 11 extracts “A-like, B-like (Company F)” from “A-like, B-like (Company F), C-like (Company D)”. Then, the processor 11 registers the extracted “A-like, B-like (Company F)” as a conversion candidate for the reading “Esama”. This reading “E-sama” is “A-like, B-like” among the kana characters entered when obtaining the conversion results “A-like, B-like (Company F), C-like (Company D)” shown in FIG. 4A. Kana characters corresponding to the first word “Ms. A” in (Company F) ”are extracted. Therefore, when a character string of the kana character “E-sama” is input to the
また、プロセッサ11は、図4Aに示す変換結果「A様、B様(F社)、C様(D社)」から、一連の単語として関連付けた「C様」,「D社」と、区切り記号「(」,「)」とを一体として抽出する。つまり、プロセッサ11は、「A様、B様(F社)、C様(D社)」から「C様(D社)」を抽出する。そして、プロセッサ11は、抽出した「C様(D社)」を、読み「しーさま」に対する変換候補に登録する。この読み「しーさま」は、図4Aに示す変換結果「A様、B様(F社)、C様(D社)」を得る際に入力された仮名文字のうち、「C様(D社)」において最初の単語である「C様」に対応する仮名文字を抽出したものである。よって、この変換候補の登録以降にタッチパネル12に「しーさま」なる仮名文字の文字列が入力されると、その文字列の変換候補として、区切り記号を含む「C様(D社)」がタッチパネル12に表示される。
Further, the processor 11 separates the conversion results “A-like, B-like (Company F), C-like (Company D)” shown in FIG. 4A into a series of words “C-like” and “D-Company”. The symbols “(”, “)” are extracted as a unit. That is, the processor 11 extracts “C-like (Company D)” from “A-like, B-like (Company F), C-like (Company D)”. Then, the processor 11 reads the extracted “C-like (Company D)” and registers it as a conversion candidate for “Shisa-sama”. This reading “Shi-sama” is “C-like” (D-like) among the kana characters entered when obtaining the conversion result “A-like, B-like (Company F), C-like (Company D)” shown in FIG. 4A. The kana characters corresponding to the first word “C-like” are extracted. Therefore, when a character string of the kana character “Shisa-sama” is input to the
<登録例2>
図5A〜Dを用いて、登録例2について説明する。
<Registration example 2>
Registration example 2 will be described with reference to FIGS.
タッチパネル12を用いて入力された仮名文字の文字列の変換結果「F社:A様、B様 D社:C様」がタッチパネル12に表示されている状態で、タッチパネル12上の確定キーまたは改行キーがタッチされて、この変換結果が確定される(図5A)。図5Aに示す変換結果は、「F社」,「A様」,「B様」,「D社」,「C様」の複数の単語と、これらの複数の単語を区切る「:」,「スペース」の所定の区切り記号とを含む。
The conversion result of the character string of the kana character input using the
プロセッサ11は、変換結果の確定がなされると、変換結果「F社:A様、B様 D社:C様」から、所定の区切り記号を除く、複数の単語「F社」,「A様」,「B様」,「D社」,「C様」を抽出する(図5B)。所定の区切り記号「:」,「スペース」は予めメモリ13に登録されている。
When the conversion result is finalized, the processor 11 removes a predetermined delimiter from the conversion result “Company F: A, B, D: C”, and a plurality of words “Company F”, “A” ”,“ B-like ”,“ D company ”, and“ C-like ”are extracted (FIG. 5B). The predetermined delimiters “:” and “space” are registered in the
次いで、プロセッサ11は、抽出した複数の単語「F社」,「A様」,「B様」,「D社」,「C様」において、互いに隣接する2つの単語である「単語1」と「単語2」との間での相関の有無を、アドレス帳132を参照して判定する(図5C)。 Next, the processor 11 selects “word 1” which is two words adjacent to each other in the extracted plural words “F company”, “A like”, “B like”, “D company”, “C like”. The presence or absence of correlation with “word 2” is determined with reference to the address book 132 (FIG. 5C).
単語1が「F社」であり、単語2が「A様」である場合、単語1はエントリ21の所属会社名に一致し、単語2はエントリ21の連絡先名に一致する。つまり、「F社」と「A様」とは互いに同一のエントリ21に登録されている。そこで、プロセッサ11は、「F社」と「A様」とを、互いに相関がある一連の単語と判定して関連付ける。 When the word 1 is “Company F” and the word 2 is “Like A”, the word 1 matches the company name of the entry 21 and the word 2 matches the contact name of the entry 21. That is, “Company F” and “Like A” are registered in the same entry 21. Therefore, the processor 11 determines and associates “Company F” and “Like A” with a series of words that are correlated with each other.
単語1が「A様」であり、単語2が「B様」である場合、グループリスト30において、単語1は連絡先名32−1に一致し、単語2は連絡先名32−2に一致する。つまり、グループリスト30において、「A様」と「B様」とは互いに同一のグループ「F社」に登録されている。そこで、プロセッサ11は、「A様」と「B様」とを、互いに相関がある一連の単語と判定して関連付ける。
When the word 1 is “like A” and the word 2 is “like B”, in the
そして、「F社」と「A様」とが関連付けられ、「A様」と「B様」とが関連付けられる結果、「F社」と「A様」と「B様」とが互いに相関がある一連の単語として関連付けられる。 Then, “Company F” is associated with “A-like”, and “A-like” is associated with “B-like”. As a result, “Company F”, “A-like”, and “B-like” are correlated with each other. Associated as a series of words.
単語1が「B様」であり、単語2が「D社」である場合、図2に示すように、「B様」と「D社」とは同一のエントリに登録されていない。また、図3に示すように、「D社」のグループリストは存在しない。そこで、プロセッサ11は、「B様」と「D社」との間には相関がないと判定し、「B様」と「D社」とを関連付けない。 When the word 1 is “B” and the word 2 is “D”, as shown in FIG. 2, “B” and “D” are not registered in the same entry. Also, as shown in FIG. 3, there is no group list for “Company D”. Therefore, the processor 11 determines that there is no correlation between “Like B” and “Company D”, and does not associate “Like B” with “D Company”.
単語1が「D社」であり、単語2が「C様」である場合、単語1はエントリ23の所属会社名に一致し、単語2はエントリ23の連絡先名に一致する。つまり、「D社」と「C様」とは互いに同一のエントリ23に登録されている。そこで、プロセッサ11は、「D社」と「C様」とを、互いに相関がある一連の単語と判定して関連付ける。
When the word 1 is “Company D” and the word 2 is “C-like”, the word 1 matches the company name of the
次いで、プロセッサ11は、関連付けた一連の単語と、それらの一連の単語を区切る区切り記号とを一体として変換辞書131の変換候補に登録する(図5D)。 Next, the processor 11 registers a series of related words and a delimiter that separates the series of words as conversion candidates in the conversion dictionary 131 (FIG. 5D).
すなわち、プロセッサ11は、図5Aに示す変換結果「F社:A様、B様 D社:C様」から、一連の単語として関連付けた「F社」,「A様」,「B様」と、区切り記号「:」,「、」とを一体として抽出する。つまり、プロセッサ11は、「F社:A様、B様 D社:C様」から「F社:A様、B様」を抽出する。そして、プロセッサ11は、抽出した「F社:A様、B様」を、読み「えふしゃ」に対する変換候補に登録する。この読み「えふしゃ」は、図5Aに示す変換結果「F社:A様、B様 D社:C様」を得る際に入力された仮名文字のうち、「F社:A様、B様」において最初の単語である「F社」に対応する仮名文字を抽出したものである。よって、この変換候補の登録以降にタッチパネル12に「えふしゃ」なる仮名文字の文字列が入力されると、その文字列の変換候補として、区切り記号を含む「F社:A様、B様」がタッチパネル12に表示される。
That is, the processor 11 uses the conversion results “Company F: A-like, B-like D-company: C-like” shown in FIG. The separators “:”, “,” are extracted as a unit. That is, the processor 11 extracts “F company: A-like, B-like” from “F company: A-like, B-like D company: C-like”. Then, the processor 11 registers the extracted “Company F: A-like, B-like” as a conversion candidate for the reading “Efusha”. This reading “Efusha” is “F Company: A-like, B” among the kana characters entered when obtaining the conversion result “Company F: A-like, B-like D-company: C-like” shown in FIG. 5A. The kana character corresponding to the first word “Company F” in “Sama” is extracted. Therefore, when a character string of a kana character “Efusha” is input to the
また、プロセッサ11は、図5Aに示す変換結果「F社:A様、B様 D社:C様」から、一連の単語として関連付けた「D社」,「C様」と、区切り記号「:」とを一体として抽出する。つまり、プロセッサ11は、「F社:A様、B様 D社:C様」から「D社:C様」を抽出する。そして、プロセッサ11は、抽出した「D社:C様」を、読み「でぃーしゃ」に対する変換候補に登録する。この読み「でぃーしゃ」は、図5Aに示す変換結果「F社:A様、B様 D社:C様」を得る際に入力された仮名文字のうち、「D社:C様」において最初の単語である「D社」に対応する仮名文字を抽出したものである。よって、この変換候補の登録以降にタッチパネル12に「でぃーしゃ」なる仮名文字の文字列が入力されると、その文字列の変換候補として、区切り記号を含む「D社:C様」がタッチパネル12に表示される。
5A from the conversion result “Company F: A-like, B-like D-Company: C-like” shown in FIG. 5A, and the delimiter “: ] As a unit. That is, the processor 11 extracts “D company: C-like” from “F company: A-like, B-like D company: C-like”. Then, the processor 11 reads the extracted “Company D: Mr. C” and registers it as a conversion candidate for “Diisha”. This reading “Diisha” is “D company: C” among the kana characters entered when obtaining the conversion result “Company F: A-like, B-like D-company: C-like” shown in FIG. 5A. The kana characters corresponding to the first word “Company D” are extracted. Therefore, when the character string of the kana character “Disha” is input to the
<電子機器の処理>
図6は、実施例1の電子機器の処理の説明に供するフローチャートである。図6に示すフローチャートは、仮名文字の文字列の変換結果がタッチパネル12に表示されている状態で、タッチパネル12上の確定キーまたは改行キーがタッチされて、この変換結果が確定されたときに開始される。
<Processing electronic devices>
FIG. 6 is a flowchart for explaining processing of the electronic apparatus according to the first embodiment. The flowchart shown in FIG. 6 starts when the conversion result of the kana character string is displayed on the
まず、プロセッサ11は、変換結果の文字列から、所定の区切り記号を除く、複数の単語を抽出する(ステップS61)。 First, the processor 11 extracts a plurality of words excluding a predetermined delimiter from the conversion result character string (step S61).
次いで、プロセッサ11は、抽出した複数の単語において、互いに隣接する2つの単語である「単語1」と「単語2」のそれぞれをキーとしてアドレス帳132を検索する(ステップS62)。 Next, the processor 11 searches the address book 132 using each of the two words “word 1” and “word 2” that are adjacent to each other among the plurality of extracted words (step S62).
次いで、プロセッサ11は、単語1と単語2とがアドレス帳132の同一のエントリに登録されているか否かを判定する(ステップS63)。 Next, the processor 11 determines whether or not the word 1 and the word 2 are registered in the same entry of the address book 132 (step S63).
単語1と単語2とが同一のエントリに登録されている場合(ステップS63:Yes)、プロセッサ11は、単語1と単語2とが「相関あり」と判定し、単語1と単語2とを、互いに相関がある一連の単語と判定して関連付ける(ステップS64)。 When the word 1 and the word 2 are registered in the same entry (step S63: Yes), the processor 11 determines that the word 1 and the word 2 are “correlated”, and the word 1 and the word 2 are A series of words that are correlated with each other are determined and associated (step S64).
単語1と単語2とが同一のエントリに登録されていない場合(ステップS63:No)、プロセッサ11は、単語1と単語2とがアドレス帳132の同一のグループに登録されているか否かを判定する(ステップS65)。 When word 1 and word 2 are not registered in the same entry (step S63: No), processor 11 determines whether word 1 and word 2 are registered in the same group of address book 132 or not. (Step S65).
単語1と単語2とが同一のグループに登録されている場合(ステップS65:Yes)、プロセッサ11は、単語1と単語2とが「相関あり」と判定し、単語1と単語2とを、互いに相関がある一連の単語と判定して関連付ける(ステップS64)。 If the word 1 and the word 2 are registered in the same group (step S65: Yes), the processor 11 determines that the word 1 and the word 2 are “correlated”, and the word 1 and the word 2 are A series of words that are correlated with each other are determined and associated (step S64).
単語1と単語2とが、同一のエントリに登録されておらず(ステップS63:No)、かつ、同一のグループにも登録されていない場合(ステップS65:No)、プロセッサ11は、単語1と単語2とが「相関なし」と判定し、単語1と単語2とを関連付けない(ステップS66)。 When the word 1 and the word 2 are not registered in the same entry (step S63: No) and are not registered in the same group (step S65: No), the processor 11 The word 2 is determined to be “no correlation”, and the word 1 and the word 2 are not associated (step S66).
次いで、プロセッサ11は、ステップS61で抽出したすべての単語の相関有無を判定したか否か判断する(ステップS67)。 Next, the processor 11 determines whether or not all words extracted in step S61 have been correlated (step S67).
相関有無を判定していない単語がある場合(ステップS67:No)、プロセッサ11は、ステップS61で抽出した複数の単語において判定対象の単語をシフトする(ステップS68)。例えばプロセッサ11は、判定対象となる単語1と単語2とを1単語分だけ後方にシフトする。そして処理はステップS62に戻る。 When there is a word for which the presence / absence of correlation is not determined (step S67: No), the processor 11 shifts the determination target word among the plurality of words extracted in step S61 (step S68). For example, the processor 11 shifts the word 1 and the word 2 to be determined backward by one word. Then, the process returns to step S62.
ステップS61で抽出したすべての単語の相関有無の判定が完了した場合(ステップS67:Yes)、プロセッサ11は、ステップS61で抽出した複数の単語の中に互いに相関がある単語があったか否かを判断する(ステップS69)。 When the determination of the presence / absence of correlation of all the words extracted in step S61 is completed (step S67: Yes), the processor 11 determines whether or not there are words correlated with each other in the plurality of words extracted in step S61. (Step S69).
相関がある単語があった場合(ステップS69:Yes)、プロセッサ11は、関連付けた一連の単語と、これら一連の単語を区切っている区切り記号とを一体として変換辞書131の変換候補に登録し(ステップS70)、処理を終了する。 If there is a word having a correlation (step S69: Yes), the processor 11 registers the associated series of words and the delimiters that delimit these series of words together as a conversion candidate in the conversion dictionary 131 ( Step S70), the process is terminated.
相関がある単語がなかった場合(ステップS69:No)、プロセッサ11は、変換候補の登録を行わずに処理を終了する。 If there is no correlated word (step S69: No), the processor 11 ends the process without registering the conversion candidate.
以上のように、本実施例によれば、電子機器10は、メモリ13と、プロセッサ11とを有する。メモリ13は、入力文字に対する変換文字の候補である変換候補を記憶する。プロセッサ11は、所定の区切り記号によって区切られる複数の単語において互いに相関がある一連の単語を関連付ける。そして、プロセッサ11は、関連付けた一連の単語と、これら一連の単語を区切る区切り記号とを一体として変換候補に登録する。
As described above, according to this embodiment, the
こうすることで、区切り記号によって区切られた複数の単語のうち一体として意味を持つ一連の単語を、区切り記号を含んだまま変換候補に自動的に登録することができるため、区切り記号を含む文字列に対する変換候補の登録の効率を上げることができる。また、区切り記号を含まない文字列の変換候補として、区切り記号によって区切られた、一体として意味を持つ一連の単語を提示することができるため、文字列の変換の手間を減らすことができる。 By doing this, it is possible to automatically register a series of words that have meaning as one of a plurality of words separated by a delimiter as conversion candidates with the delimiter included. The efficiency of registering conversion candidates for a column can be increased. In addition, since a series of meaningful words separated by a delimiter can be presented as conversion candidates for a character string that does not include a delimiter, it is possible to reduce the trouble of character string conversion.
また、プロセッサ11は、アドレス帳132のエントリを一意に特定可能な連絡先名と、エントリが属するグループを示す所属会社名とを用いて、複数の単語において相関の有無を判定する。 Further, the processor 11 determines the presence / absence of correlation in a plurality of words using a contact name that can uniquely identify an entry in the address book 132 and a company name indicating a group to which the entry belongs.
こうすることで、区切り記号によって区切られた複数の単語において一体として意味を持つ一連の単語を、アドレス帳132という既存のデータベースを用いて判別することができるため、一体として意味を持つ一連の単語を簡便に判別することができる。 In this way, a series of words having meaning as a whole in a plurality of words separated by a delimiter can be determined using an existing database called the address book 132, so a series of words having meaning as a whole. Can be easily determined.
また、プロセッサ11は、複数の単語のうち、連絡先名に一致する単語1と所属会社名に一致する単語2とが互いに同一のエントリに登録されているときに、単語1と単語2とを互いに相関がある一連の単語と判定する。 Further, the processor 11 selects the word 1 and the word 2 when the word 1 matching the contact name and the word 2 matching the company name are registered in the same entry among the plurality of words. It is determined as a series of words that are correlated with each other.
こうすることで、例えば、人物の名称と、その人物が所属する会社の名称とを、一体として意味を持つ一連の単語として変換候補に登録することができる。 By doing so, for example, the name of the person and the name of the company to which the person belongs can be registered in the conversion candidate as a series of meaningful words as a whole.
また、プロセッサ11は、複数の単語のうち、互いに異なる連絡先名にそれぞれ一致する単語1と単語2とが互いに同一のグループに登録されているときに、単語1と単語2とを互いに相関がある一連の単語と判定する。 Further, the processor 11 correlates the word 1 and the word 2 with each other when the word 1 and the word 2 that respectively match different contact names among the plurality of words are registered in the same group. Judged as a series of words.
こうすることで、例えば、同一のグループに属する複数の人物の名称を、一体として意味を持つ一連の単語として変換候補に登録することができる。 In this way, for example, the names of a plurality of persons belonging to the same group can be registered as conversion candidates as a series of meaningful words.
[他の実施例]
[1]電子機器10での上記説明における各処理は、各処理に対応するプログラムをプロセッサ11に実行させることによって実現してもよい。例えば、上記説明における各処理に対応するプログラムがメモリ13に記憶され、各プログラムがプロセッサ11によってメモリ13から読み出されて実行されてもよい。また、各プログラムは、必ずしも予めメモリ13に記憶される必要はない。すなわち、例えば、電子機器10に接続可能な磁気ディスク、光ディスク、ICカード、メモリカード等の可搬の記録媒体に各プログラムが予め記録され、各プログラムがプロセッサ11によって記録媒体から読み出されて実行されてもよい。また例えば、インターネット、LAN、WAN等を介して無線または有線により電子機器10に接続されるコンピュータまたはサーバ等に各プログラムが予め記憶され、各プログラムがプロセッサ11へ読み出されて実行されてもよい。
[Other embodiments]
[1] Each process in the above description in the
[2]上記説明では、所定の区切り記号の一例として、読点、括弧、コロン、スペースを挙げた。しかし、所定の区切り記号は、読点、括弧、コロン、スペースに限定されない。例えば、所定の区切り記号として、句点、カンマ、セミコロン等も設定可能である。また、ユーザは任意の区切り記号を予めメモリ13に登録可能である。
[2] In the above description, a punctuation mark, parentheses, colon, and space are given as examples of the predetermined delimiter. However, the predetermined delimiters are not limited to punctuation marks, parentheses, colons, and spaces. For example, as a predetermined delimiter, a punctuation mark, a comma, a semicolon, or the like can be set. The user can register an arbitrary delimiter in the
[3]上記説明では、相関有無の判定処理として、ステップS63の処理とステップS65の処理との双方を行った。しかし、相関有無の判定処理は、ステップS63の処理とステップS65の処理のうち、何れか一方だけを行ってもよい。 [3] In the above description, both the processing of step S63 and the processing of step S65 are performed as the determination processing of the presence / absence of correlation. However, the correlation presence / absence determination process may be performed by either one of the process in step S63 and the process in step S65.
[4]上記説明では、各エントリを一意に特定可能な「第1の情報」の一例として「連絡先名」を挙げ、グループを表す「第2の情報」の一例として「所属会社名」を挙げた。しかし、第1の情報及び第2の情報は、連絡先名及び所属会社名に限定されず、ユーザにより任意に設定可能なものである。 [4] In the above description, “contact name” is given as an example of “first information” that can uniquely identify each entry, and “company name” is given as an example of “second information” representing a group. Listed. However, the first information and the second information are not limited to the contact name and the affiliated company name, and can be arbitrarily set by the user.
[5]アドレス帳132は、必ずしもメモリ13に記憶される必要はない。すなわち、例えば、インターネット、LAN、WAN等を介して無線または有線により電子機器10に接続されるコンピュータまたはサーバ等に記憶されたアドレス帳132をプロセッサ11が参照してもよい。
[5] The address book 132 is not necessarily stored in the
[6]上記説明では、相関有無の判定に用いる既存のデータベースの一例としてアドレス帳132を挙げた。しかし、相関有無の判定に用いる既存のデータベースはアドレス帳132に限定されない。例えば、既存のデータベースであるスケジュール帳等を用いて相関有無の判定を行ってもよい。 [6] In the above description, the address book 132 is given as an example of an existing database used for determining the presence or absence of correlation. However, the existing database used for determining the presence or absence of correlation is not limited to the address book 132. For example, the presence or absence of correlation may be determined using a schedule book or the like that is an existing database.
10 電子機器
11 プロセッサ
12 タッチパネル
13 メモリ
131 変換辞書
132 アドレス帳
DESCRIPTION OF
Claims (6)
所定の区切り記号によって区切られる複数の単語において互いに相関がある一連の単語を関連付け、関連付けた前記一連の単語と、前記一連の単語を区切る前記区切り記号とを一体として前記変換候補に登録するプロセッサと、
を具備する電子機器。 A memory for storing conversion candidates that are conversion character candidates for the input character;
A processor that associates a series of words correlated with each other in a plurality of words delimited by a predetermined delimiter, and registers the associated series of words and the delimiter that delimits the series of words together in the conversion candidate; ,
An electronic device comprising:
請求項1に記載の電子機器。 The processor determines the presence or absence of the correlation in the plurality of words using first information that can uniquely identify an address book entry and second information indicating a group to which the entry belongs.
The electronic device according to claim 1.
請求項2に記載の電子機器。 The processor, when the first word that matches the first information and the second word that matches the second information are registered in the same entry among the plurality of words, Determining the first word and the second word as the series of words correlated to each other;
The electronic device according to claim 2.
請求項2に記載の電子機器。 The processor, when a first word and a second word that respectively match a plurality of different first information among the plurality of words are registered in the same group, the first And the second word are determined as the series of words correlated with each other,
The electronic device according to claim 2.
所定の区切り記号によって区切られる複数の単語において互いに相関がある一連の単語を関連付け、
関連付けた前記一連の単語と、前記一連の単語を区切る前記区切り記号とを一体として前記変換候補に登録する
処理を実行させる変換候補登録プログラム。 In a processor provided in an electronic device that stores conversion candidates that are conversion character candidates for input characters,
Associating a set of words that are correlated with each other in words separated by a given delimiter,
A conversion candidate registration program that executes a process of registering the series of related words and the delimiter that separates the series of words as a unit in the conversion candidate.
所定の区切り記号によって区切られる複数の単語において互いに相関がある一連の単語を関連付け、
関連付けた前記一連の単語と、前記一連の単語を区切る前記区切り記号とを一体として前記変換候補に登録する、
変換候補登録方法。 A word registration method in an electronic device that stores conversion candidates that are conversion character candidates for an input character,
Associating a set of words that are correlated with each other in words separated by a given delimiter,
Registering the series of associated words and the delimiter that separates the series of words together in the conversion candidate;
Conversion candidate registration method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013198334A JP6146237B2 (en) | 2013-09-25 | 2013-09-25 | Electronic device, conversion candidate registration program, and conversion candidate registration method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013198334A JP6146237B2 (en) | 2013-09-25 | 2013-09-25 | Electronic device, conversion candidate registration program, and conversion candidate registration method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015064759A true JP2015064759A (en) | 2015-04-09 |
JP6146237B2 JP6146237B2 (en) | 2017-06-14 |
Family
ID=52832577
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013198334A Active JP6146237B2 (en) | 2013-09-25 | 2013-09-25 | Electronic device, conversion candidate registration program, and conversion candidate registration method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6146237B2 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1011429A (en) * | 1996-06-25 | 1998-01-16 | Sharp Corp | Character processor |
JP2009069979A (en) * | 2007-09-11 | 2009-04-02 | Nec Saitama Ltd | Method for registering prediction candidate dictionary, electronic equipment with prediction candidate registeration function and predication candidate registration program |
JP2009223905A (en) * | 2009-05-22 | 2009-10-01 | Sharp Corp | Character input device, system, and character input control method |
JP2012083815A (en) * | 2010-10-07 | 2012-04-26 | Sharp Corp | Character string conversion device, character string conversion method, computer program and recording medium |
-
2013
- 2013-09-25 JP JP2013198334A patent/JP6146237B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1011429A (en) * | 1996-06-25 | 1998-01-16 | Sharp Corp | Character processor |
JP2009069979A (en) * | 2007-09-11 | 2009-04-02 | Nec Saitama Ltd | Method for registering prediction candidate dictionary, electronic equipment with prediction candidate registeration function and predication candidate registration program |
JP2009223905A (en) * | 2009-05-22 | 2009-10-01 | Sharp Corp | Character input device, system, and character input control method |
JP2012083815A (en) * | 2010-10-07 | 2012-04-26 | Sharp Corp | Character string conversion device, character string conversion method, computer program and recording medium |
Also Published As
Publication number | Publication date |
---|---|
JP6146237B2 (en) | 2017-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10051030B2 (en) | Interactive searching and recommanding method and apparatus | |
JP6381002B2 (en) | Search recommendation method and apparatus | |
JP5969697B2 (en) | Completing the application interface using search query keywords | |
CN105528338B (en) | Input method and system for intelligent prediction | |
US11630825B2 (en) | Method and system for enhanced search term suggestion | |
TW201741908A (en) | Method for corresponding element symbols in the specification to the corresponding element terms in claims | |
CN105468256A (en) | Input method keyboard switching method and device | |
CN111198936A (en) | Voice search method and device, electronic equipment and storage medium | |
WO2016155643A1 (en) | Input-based candidate word display method and device | |
JP6146237B2 (en) | Electronic device, conversion candidate registration program, and conversion candidate registration method | |
CN105607754A (en) | Auxiliary code based input method and apparatus | |
JP5629543B2 (en) | Character string conversion device, character string conversion method, computer program, and recording medium | |
JP5544003B2 (en) | Information search device, information search system, and information search method | |
JP5826148B2 (en) | Drawing management server and drawing management system using the same | |
JP6805206B2 (en) | Search word suggestion device, expression information creation method, and expression information creation program | |
JP5533576B2 (en) | Information creating apparatus, information creating method and program | |
JP6083819B2 (en) | Input support system, input support method, and input support program | |
JP5971069B2 (en) | Information processing apparatus, title extraction method, and program | |
JP6425989B2 (en) | Character recognition support program, character recognition support method, and character recognition support device | |
JP2013077084A (en) | Sentence example dictionary generation program and sentence example dictionary generation device | |
JP2018180808A (en) | Analysis program, analysis method and analysis apparatus | |
JP2017097451A (en) | Information processing method, information processing program, and information processing apparatus | |
JP6516947B2 (en) | Search apparatus and search method | |
JP2017097433A (en) | Electronic device and control method thereof | |
JP5693552B2 (en) | Dictionary registration device, word division device, dictionary registration method, word division method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160606 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170221 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170228 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170404 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20170418 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170501 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6146237 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |