KR102580533B1 - Electronic device providing fonts with a high degree of conformity between hangul and chinese characters and their operating method - Google Patents
Electronic device providing fonts with a high degree of conformity between hangul and chinese characters and their operating method Download PDFInfo
- Publication number
- KR102580533B1 KR102580533B1 KR1020210102922A KR20210102922A KR102580533B1 KR 102580533 B1 KR102580533 B1 KR 102580533B1 KR 1020210102922 A KR1020210102922 A KR 1020210102922A KR 20210102922 A KR20210102922 A KR 20210102922A KR 102580533 B1 KR102580533 B1 KR 102580533B1
- Authority
- KR
- South Korea
- Prior art keywords
- font
- chinese character
- similarity
- hangul
- stroke
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/109—Font handling; Temporal or kinetic typography
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/901—Indexing; Data structures therefor; Storage structures
- G06F16/9017—Indexing; Data structures therefor; Storage structures using directory or table look-up
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/9038—Presentation of query results
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/263—Language identification
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Computational Linguistics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Data Mining & Analysis (AREA)
- Software Systems (AREA)
- Controls And Circuits For Display Device (AREA)
- Document Processing Apparatus (AREA)
Abstract
한글 및 한자 간에 적합도가 높은 글꼴을 제공하는 전자장치가 개시된다. 본 발명의 일 실시 예에 따른 한글 및 한자 간에 적합도가 높은 글꼴을 제공하는 전자장치는 저장부 및 한글 획요소 및 한자 획요소 세트에 매칭되는 글꼴 유사도 순위 테이블을 획득하고, 상기 저장부로부터 글꼴 유사도 순위 레퍼런스 테이블을 로드하여, 상기 글꼴 유사도 순위 레퍼런스 테이블 및 상기 글꼴 유사도 순위 테이블 간의 순위 유사도 테이블을 획득하고, 상기 순위 유사도 테이블에 포함된 순위 유사도의 크기에 기초하여, 적어도 하나의 한글 획요소 및 한자 획요소 세트를 선택하고, 상기 선택된 적어도 하나의 한글 획요소 및 한자 획요소 세트에 기초하여, 기선택된 한글 글꼴 또는 기선택된 한자 글꼴에 매칭되는 추천 한자 글꼴 또는 추천 한글 글꼴을 제공하는 프로세서를 포함할 수 있다.An electronic device that provides a font with high compatibility between Hangul and Chinese characters is disclosed. An electronic device that provides a font with high compatibility between Korean and Chinese characters according to an embodiment of the present invention obtains a font similarity ranking table matching a storage unit and a set of Korean stroke elements and Chinese character stroke elements, and retrieves the font similarity from the storage unit. Load a rank reference table, obtain a rank similarity table between the font similarity rank reference table and the font similarity rank table, and based on the size of rank similarity included in the rank similarity table, at least one Korean stroke element and Chinese character. A processor that selects a set of stroke elements and provides a recommended Chinese character font or recommended Hangul font matching the pre-selected Hangul font or the pre-selected Chinese character font based on the selected set of at least one Hangul stroke element and Chinese character stroke element. You can.
Description
본 발명은 한글 및 한자 간에 적합도가 높은 글꼴을 제공하는 전자장치 및 이의 동작방법에 대한 것으로, 보다 상세하게는 문장의 가독성을 높이고 문장 전체의 조화도를 높이기 위한 한글 및 한자 간에 적합도가 높은 글꼴을 제공하는 전자장치 및 이의 동작방법에 대한 것이다.The present invention relates to an electronic device that provides a font with high compatibility between Korean and Chinese characters and a method of operating the same. More specifically, it relates to a font with a high compatibility between Korean and Chinese characters to improve the readability of sentences and the harmony of the entire sentence. It is about the provided electronic device and its operating method.
한글과 한자가 병기된 문장에서, 삽입된 한글 글꼴과 어울리는 한자 글꼴이 없는 경우 한자 글꼴을 다른 글꼴로 대체해야 하는 경우가 발생할 수 있다. 이 경우, 한글 글꼴과 한자 글꼴이 서로 어울리지 못하여 문장의 가독성이 떨어질 수 있다.In sentences where Hangul and Chinese characters are written side by side, if there is no Chinese character font that matches the inserted Hangul font, the Chinese character font may need to be replaced with another font. In this case, the readability of the sentence may be reduced because the Korean font and the Chinese character font do not match each other.
일반적으로 새로운 한글 글꼴 또는 한자 글꼴을 개발하기 위해서는 상당한 시간과 비용이 소요되기 때문에 모든 한글 글꼴에 대응되는 한자 글꼴이 마련되기는 쉽지 않은 실정이다.In general, it takes a considerable amount of time and money to develop a new Hangul font or Chinese character font, so it is not easy to prepare a Chinese character font that corresponds to all Hangul fonts.
본 발명의 배경이 되는 기술의 일 예로, 대한민국 공개등록공보 제10-0644997호(2006.11.10.)는 사용자가 간편하게 항시 휴대하고 다니면서 빈번하게 이용하는 이동통신 단말기의 한 화면에 한글과 한자를 동시에 표시할 수 있어 이를 열람하는 사용자에게 효율적인 한자 학습을 제공하는 방법을 개시하고 있다.As an example of the technology behind the present invention, Republic of Korea Publication Publication No. 10-0644997 (November 10, 2006) displays Korean and Chinese characters simultaneously on one screen of a mobile communication terminal that users easily carry around at all times and use frequently. We are disclosing a method to provide efficient Chinese character learning to users who view it.
본 발명은 상술한 문제점을 해결하기 위해 안출된 것으로, 본 발명은 한글 글꼴과는 다른 글꼴이나 상기 한글 글꼴과 어울리는 한자 글꼴을 추천하거나, 한자 글꼴과는 다른 글꼴이나 상기 한자 글꼴과 어울리는 한글 글꼴을 추천하는 방법을 제공함을 목적으로 한다.The present invention was created to solve the above-mentioned problems. The present invention recommends a font different from the Hangul font or a Chinese character font that matches the Hangul font, or recommends a font different from the Chinese character font or a Hangul font that matches the Chinese character font. The purpose is to provide recommended methods.
본 발명의 다양한 실시 예에 따른 한글 및 한자 간에 적합도가 높은 글꼴을 제공하는 전자장치는 저장부 및 한글 획요소 및 한자 획요소 세트에 매칭되는 글꼴 유사도 순위 테이블을 획득하고, 상기 저장부로부터 글꼴 유사도 순위 레퍼런스 테이블을 로드하여, 상기 글꼴 유사도 순위 레퍼런스 테이블 및 상기 글꼴 유사도 순위 테이블 간의 순위 유사도 테이블을 획득하고, 상기 순위 유사도 테이블에 포함된 순위 유사도의 크기에 기초하여, 적어도 하나의 한글 획요소 및 한자 획요소 세트를 선택하고, 상기 선택된 적어도 하나의 한글 획요소 및 한자 획요소 세트에 기초하여, 기선택된 한글 글꼴 또는 기선택된 한자 글꼴에 매칭되는 추천 한자 글꼴 또는 추천 한글 글꼴을 제공하는 프로세서를 포함할 수 있다.An electronic device that provides a font with high compatibility between Korean and Chinese characters according to various embodiments of the present invention obtains a font similarity ranking table matching a storage unit and a set of Korean stroke elements and Chinese character stroke elements, and retrieves the font similarity from the storage unit. Load a rank reference table, obtain a rank similarity table between the font similarity rank reference table and the font similarity rank table, and based on the size of rank similarity included in the rank similarity table, at least one Korean stroke element and Chinese character. A processor that selects a set of stroke elements and provides a recommended Chinese character font or recommended Hangul font matching the pre-selected Hangul font or the pre-selected Chinese character font based on the selected set of at least one Hangul stroke element and Chinese character stroke element. You can.
본 발명의 다양한 실시 예에 따른 한글 및 한자 간에 적합도가 높은 글꼴을 제공하는 전자장치의 동작방법은 한글 획요소 및 한자 획요소 세트에 매칭되는 글꼴 유사도 순위 테이블을 획득하는 과정, 상기 저장부로부터 글꼴 유사도 순위 레퍼런스 테이블을 로드하여, 상기 글꼴 유사도 순위 레퍼런스 테이블 및 상기 글꼴 유사도 순위 테이블 간의 순위 유사도 테이블을 획득하는 과정, 상기 순위 유사도 테이블에 포함된 순위 유사도의 크기에 기초하여, 적어도 하나의 한글 획요소 및 한자 획요소 세트를 선택하는 과정 및 상기 선택된 적어도 하나의 한글 획요소 및 한자 획요소 세트에 기초하여, 기선택된 한글 글꼴 또는 기선택된 한자 글꼴에 매칭되는 추천 한자 글꼴 또는 추천 한글 글꼴을 제공하는 과정을 포함할 수 있다.A method of operating an electronic device that provides a font with high compatibility between Korean and Chinese characters according to various embodiments of the present invention includes the process of obtaining a font similarity ranking table matching a set of Korean stroke elements and Chinese character stroke elements, and selecting the font from the storage unit. A process of loading a similarity ranking reference table to obtain a ranking similarity table between the font similarity ranking reference table and the font similarity ranking table, based on the size of the ranking similarity included in the ranking similarity table, at least one Korean stroke element and a process of selecting a set of Chinese character stroke elements and providing a recommended Chinese character font or a recommended Korean font matching the pre-selected Hangul font or the pre-selected Chinese character font based on the selected at least one Hangul stroke element and the Chinese character stroke element set. may include.
본 발명의 다양한 실시 예에 따르면, 본 발명은 한글 글꼴과는 다른 글꼴이나 상기 한글 글꼴과 어울리는 한자 글꼴을 제공할 수 있다. 또한, 한자 글꼴과는 다른 글꼴이나 상기 한자 글꼴과 어울리는 한글 글꼴을 제공할 수 있다.According to various embodiments of the present invention, the present invention can provide a font different from the Hangul font or a Chinese character font that matches the Hangul font. Additionally, a font different from the Chinese character font or a Korean font that matches the Chinese character font may be provided.
도 1은 본 발명의 일 실시 예에 따른 한글 및 한자의 병용 예시를 도시한다.
도 2는 본 발명의 일 실시 예에 따른 전자장치의 블록도이다.
도 3은 본 발명의 일 실시 예에 따른 한글 획요소를 도시한다.
도 4는 본 발명의 일 실시 예에 따른 한글 대표 획요소를 도시한다.
도 5는 본 발명의 일 실시 예에 따른 한자 획요소를 도시한다.
도 6은 본 발명의 일 실시 예에 따른 한자 대표 획요소를 도시한다.
도 7은 본 발명의 일 실시 예에 따른 한글 획요소에 대한 속성값의 측정기준을 도시한다.
도 8은 본 발명의 일 실시 예에 따른 한글 획요소 속성값 테이블을 도시한다.
도 9는 본 발명의 일 실시 예에 따른 한자 획요소에 대한 속성값의 측정기준을 도시한다.
도 10은 본 발명의 다른 실시 예에 따른 한자 획요소에 대한 속성값의 측정기준을 도시한다.
도 11은 본 발명의 또 다른 실시 예에 따른 한자 획요소에 대한 속성값의 측정기준을 도시한다.
도 12는 본 발명의 일 실시 예에 따른 한자 획요소 속성값 테이블을 도시한다.
도 13 및 도 14는 본 발명의 일 실시 예에 따른 글꼴 제공방법에 대한 흐름도이다.
도 15는 본 발명의 일 실시 예에 따른 획요소 매핑 관계를 도시한다.
도 16은 본 발명의 다른 실시 예에 따른 획요소 매핑 관계를 도시한다.
도 17은 본 발명의 일 실시 예에 따른 속성값 유사도 거리 테이블을 도시한다.
도 18은 본 발명의 일 실시 예에 따른 글꼴 유사도 순위 테이블을 도시한다.
도 19는 본 발명의 일 실시 예에 따른 글꼴 유사도 순위 레퍼런스 테이블을 도시한다.
도 20은 본 발명의 일 실시 예에 따른 코사인 유사도 테이블 작성방법을 도시한다.
도 21은 본 발명의 일 실시 예에 따른 한글 획요소 및 한자 획요소 세트 선택방법을 도시한다.
도 22는 본 발명의 다른 실시 예에 따른 한글 획요소 및 한자 획요소 세트 선택방법을 도시한다.
도 23은 본 발명의 일 실시 예에 따른 전체 한글 획요소 속성값 테이블 생성 과정을 도시한다.
도 24는 본 발명의 일 실시 예에 따른 전체 한자 획요소 속성값 테이블 생성 과정을 도시한다.
도 25는 본 발명의 다른 실시 예에 따른 전체 한글 획요소 속성값 테이블 생성 과정을 도시한다.
도 26은 본 발명의 다른 실시 예에 따른 전체 한자 획요소 속성값 테이블 생성 과정을 도시한다.
도 27은 본 발명의 일 실시 예에 따른 글꼴 추천 방법을 도시한다.
도 28은 본 발명의 다른 실시 예에 따른 글꼴 추천 방법을 도시한다.
도 29는 본 발명의 일 실시예에 따른 전자장치의 세부 구성도이다.
도 30은 본 발명의 일 실시 예에 따른 글꼴 제공 방법에 대한 흐름도이다.Figure 1 shows an example of combined use of Hangul and Chinese characters according to an embodiment of the present invention.
Figure 2 is a block diagram of an electronic device according to an embodiment of the present invention.
Figure 3 shows Korean stroke elements according to an embodiment of the present invention.
Figure 4 shows representative Korean stroke elements according to an embodiment of the present invention.
Figure 5 shows Chinese character stroke elements according to an embodiment of the present invention.
Figure 6 shows representative stroke elements of Chinese characters according to an embodiment of the present invention.
Figure 7 shows measurement standards for attribute values for Korean stroke elements according to an embodiment of the present invention.
Figure 8 shows a Korean stroke element attribute value table according to an embodiment of the present invention.
Figure 9 shows measurement standards for attribute values for Chinese character stroke elements according to an embodiment of the present invention.
Figure 10 shows measurement standards for attribute values for Chinese character stroke elements according to another embodiment of the present invention.
Figure 11 shows measurement standards for attribute values for Chinese character stroke elements according to another embodiment of the present invention.
Figure 12 shows a Chinese character stroke element attribute value table according to an embodiment of the present invention.
Figures 13 and 14 are flowcharts of a method for providing fonts according to an embodiment of the present invention.
Figure 15 shows a stroke element mapping relationship according to an embodiment of the present invention.
Figure 16 shows a stroke element mapping relationship according to another embodiment of the present invention.
Figure 17 shows an attribute value similarity distance table according to an embodiment of the present invention.
Figure 18 shows a font similarity ranking table according to an embodiment of the present invention.
Figure 19 shows a font similarity ranking reference table according to an embodiment of the present invention.
Figure 20 shows a method of creating a cosine similarity table according to an embodiment of the present invention.
Figure 21 shows a method of selecting a set of Korean stroke elements and Chinese character stroke elements according to an embodiment of the present invention.
Figure 22 shows a method of selecting a set of Korean stroke elements and Chinese character stroke elements according to another embodiment of the present invention.
Figure 23 shows the process of creating an entire Korean stroke element attribute value table according to an embodiment of the present invention.
Figure 24 shows the process of creating an entire Chinese character stroke element attribute value table according to an embodiment of the present invention.
Figure 25 shows the process of creating an entire Korean stroke element attribute value table according to another embodiment of the present invention.
Figure 26 shows the process of creating an entire Chinese character stroke element attribute value table according to another embodiment of the present invention.
Figure 27 shows a font recommendation method according to an embodiment of the present invention.
Figure 28 shows a font recommendation method according to another embodiment of the present invention.
Figure 29 is a detailed configuration diagram of an electronic device according to an embodiment of the present invention.
Figure 30 is a flowchart of a method for providing a font according to an embodiment of the present invention.
이하 첨부된 도면을 참조하여 본 발명의 바람직한 실시 예에 대한 동작원리를 상세히 설명한다. 또한, 발명에 대한 실시 예를 설명함에 있어 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 개시의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다. 그리고 하기에서 사용되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로써, 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 사용된 용어들의 정의는 본 명세서 전반에 걸친 내용 및 이에 상응한 기능을 토대로 해석되어야 할 것이다.Hereinafter, the operating principle of a preferred embodiment of the present invention will be described in detail with reference to the attached drawings. Additionally, when describing embodiments of the invention, if it is determined that a detailed description of a related known function or configuration may obscure the gist of the present disclosure, the detailed description will be omitted. The terms used below are defined in consideration of the functions in the present invention, and may vary depending on the intention or custom of the user or operator. Therefore, the definitions of terms used should be interpreted based on the content and corresponding functions throughout this specification.
도 1은 본 발명의 일 실시 예에 따른 한글 및 한자의 병용 예시를 도시한다.Figure 1 shows an example of combined use of Hangul and Chinese characters according to an embodiment of the present invention.
도 1을 참조하면, 한글 '의식'의 글꼴과 이의 한자어 '意識'의 글꼴, 한글 '이성'의 글꼴과 이의 한자어 '理性'의 글꼴 및 한글 '심호흡'의 글꼴과 이의 한자어 '深呼吸'의 글꼴이 상이하여 서로 어울리지 못함을 알 수 있다. 이 경우, 문장의 가독성이 떨어질 수가 있다.Referring to Figure 1, the font for the Korean word 'consciousness' and its Chinese character '意識', the font for the Korean character 'reason' and the font for its Chinese character '理性', and the font for the Korean character 'deep breath' and the font for its Chinese character '深呼吸'. You can see that they are different and do not fit together. In this case, the readability of the sentence may decrease.
이하에서는 본 발명의 다양한 실시 예에 따른 한글 글꼴에 어울리는 최적의 한자 글꼴 또는 한자 글꼴에 어울리는 최적의 한글 글꼴을 추천 또는 제공하는 방법을 상세히 설명할 것이다.Hereinafter, a method of recommending or providing an optimal Chinese character font suitable for a Korean font or an optimal Korean font suitable for a Chinese character font according to various embodiments of the present invention will be described in detail.
도 2는 본 발명의 일 실시 예에 따른 전자장치의 블록도이다.Figure 2 is a block diagram of an electronic device according to an embodiment of the present invention.
도 2를 참조하면, 전자장치(200)는 저장부(210)및 프로세서(220)를 포함할 수 있다.Referring to FIG. 2, the
저장부(210)는 휘발성 또는 비휘발성 기록 매체를 포함할 수 있다.The
저장부(210)는 하나 이상의 프로세서와 연결되는 것으로, 프로세서(220)에 의해 실행될 때, 프로세서(220)로 하여금 전자장치(200)를 제어하도록 야기하는(cause) 코드들을 저장할 수 있다.The
여기서, 저장부(210)는 자기 저장 매체(magnetic storage media) 또는 플래시 저장 매체(flash storage media)를 포함할 수 있으나, 본 발명의 범위가 이에 한정되는 것은 아니다. 이러한 저장부(210)는 내장 메모리 및/또는 외장 메모리를 포함할 수 있으며, DRAM, SRAM, 또는 SDRAM 등과 같은 휘발성 메모리, OTPROM(one time programmable ROM), PROM, EPROM, EEPROM, mask ROM, flash ROM, NAND 플래시 메모리, 또는 NOR 플래시 메모리 등과 같은 비휘발성 메모리, SSD. CF(compact flash) 카드, SD 카드, Micro-SD 카드, Mini-SD 카드, 또는 메모리 스틱(memory stick) 등과 같은 플래시 드라이브, 또는 HDD와 같은 저장 장치를 포함할 수 있다.Here, the
일 예로, 저장부(210)는 한글 글꼴, 한자 글꼴, 후술할 속성값 유사도 거리 테이블, 글꼴 유사도 순위 테이블 등을 기저장할 수 있다.As an example, the
프로세서(220)는 전자장치(200)를 전반적으로 제어할 수 있다.The
특히, 프로세서(220)는 한글 글꼴 및 한자 글꼴 상호간을 추천 또는 제공하기 위한 프로세서를 수행할 수 있다.In particular, the
일 예로, 프로세서(220)는 최적의 한글 획요소 및 한자 획요소 조합을 획득할 수 있다. As an example, the
예를 들면, 먼저 프로세서(220)는 한글 획요소 중 중요도가 높은 한글 대표 획요소를 획득할 수 있다. 또한, 프로세서(220)는 한자 획요소 중 중요도가 높은 한글 대표 획요소를 획득할 수 있다.For example, first, the
또한, 프로세서(220)는 기정의된 한글 획요소에 대한 글꼴 별 속성값 및 한자 획요소에 대한 글꼴 별 속성값을 획득할 수 있다. 이 경우, 프로세서(220)는 한글 획요소에 대한 글꼴 별 속성값 및 한자 획요소에 대한 글꼴 별 속성값에 대하여 유사도 거리를 획득하여 속성값 유사도 거리 테이블을 생성할 수 있다.Additionally, the
프로세서는 상기 생성된 속성값 유사도 거리 테이블에 기초하여 글꼴 유사도 순위 테이블을 획득할 수 있다. 여기서, 글꼴 유사도 순위 테이블은 속성값 유사도 거리 테이블에 포함된 유사도 거리가 작을수록 높은 순위를 할당하여 작성될 수 있다.The processor may obtain a font similarity ranking table based on the generated attribute value similarity distance table. Here, the font similarity ranking table can be created by assigning a higher rank as the similarity distance included in the attribute value similarity distance table is smaller.
한편, 프로세서(220)는 저장부(210)로부터 글꼴 유사도 순위 레퍼런스 테이블을 로드하여, 상기 생성된 글꼴 유사도 순위 테이블과의 순위 유사도를 획득할 수 있다.Meanwhile, the
프로세서(220)는 획득된 순위 유사도에 기초하여 한글 획요소 및 한자 획요소 간의 유사도를 판단할 수 있다. 즉, 프로세서(220)는 획득된 순위 유사도에 기초하여 유사도가 가장 높은(또는 적합도가 가장 높은) 적어도 하나의 한글 획요소 및 한자 획요소 세트를 선택할 수 있다. The
이 경우, 프로세서(220)는 선택된 적어도 하나의 한글 획요소 및 한자 획요소 세트에 기초하여, 기선택된 한글 글꼴 또는 기선택된 한자 글꼴에 매칭되는 추천 한자 글꼴 또는 추천 한글 글꼴을 제공할 수 있다.In this case, the
예를 들면, 기선택된 한글 글꼴이 바탕체이고, 상기 선택된 적어도 하나의 한글 획요소 및 한자 획요소 세트는 부리(한글획요소)-꺾임빗침(한자획요소)인 경우를 가정한다. 이 경우, 프로세서(220)는 모든 한글 글꼴을 포함하는 획요소 속성값 테이블에서 바탕체 및 부리에 매핑되는 제1 속성값을 획득하고, 모든 한자 글꼴을 포함하는 획요소 속성값 테이블에서 모든 한자 글꼴에 대해 꺾임빗침에 매핑된 복수의 제2 속성값을 획득한다. 프로세서(220)는 제1 속성값 및 복수의 제2 속성값 간에 유사도 거리를 계산하여 가장 가까운 유사도 거리에 해당하는 한자 글꼴을 매칭 글꼴로 추천할 수 있다.For example, assume that the pre-selected Hangul font is a batang font, and the selected set of at least one Hangul stroke element and Chinese character stroke element is a beak (Hangul stroke element) and a slant (Chinese character stroke element). In this case, the
상술한 본 발명의 일 실시 예에서는, 기선택된 한글 글꼴에 대한 매칭 한자 글꼴을 제공하는 방법을 설명하였으나, 이는 기선택된 한자 글꼴에 대한 매칭 한글 글꼴을 제공하는 방법에도 동일하게 적용될 수 있을 것이다.In the above-described embodiment of the present invention, a method of providing a matching Chinese character font for a pre-selected Hangul font has been described, but this may be equally applied to a method of providing a matching Hangul font for a pre-selected Chinese character font.
예를 들면, 기선택된 한자 글꼴이 영명조이고, 상기 선택된 적어도 하나의 한글 획요소 및 한자 획요소 세트는 부리(한글획요소)-꺾임빗침(한자획요소)인 경우를 가정한다. For example, assume that the pre-selected Chinese character font is Yeongmyeongjo, and the selected set of at least one Hangul stroke element and Chinese character stroke element is a beak (Hangul stroke element) - skew (Chinese stroke element).
이 경우, 프로세서(220)는 모든 한자 글꼴을 포함하는 획요소 속성값 테이블에서 영명조 및 꺾임빗침에 매핑되는 제3 속성값을 획득하고, 모든 한글 글꼴을 포함하는 획요소 속성값 테이블에서 모든 한글 글꼴에 대해 부리에 매핑된 복수의 제4 속성값을 획득한다. 프로세서(220)는 제3 속성값 및 복수의 제4 속성값 간에 유사도 거리를 계산하여 가장 가까운 유사도 거리에 해당하는 한글 글꼴을 매칭 글꼴로 추천할 수 있다.In this case, the
도 3은 본 발명의 일 실시 예에 따른 한글 획요소를 도시한다.Figure 3 shows Korean stroke elements according to an embodiment of the present invention.
한글 또는 한자의 구조는 획요소(Stroke Element), 골격(Skeleton) 및 공간 정보(Spacing)로 이루어져 있다. 이 중 획요소는 획모양의 특징을 나타내는 것이다. 예를 들면, 획요소는 꺾임, 맺음, 내림, 삐침 등으로 붓의 움직임에서 기인한 명칭으로 구성되어 있다. 획요소를 기준으로 글꼴 유사도 판단을 위한 글꼴 모양 특성을 정의할 수 있다.The structure of Hangul or Chinese characters consists of stroke elements, skeleton, and spatial information. Among these, the stroke element represents the characteristics of the stroke shape. For example, stroke elements are composed of names derived from the movement of the brush, such as bending, ending, descending, and spiking. Font shape characteristics for judging font similarity can be defined based on stroke elements.
한글 획요소의 예로는, 돌기, 부리, 꺾임, 교차, 가지, 돌출, 가로맺음, 세로맺음, 삐침, 내리점, 꼭지, 상투 등이 있다.Examples of Hangul stroke elements include projections, beaks, bends, intersections, branches, protrusions, horizontal endings, vertical endings, spiking, downward dots, tops, and topknots.
도 4는 본 발명의 일 실시 예에 따른 한글 대표 획요소를 도시한다.Figure 4 shows representative Korean stroke elements according to an embodiment of the present invention.
도 4를 참조하면, 본 발명의 일 실시 예에 따른 한글 대표 획요소는 상투, 부리, 가지, 돌출, 꺾임, 삐침 및 꼭지점 총 7개를 포함할 수 있다. 이러한 한글 대표 획요소 중 적어도 하나는 다른 한글 획요소와 대체될 수 있으며, 다양한 개수의 조합으로 구성될 수 있다. 또한, 한글 대표 획요소는 사용자에 의해 선택되거나, 획요소의 구조, 크기, 질감, 너비, 무게, 방향, 형태 등에 기초하여 딥러닝을 통해 결정될 수도 있을 것이다.Referring to FIG. 4, representative Korean stroke elements according to an embodiment of the present invention may include a total of seven elements: topknot, beak, branch, protrusion, bend, spout, and vertex. At least one of these representative Hangul stroke elements may be replaced with another Hangul stroke element, and may be composed of various numbers of combinations. Additionally, representative Korean stroke elements may be selected by the user or determined through deep learning based on the structure, size, texture, width, weight, direction, and shape of the stroke elements.
도 5는 본 발명의 일 실시 예에 따른 한자 획요소를 도시한다.Figure 5 shows Chinese character stroke elements according to an embodiment of the present invention.
한글 글꼴과 한자 글꼴은 다른 언어이기 때문에 구조부터, 크기, 질감, 너비, 무게, 방향, 형태가 서로 다르다. 따라서, 한글 획요소와 한자 획요소는 다르게 정의된다.Because Hangul fonts and Chinese character fonts are different languages, their structure, size, texture, width, weight, direction, and shape are different. Therefore, Hangul stroke elements and Chinese character stroke elements are defined differently.
도 5를 참조하면, 예를 들어 한자 획요소는 가로줄기 시작부분, 가로줄기 끝부분, 세로줄기 시작부분, 세로줄기 끝부분, 점, 내림 시작부분, 내림 끝부분, 긴옆침 끝부분, 빗침 시작부분, 빗침 끝부분, 긴치침 끝부분, 윗꺾임, 아래꺾임, 빗꺾임 맺음, 가로받침 끝부분, 꺾임빗침, 긴치침 끝부분, 꺾임옆침 끝부분, 긴치침 시작부분, 꺾임치침 맺음, 꺾임옆침 맺음, 짧은치침 시작부분, 짧은치침 끝부분, 빗꺾임치침 맺음을 포함할 수 있다.Referring to Figure 5, for example, the Chinese character stroke elements are the beginning of the horizontal line, the end of the horizontal line, the beginning of the vertical line, the end of the vertical line, the dot, the beginning of the downward stroke, the end of the downward stroke, the end of the long side stitch, and the start of the comb stroke. Part, end of comb stitch, end of long stitch, upper bend, lower bend, conclusion of comb bend, end of horizontal support, curved comb, end of long stitch, end of bent side stitch, beginning of long stitch, conclusion of bent hem, bent side stitch It may include a conclusion, the beginning of a short chimney, the end of a short chimney, and the conclusion of a comb bend.
도 6은 본 발명의 일 실시 예에 따른 한자 대표 획요소를 도시한다.Figure 6 shows representative stroke elements of Chinese characters according to an embodiment of the present invention.
도 6을 참조하면, 본 발명의 일 실시 예에 따른 한자 대표 획요소는 가지, 내리점, 꺾임빗침, 긴치침 시작부분, 빗침 끝부분, 가로줄기 끝부분 및 빗꺾임치침 맺음 총 7개를 포함할 수 있다. 이러한 한자 대표 획요소 중 적어도 하나는 다른 한자 획요소와 대체될 수 있으며, 다양한 개수로 구성될 수 있다. 또한, 한자 대표 획요소는 사용자에 의해 선택되거나, 획요소의 구조, 크기, 질감, 너비, 무게, 방향, 형태 등에 기초하여 딥러닝을 통해 결정될 수도 있을 것이다.Referring to Figure 6, representative Chinese character stroke elements according to an embodiment of the present invention include a total of 7 branches, down points, slanted strokes, the beginning of long strokes, the end of comb strokes, the ends of horizontal stems, and comb strokes. can do. At least one of these Chinese character representative stroke elements may be replaced with another Chinese character stroke element and may be composed of various numbers. Additionally, representative Chinese character stroke elements may be selected by the user or determined through deep learning based on the structure, size, texture, width, weight, direction, and shape of the stroke elements.
일 예로, 상술한 한글 획요소 및 한자 획요소는 Tensorflow Object Detection API를 이용하고, Faster R-CNN 모델을 튜닝해서 적용함으로써 자동추출이 가능하다.As an example, the above-mentioned Korean stroke elements and Chinese character stroke elements can be automatically extracted by using the Tensorflow Object Detection API and tuning and applying the Faster R-CNN model.
한편, 한글의 획요소 및 한자의 획요소 각각에는 속성값이 설정될 수 있다. 여기서, 획요소에 대한 속성값이란 획요소의 특징이 도드라지는 정도를 나타낸다.Meanwhile, attribute values can be set for each of the stroke elements of Hangul and Chinese characters. Here, the attribute value for the stroke element indicates the degree to which the characteristics of the stroke element stand out.
이하에서, 도 7 및 도 8을 참조하여 한글 획요소에 대한 속성값을 획득하는 과정을, 도 9 내지 도 12를 참조하여 한자 획요소에 대한 속성값을 획득하는 과정을 설명한다.Below, the process of obtaining attribute values for Korean stroke elements will be described with reference to FIGS. 7 and 8, and the process of obtaining attribute values for Chinese character stroke elements will be described with reference to FIGS. 9 to 12.
도 7은 본 발명의 일 실시 예에 따른 한글 획요소에 대한 속성값의 측정기준을 도시한다.Figure 7 shows measurement standards for attribute values for Korean stroke elements according to an embodiment of the present invention.
도 7을 참조하면, 프로세서(220)는 상투의 꺾임 속성을 기준으로 상투의 속성값을 판단하고, 세로줄기의 부리 각도를 기준으로 부리의 속성값을 판단하고, 줄기의 굵기를 기준으로 가지의 속성값을 판단하고, 굴림과 꺾임을 기준으로 꺾임의 속성값을 판단하고, 맺음과 돌출을 기준으로 돌출의 속성값을 판단하고, 삐침의 뾰족함을 기준으로 삐침의 속성을 판단하고, 꼭지점의 모양을 기준으로 꼭지점의 속성을 판단할 수 있다. 여기서, 속성값은 0점 내지 4점으로 결정될 수 있을 것이나 정의에 따라 달라질 수 있다.Referring to FIG. 7, the
일 예로 상술한 속성값은 Faster R-CNN 모델이 적용된 딥러닝을 수행하여 획득될 수 있다. 또는, 도 7의 측정방법은 일반인 또는 전문가에 설문 형태로 제공되어 통계적으로 획득될 수도 있을 것이다.As an example, the above-mentioned attribute values can be obtained by performing deep learning to which the Faster R-CNN model is applied. Alternatively, the measurement method of FIG. 7 may be provided in the form of a survey to the general public or experts and obtained statistically.
도 8은 본 발명의 일 실시 예에 따른 한글 획요소 속성값 테이블을 도시한다.Figure 8 shows a Korean stroke element attribute value table according to an embodiment of the present invention.
구체적으로, 도 8은 복수의 한글 글꼴에 대한 복수의 한글 획요소의 속성값 테이블이다. 예를 들어, 바탕체에 대한 한글 획요소 상투의 속성값은 4.0이다. 또는, 한글 획요소 상투에 대한 바탕체의 속성값은 4.0이다.Specifically, Figure 8 is a table of attribute values of a plurality of Hangul stroke elements for a plurality of Hangul fonts. For example, the attribute value of the Korean stroke element topknot for the batang font is 4.0. Alternatively, the attribute value of the batang font for the Korean stroke element topknot is 4.0.
도 9는 본 발명의 일 실시 예에 따른 한자 획요소에 대한 속성값의 측정기준을 도시한다. 도 10은 본 발명의 다른 실시 예에 따른 한자 획요소에 대한 속성값의 측정기준을 도시한다. 도 11은 본 발명의 또 다른 실시 예에 따른 한자 획요소에 대한 속성값의 측정기준을 도시한다.Figure 9 shows measurement standards for attribute values for Chinese character stroke elements according to an embodiment of the present invention. Figure 10 shows measurement standards for attribute values for Chinese character stroke elements according to another embodiment of the present invention. Figure 11 shows measurement standards for attribute values for Chinese character stroke elements according to another embodiment of the present invention.
도 9를 참조하면, 프로세서(220)는 꺾임의 각도를 기준으로 꺾임빗침의 속성값을 판단하고, 부리의 유무, 각도를 기준으로 긴지침 시작부분의 속성값을 판단하고, 빗침 끝부분의 날카로운 정도를 기준으로 빗침 끝부분의 속성값을 판단하고, 끝부분의 돌출 유무 및 형태(돌출 크기)를 기준으로 가로줄기 끝부분의 속성값을 판단하고, 맺음 위치에 돌출 유무 및 형태(돌출 길이)를 기준으로 빗꺾임치침 맺음의 속성값을 판단하고, 줄기의 굵기, 굵고 얇은 정도를 기준으로 가지의 속성값을 판단하고, 내리점의 모양을 기준으로 내리점의 속성값을 판단할 수 있다. 여기서, 속성값은 0점 내지 4점으로 결정될 수 있을 것이나 정의에 따라 달라질 수 있다.Referring to FIG. 9, the
일 예로 상술한 속성값은 Faster R-CNN 모델이 적용된 딥러닝을 수행하여 획득될 수 있다. 또는, 도 9 내지 도11의 측정방법은 일반인 또는 전문가에 설문 형태로 제공되어 통계적으로 획득될 수도 있을 것이다.As an example, the above-mentioned attribute values can be obtained by performing deep learning to which the Faster R-CNN model is applied. Alternatively, the measurement methods of FIGS. 9 to 11 may be provided in the form of a questionnaire to the general public or experts and obtained statistically.
도 12는 본 발명의 일 실시 예에 따른 한자 획요소 속성값 테이블을 도시한다.Figure 12 shows a Chinese character stroke element attribute value table according to an embodiment of the present invention.
구체적으로, 도 12는 복수의 한자 글꼴에 대한 복수의 한자 획요소의 속성값 테이블이다. 예를 들어, 영명조에 대한 한자 획요소 가지의 속성값은 2.25이다. 또는, 한자 획요소 가지에 대한 영명조에 대한 속성값은 2.25이다. 여기서, 상기 속성값은 복수의 자료의 평균으로 산출될 수도 있기 때문에 소수점 형태의 숫자로 표현될 수도 있다.Specifically, Figure 12 is a table of attribute values of a plurality of Chinese character stroke elements for a plurality of Chinese character fonts. For example, the attribute value of the Chinese character stroke element branch for Yeongmyeongjo is 2.25. Alternatively, the attribute value for the English tone for the Chinese character stroke element branch is 2.25. Here, since the attribute value may be calculated as the average of a plurality of data, it may be expressed as a number in decimal form.
도 13 및 도 14는 본 발명의 일 실시 예에 따른 글꼴 제공방법에 대한 흐름도이다.Figures 13 and 14 are flowcharts of a method for providing fonts according to an embodiment of the present invention.
도 13을 참조하면, 프로세서(220)는 복수의 한글 글꼴에 대한 복수의 한글 획요소의 제1 속성값 테이블(예를 들어 도 8) 및 복수의 한자 글꼴에 대한 복수의 한자 글꼴에 대한 복수의 한자 획요소의 제2 속성값 테이블(예를 들어 도 12)을 획득할 수 있다(S1310).Referring to FIG. 13, the
또한, 프로세서(220)는 제1 속성값 테이블 및 제2 속성값 테이블에 기초하여, 기정의된 한글 획요소에 대한 한글 글꼴 별 속성값 및 기정의된 한자 획요소에 대한 한자 글꼴별 속성값 간의 유사도 거리를 포함하는 속성값 유사도 거리 테이블을 획득할 수 있다(S1320).In addition, based on the first attribute value table and the second attribute value table, the
도 15를 참조하면, 프로세서(220)는 기정의된 한글 획요소인 상투에 대응되는 기정의된 한자 획요소인 가지, 내리점, 꺾임빗침, 긴지침 시작부분, 빗침 끝부분, 가로줄기 끝부분 및 빗꺾임치침 맺음 각각에 대하여 유사도 거리(유클리드 거리)를 계산할 수 있다.Referring to FIG. 15, the
여기서, 유사도 거리는 다음의 수학식 1에 기초하여 획득될 수 있다.Here, the similarity distance can be obtained based on
여기서, 는 번째 한글 글꼴의 속성값이고, 는 번째 한자 글꼴의 속성값이다.here, Is This is the property value of the second Korean font, Is This is the attribute value of the second Chinese character font.
도 16을 참조하면, 예를 들어 기정의된 한글 획요소는 상투고, 기정의된 한자 획요소는 가지로 가정한다. 이 경우, 프로세서(220)는 상투에 매칭되는 7개의 한글 글꼴에 대한 속성값 각각과, 가지, 내리점, 꺾임빗침, 긴지침 시작부분, 빗침 끝부분, 가로줄기 끝부분 및 빗꺾임치침 맺음에 매칭되는 7개의 한자 글꼴에 대한 속성값 각각의 유사도 거리를 계산할 수 있다. 이를 통해, 프로세서(220)는 예를 들어 도 17과 같은, 상투 및 가지 세트에 대한 속성값 유사도 거리 테이블을 획득할 수 있다.Referring to FIG. 16, for example, it is assumed that the predefined Korean character stroke element is cliche, and the predefined Chinese character stroke element is assumed to be eggplant. In this case, the
일 예로, 도 17은 상투 및 가지 세트에 대한 테이블로, 7개의 한글 획요소 및 7개의 한자 획요소에 대한 모든 세트에 대한 테이블을 작성하는 경우, 속성값 유사도 거리 테이블은 총 49개가 획득될 수 있다.As an example, Figure 17 is a table for topknot and branch sets. When creating a table for all sets of 7 Korean stroke elements and 7 Chinese character stroke elements, a total of 49 attribute value similarity distance tables can be obtained. there is.
또한, 프로세서(220)는 속성값 유사도 거리 테이블(도 17 참조)에 기초하여 글꼴 유사도 순위 테이블을 획득할 수 있다(S1330). 여기서, 글꼴 유사도 순위 테이블은 한글 획요소 및 한자 획요소 세트에 매칭된다.Additionally, the
구체적으로, 프로세서(220)는 유클리드 거리는 거리가 짧을수록 더 유사하다는 원칙에 따라, 도 17에 포함된 유사도 거리 값을 한글 글꼴과의 유사 순위 목록으로 전환할 수 있다.Specifically, the
일 예로, 도 18의 글꼴 유사도 순위 테이블은 7개의 한글 획요소 및 7개의 한자 획요소에 대한 모든 세트에 대한 테이블을 작성하는 경우, 총 49개가 획득될 수 있다.As an example, a total of 49 font similarity ranking tables in Figure 18 can be obtained when creating a table for all sets of 7 Korean stroke elements and 7 Chinese character stroke elements.
프로세서(220)는 저장부(210)로부터 글꼴 유사도 순위 레퍼런스 테이블을 로드할 수 있다. 일 예로, 글꼴 유사도 순위 레퍼런스 테이블은 복수의 한글 글꼴과 복수의 한자 글꼴 간의 유사도를 전문가에게 평가받은 결과일 수 있다. 이 경우, 글꼴 유사도 순위 레퍼런스 테이블은 한글 획요소 및 한자 획요소의 고려 없이 한글 글꼴 및 한자 글꼴 자체에 대한 유사도 판단의 결과일 수 있다.The
프로세서(220)는 로드된 글꼴 유사도 순위 레퍼런스 테이블(도 19 참조) 및 글꼴 유사도 순위 테이블(도 18 참조)을 간의 순위 유사도 테이블(획요소 세트에 대한 코사인 유사도 테이블, 도 20 참조)을 획득할 수 있다(S1340).
여기서, 순위 유사도는 다음의 수학식 2에 의해 계산될 수 있다.Here, rank similarity can be calculated using
여기서, A는 상투 및 가지 세트에 대한 글꼴 유사도 순위 테이블에 포함된 순위값이고, B는 글꼴 유사도 순위 레퍼런스 테이블에 포함된 순위값이다.Here, A is the ranking value included in the font similarity ranking table for the topknot and branch sets, and B is the ranking value included in the font similarity ranking reference table.
일 예로, 도 20을 참조하면, 프로세서(220)는 상투 및 가지 세트에 대한 글꼴 유사도 순위 테이블(A)에 포함된 순위값과, 글꼴 유사도 순위 레퍼런스 테이블(B)에 포함된 순위값에 대한 코사인 유사도 계산(수학식 2)을 수행하여, 상투 및 가지에 대한 코인 유사도 0.7307을 획득할 수 있다.As an example, referring to FIG. 20, the
도 20에서, 프로세서(220)는 상투 및 가지 세트에 대한 코사인 유사도 계산만을 하였으나(1회), 프로세서(220)는 다른 한글 획요소 및 한자 획요소에 대한 코사인 유사도 계산(48회)을 추가로 수행하여(총 49회) 획요소 세트에 대한 코사인 유사도 테이블을 획득할 수 있다.In Figure 20, the
프로세서(220)는 획득된 순위 유사도의 크기에 기초하여 최적의 적어도 하나의 한글 획요소 및 한자 획요소 세트를 획득할 수 있다(S1350). 여기서, 최적이란 한글 획요소 및 한자 획요소 간의 유사도가 크다는 것으로 정의될 수 있다.The
도 21을 참조하면, 예를 들어 프로세서(220)는 획요소 세트에서 획요소의 중복을 허용한 경우, 가지-가지 세트, 삐침-내리점 세트, 가지-꺾임빗침 세트, 돌출-긴지침 세트, 꺾임-빗침 세트, 돌출-가로줄기 세트, 삐침-빗꺾임지침 세트 간에 유사도가 크다고 판단할 수 있다.Referring to FIG. 21, for example, when the
도 22를 참조하면, 예를 들어 프로세서(220)는 획요소 세트에서 획요소 중복을 허용하지 않는 경우, 부리-가지 세트, 상투-내리점 세트, 가지-꺾임빗침 세트, 돌출-긴지침 세트, 꺾임-빗침 세트, 삐침-빗꺾임치침 세트, 꼭지점-가로줄기 세트 간에 유사도가 크다고 판단할 수 있다. Referring to FIG. 22, for example, when the
예를 들어, 획요소 중복을 허용하는 경우에는 한자 획요소 가지에 대하여 한글 획요소 가지가 가장 큰 코인 유사도를 갖는다. 획요소 중복을 허용하지 않는 경우에는, 프로세서(220)는 한글 획요소 가지의 중복을 피하기 위해 두 번째 큰 코인 유사도를 갖는 한자 획요소 가지와 한글 획요소 부리를 가장 적합한 세트로 판단할 수 있다.For example, when duplication of stroke elements is allowed, the Korean stroke element branch has the greatest coin similarity with respect to the Chinese character stroke element branch. When stroke element duplication is not allowed, the
한편, 프로세서(220)는 전체 한글 글꼴의 획요소 속성값 테이블 및 전체 한자 글꼴의 획요소 속성값 테이블을 획득할 수 있다(S1360). 이하, 도 23 및 도 24를 참조하여 상세히 설명한다.Meanwhile, the
도 23은 본 발명의 일 실시 예에 따른 전체 한글 획요소 속성값 테이블 생성 과정을 도시한다.Figure 23 shows the process of creating an entire Korean stroke element attribute value table according to an embodiment of the present invention.
도 23을 참조하면, 프로세서(220)는 Tensorflow Object Detection API를 이용하고, Faster R-CNN 모델을 튜닝해서 적용하여 한글 대표 글꼴 13개에 대하여 획요소 자동 추출과정을 수행할 수 있다. 이 경우, 프로세서(220)는 한글 획요소인 상투, 부리, 가지, 돌출, 꺾임, 삐침 및 꼭지점을 자동 추출할 수 있다.Referring to FIG. 23, the
또한, 프로세서(220)는 Faster R-CNN 모델 적용을 적용하여 상기 자동 추출된 획요소들에 대하여 한글 획요소 속성값을 결정할 수 있다. 프로세서(220)는 한글 획요소 속성값 계산 학습 결과에 기초하여 추가 한글 글꼴에 대하여 지속적으로 학습결과 적용 및 개선을 수행하여 전체 한글 획요소 속성값 테이블을 생성할 수 있다.Additionally, the
상술한 본 발명의 일 실시 예는 전체 한자 획요소 속성값 테이블을 생성하는데에도 적용될 수 있음은 물론이다.Of course, the above-described embodiment of the present invention can also be applied to generating an entire Chinese character stroke element attribute value table.
도 24는 본 발명의 일 실시 예에 따른 전체 한자 획요소 속성값 테이블 생성 과정을 도시한다.Figure 24 shows the process of creating an entire Chinese character stroke element attribute value table according to an embodiment of the present invention.
도 24를 참조하면, 프로세서(220)는 Tensorflow Object Detection API를 이용하고, Faster R-CNN 모델을 튜닝해서 적용하여 한자 대표 글꼴 14개에 대하여 획요소 자동 추출과정을 수행할 수 있다. 이 경우, 프로세서(220)는 한자 획요소인 가지 내리점, 꺾임빗침, 긴지침, 빗침, 가로줄기 및 빗꺾임지침을 자동 추출할 수 있다.Referring to FIG. 24, the
또한, 프로세서(220)는 Faster R-CNN 모델 적용을 적용하여 상기 자동 추출된 획요소들에 대하여 한자 획요소 속성값을 결정할 수 있다. 프로세서(220)는 한자 획요소 속성값 계산 학습 결과에 기초하여 추가 한자 글꼴에 대하여 지속적으로 학습결과 적용 및 개선을 수행하여 전체 한자 획요소 속성값 테이블을 생성할 수 있다.Additionally, the
도 25를 참조하면, 프로세서(220)는 상술한 전체 한글 획요소 속성값 테이블 생성 과정을 통해서 추가 서체(수백~수천 개)에 대한 전체 한글 획요소 속성값 테이블을 생성할 수 있다.Referring to FIG. 25, the
또한, 도 26을 참조하면, 프로세서(220)는 상술한 전체 한자 획요소 속성값 테이블 생성 과정을 통해서 추가 서체(수백~수천 개)에 대한 전체 한자 획요소 속성값 테이블을 생성할 수 있다.Additionally, referring to FIG. 26, the
도 27은 본 발명의 일 실시 예에 따른 글꼴 추천 방법을 도시한다.Figure 27 illustrates a font recommendation method according to an embodiment of the present invention.
상술한 본 발명의 다양한 실시 예에 따라 최적의 한글 획요소 및 한자 획요소 세트가 결정되었다. 예를 들어, 프로세서(220)는 최적의 한글 획요소 및 한자 획요소 세트로, 한글 가지와 한자 꺾임 빗침, 한글 돌출과 한자 긴지침, 한글 꺾임과 한자 빗침, 한글 삐침과 한자 빗꺾임지침 4가지를 선택한 것으로 가정한다.According to various embodiments of the present invention described above, an optimal set of Korean stroke elements and Chinese character stroke elements were determined. For example, the
프로세서(220)는 선택된 적어도 하나의 한글 획요소 및 한자 획요소 세트에 기초하여, 기선택된 한글 글꼴(주어진 한글 글꼴) 또는 기선택된 한자 글꼴(주어진 한글 글꼴)에 매칭되는 추천 한자 글꼴 또는 추천 한글 글꼴을 제공할 수 있다.Based on the selected set of at least one Hangul stroke element and Chinese character stroke element, the
이를 위해, 프로세서(220)는 기정의된 한글 글꼴 또는 기정의된 한자 글꼴과, 적어도 하나의 한글 획요소 및 한자 획요소 세트에 매칭되는 적어도 둘의 속성값 간의 유사도 거리를 획득할 수 있다.To this end, the
이 경우, 프로세서(220)는 획득된 복수의 유사도 거리 중 가장 짧은 경우의 한글 글꼴 또는 한자 글꼴을 추천 한자 글꼴 또는 추천 한글 글꼴로 판단할 수 있다.In this case, the
일 예로, 프로세서(220)는 전체 한글 획요소 속성값 테이블에서, 기선택된 한글 글꼴과, 상기 선택된 적어도 하나의 한글 획요소 및 한자 획요소 세트에 포함된 적어도 하나의 한글 획요소에 동시에 대응되는 제1 속성값을 획득할 수 있다.As an example, the
또한, 프로세서(220)는 전체 한자 획요소 속성값 테이블에서, 상기 선택된 적어도 하나의 한글 획요소 및 한자 획요소 세트에 포함된 적어도 하나의 한자 획요소에 대응되는 제2 속성값을 획득할 수 있다.Additionally, the
프로세서(220)는 수학식 1에 의해, 제1 속성값 및 제2 속성값 간의 유사도 거리를 획득할 수 있다. 여기서, 프로세서(220)는 유사도 거리가 복수개인 경우 평균 거리를 획득할 수 있다.The
결론적으로, 프로세서(220)는 제1 속성값 및 제2 속성값 간의 유사도 거리가 가장 가까운 경우의 한자 글꼴을 기선택된 한글 글꼴에 대한 매칭 글꼴로 추천할 수 있다.In conclusion, the
다른 예로, 프로세서(220)는 전체 한자 획요소 속성값 테이블에서, 기선택된 한자 글꼴과, 상기 선택된 적어도 하나의 한글 획요소 및 한자 획요소 세트에 포함된 적어도 하나의 한자 획요소에 동시에 대응되는 제3 속성값을 획득할 수 있다.As another example, the
또한, 프로세서(220)는 전체 한자 획요소 속성값 테이블에서, 상기 선택된 적어도 하나의 한글 획요소 및 한자 획요소 세트에 포함된 적어도 하나의 한글 획요소에 대응되는 제4 속성값을 획득할 수 있다.In addition, the
프로세서(220)는 수학식 1에 의해, 제3 속성값 및 제4 속성값 간의 유사도 거리를 획득할 수 있다. 여기서, 프로세서(220)는 유사도 거리가 복수개인 경우 평균 거리를 획득할 수 있다.The
결론적으로, 프로세서(220)는 제3 속성값 및 제4 속성값 간의 유사도 거리가 가장 가까운 경우의 한글 글꼴을 기선택된 한자 글꼴에 대한 매칭 글꼴로 추천할 수 있다.In conclusion, the
도 28은 본 발명의 다른 실시 예에 따른 글꼴 추천 방법을 도시한다.Figure 28 shows a font recommendation method according to another embodiment of the present invention.
도 28을 참조하면, 프로세서(220)는 최적의 한글 획요소 및 한자 획요소 세트로, 한글 가지와 한자 꺾임빗침, 한글 돌출과 한자 긴지침, 한글 꺾임과 한자 빗침 3가지를 선택한 것으로 가정한다.Referring to FIG. 28, it is assumed that the
프로세서(220)는 선택된 적어도 하나의 한글 획요소 및 한자 획요소 세트에 기초하여, 기선택된 한글 글꼴(주어진 한글 글꼴) 휴먼예체에 매칭되는 추천 한자 꼴을 제공할 수 있다.The
일 예로, 프로세서(220)는 전체 한글 획요소 속성값 테이블에서, 기선택된 한글 글꼴과, 상기 선택된 적어도 하나의 한글 획요소 및 한자 획요소 세트에 포함된 적어도 하나의 한글 획요소에 동시에 대응되는 제1 속성값을 획득할 수 있다. As an example, the
예를 들면, 제1 속성값은 휴먼예체에 대응되는 가지의 획요소 속성값, 돌출의 획요소 속성값 및 꺾임의 획요소 속성값 총 3개를 포함할 수 있다.For example, the first attribute value may include a total of three stroke element attribute values, a branch stroke element attribute value, a protrusion stroke element attribute value, and a bend stroke element attribute value corresponding to the human body.
또한, 프로세서(220)는 전체 한자 획요소 속성값 테이블에서, 상기 선택된 적어도 하나의 한글 획요소 및 한자 획요소 세트에 포함된 적어도 하나의 한자 획요소에 대응되는 제2 속성값을 획득할 수 있다.Additionally, the
예를 들면, 제2 속성값은 영명조에 대응되는 꺾임빗침의 획요소 속성값, 긴지침의 획요소 속성값 및 빗침의 획요소 속성값을 포함할 수 있다. 또한, 영명조 외의 한자 글꼴에 대응되는 꺾임빗침의 획요소 속성값, 긴지침의 획요소 속성값 및 빗침의 획요소 속성값을 모두 포함할 수 있다.For example, the second attribute value may include a stroke element attribute value of an inclined point, a stroke element attribute value of a long pointer, and a stroke element attribute value of an oblique point corresponding to the English tone. In addition, it may include all of the stroke element attribute values of the inclined stroke, the stroke element attribute value of the long stroke, and the stroke element attribute value of the slash corresponding to Chinese character fonts other than Yeongmyeongjo.
프로세서(220)는 수학식 1에 의해, 제1 속성값 및 제2 속성값 간의 유사도 거리를 획득할 수 있다. 여기서, 프로세서(220)는 유사도 거리가 복수개인 경우 평균 거리를 획득할 수 있다. 즉, 프로세서(220)는 한글 획요소가 3개이고 한자 획요소가 3개이므로 총 3개의 유사도 거리가 계산되고, 이들을 평균한 거리를 획득할 수 있다.The
결론적으로, 프로세서(220)는 제1 속성값 및 제2 속성값 간의 유사도 거리가 가장 가까운 경우의 한자 글꼴을 기선택된 한글 글꼴에 대한 매칭 글꼴로 추천할 수 있다.In conclusion, the
한편, 전자장치의 프로세서에 의해 실행되는 경우 상기 전자장치의 동작을 수행하도록 하는 컴퓨터 명령을 저장하는 비일시적 컴퓨터 판독 가능 매체에 있어서, 상기 동작은, 한글 획요소 및 한자 획요소 세트에 매칭되는 글꼴 유사도 순위 테이블을 획득하는 과정, 상기 저장부로부터 글꼴 유사도 순위 레퍼런스 테이블을 로드하여, 상기 글꼴 유사도 순위 레퍼런스 테이블 및 상기 글꼴 유사도 순위 테이블 간의 순위 유사도 테이블을 획득하는 과정, 상기 순위 유사도 테이블에 포함된 순위 유사도의 크기에 기초하여, 적어도 하나의 한글 획요소 및 한자 획요소 세트를 선택하는 과정 및 상기 선택된 적어도 하나의 한글 획요소 및 한자 획요소 세트에 기초하여, 기선택된 한글 글꼴 또는 기선택된 한자 글꼴에 매칭되는 추천 한자 글꼴 또는 추천 한글 글꼴을 제공하는 과정을 포함할 수 있다.Meanwhile, in the non-transitory computer-readable medium that stores computer instructions that, when executed by a processor of the electronic device, cause the electronic device to perform an operation, the operation includes a font matching a set of Hangul stroke elements and Chinese character stroke elements. Process of obtaining a similarity ranking table, loading a font similarity ranking reference table from the storage unit, obtaining a ranking similarity table between the font similarity ranking reference table and the font similarity ranking table, rankings included in the ranking similarity table A process of selecting at least one set of Hangul stroke elements and Chinese character stroke elements based on the magnitude of similarity, and based on the selected set of at least one Hangul stroke element and Chinese character stroke elements, selecting a pre-selected Hangul font or a pre-selected Chinese character font. The process of providing a matching recommended Chinese character font or recommended Korean font may be included.
상술한 본 발명의 다양한 실시 예에 따르면, 본 발명은 한글 글꼴과 어울리는 한자 글꼴을 제공할 수 있다. 또한, 본 발명은 한자 글꼴과 어울리는 한글 글꼴을 제공할 수 있다. According to various embodiments of the present invention described above, the present invention can provide a Chinese character font that matches the Korean font. Additionally, the present invention can provide a Hangul font that matches the Chinese character font.
도 29는 본 발명의 일 실시예에 따른 전자장치의 세부 구성도이다.Figure 29 is a detailed configuration diagram of an electronic device according to an embodiment of the present invention.
도 29를 참조하면, 전자장치(2900)는 통신부(2910), 저장부(2920) 및 프로세서(2930)를 포함한다.Referring to FIG. 29, the electronic device 2900 includes a communication unit 2910, a storage unit 2920, and a processor 2930.
통신부(2910)는 통신을 수행한다. 통신부(2910)는 BT(BlueTooth), WI-FI(Wireless Fidelity), ZigBee, IR(Infrared), NFC(Near Field Communication) 등과 같은 다양한 통신 방식을 통해 외부 전자기기와 통신을 수행할 수 있다.The communication unit 2910 performs communication. The communication unit 2910 can communicate with external electronic devices through various communication methods such as BT (BlueTooth), WI-FI (Wireless Fidelity), ZigBee, IR (Infrared), NFC (Near Field Communication), etc.
저장부(2920)는 전자장치(2900)를 구동시키기 위한 O/S(Operating System) 소프트웨어 모듈, 디스플레이 영역에서 제공되는 다양한 UI 화면을 구성하기 위한 데이터 등을 저장할 수 있다. The storage unit 2920 may store O/S (Operating System) software modules for driving the electronic device 2900, data for configuring various UI screens provided in the display area, etc.
일 예로, 저장부(2920)는 다양한 유형의 지문에 대한 데이터베이스를 저장할 수 있다. 저장부(2920)는 지문의 유형, 지문의 색 정보 및 지문 이미지의 방향 중 적어도 하나에 기초하여 다수의 지문을 저장할 수 있다.As an example, the storage unit 2920 may store a database for various types of fingerprints. The storage unit 2920 may store a plurality of fingerprints based on at least one of the type of fingerprint, color information of the fingerprint, and direction of the fingerprint image.
프로세서(2930)는 저장부(2920)에 저장된 각종 프로그램을 이용하여 전자장치(2900)의 동작을 전반적으로 제어한다.The processor 2930 generally controls the operation of the electronic device 2900 using various programs stored in the storage unit 2920.
구체적으로, 프로세서(2930)는 RAM(2931), ROM(2932), 메인 CPU(2933), 그래픽 처리부(2934), 제1 내지 n 인터페이스(2935-1 ~ 2935-n) 및 버스(2936)를 포함한다.Specifically, the processor 2930 includes RAM 2931, ROM 2932, main CPU 2933, graphics processing unit 2934, first to n interfaces (2935-1 to 2935-n), and bus 2936. Includes.
여기서, RAM(2931), ROM(2932), 메인 CPU(2933), 그래픽 처리부(2934), 제1 내지 n 인터페이스(2935-1 ~ 2935-n) 등은 버스(2936)를 통해 서로 연결될 수 있다.Here, RAM 2931, ROM 2932, main CPU 2933, graphics processing unit 2934, first to n interfaces 2935-1 to 2935-n, etc. may be connected to each other through a bus 2936. .
제1 내지 n 인터페이스(2935-1 내지 2935-n)는 상술한 각종 구성요소들과 연결된다. 인터페이스들 중 하나는 네트워크를 통해 외부 장치와 연결되는 네트워크 인터페이스가 될 수도 있다.The first to n interfaces 2935-1 to 2935-n are connected to the various components described above. One of the interfaces may be a network interface connected to an external device through a network.
ROM(2932)에는 시스템 부팅을 위한 명령어 세트 등이 저장된다. 턴온 명령이 입력되어 전원이 공급되면, 메인 CPU(2933)는 ROM(2932)에 저장된 명령어에 따라 저장부(2920)에 저장된 O/S를 RAM(2931)에 복사하고, O/S를 실행시켜 시스템을 부팅시킨다. The ROM 2932 stores a set of instructions for booting the system. When the turn-on command is input and power is supplied, the main CPU (2933) copies the O/S stored in the storage unit (2920) to the RAM (2931) according to the command stored in the ROM (2932) and executes the O/S. Boot the system.
부팅이 완료되면, 메인 CPU(2933)는 저장된 각종 어플리케이션 프로그램을 RAM(2931)에 복사하고, RAM(2931)에 복사된 어플리케이션 프로그램을 실행시켜 각종 동작을 수행한다.When booting is complete, the main CPU 2933 copies various stored application programs to the RAM 2931 and executes the application programs copied to the RAM 2931 to perform various operations.
메인 CPU(2933)는 저장부(2920)에 액세스하여, 저장부(2920)에 저장된 O/S를 이용하여 부팅을 수행한다. 그리고, 메인 CPU(2933)는 저장부(2920)에 저장된 각종 프로그램, 컨텐트, 데이터 등을 이용하여 다양한 동작을 수행한다.The main CPU 2933 accesses the storage unit 2920 and performs booting using the O/S stored in the storage unit 2920. And, the main CPU 2933 performs various operations using various programs, content, data, etc. stored in the storage unit 2920.
그래픽 처리부(2934)는 연산부 및 렌더링부를 이용하여 아이콘, 이미지, 텍스트 등과 같은 다양한 객체를 포함하는 화면을 생성한다.The graphics processing unit 2934 uses a calculation unit and a rendering unit to create a screen including various objects such as icons, images, and text.
일 예로, 프로세서(2930)는 한글 및 한자 간에 적합도가 높은 글꼬을 제공할 수 있다. 이를 위해, 프로세서(2930)는 한글 획요소 및 한자 획요소 세트에 매칭되는 글꼴 유사도 순위 테이블을 획득하고, 저장부(2920)로부터 글꼴 유사도 순위 레퍼런스 테이블을 로드하여, 글꼴 유사도 순위 레퍼런스 테이블 및 글꼴 유사도 순위 테이블 간의 순위 유사도 테이블을 획득하고, 순위 유사도 테이블에 포함된 순위 유사도의 크기에 기초하여, 적어도 하나의 한글 획요소 및 한자 획요소 세트를 선택하고, 선택된 적어도 하나의 한글 획요소 및 한자 획요소 세트에 기초하여, 기선택된 한글 글꼴 또는 기선택된 한자 글꼴에 매칭되는 추천 한자 글꼴 또는 추천 한글 글꼴을 제공할 수 있다.As an example, the processor 2930 can provide a font with high compatibility between Hangul and Chinese characters. To this end, the processor 2930 obtains a font similarity ranking table matching the Korean stroke element and Chinese character stroke element sets, loads the font similarity ranking reference table from the storage unit 2920, and stores the font similarity ranking reference table and font similarity. Obtain a rank similarity table between rank tables, select at least one set of Korean stroke elements and Chinese character stroke elements based on the size of rank similarity included in the rank similarity table, and select at least one set of Korean stroke elements and Chinese character stroke elements. Based on the set, a recommended Chinese character font or a recommended Korean font matching the pre-selected Hangul font or the pre-selected Chinese character font may be provided.
도 30은 본 발명의 일 실시 예에 따른 글꼴 제공 방법에 대한 흐름도이다.Figure 30 is a flowchart of a method for providing a font according to an embodiment of the present invention.
도 30을 참조하면, 본 발명의 일 실시 예에 따른 한글 및 한자 간에 적합도가 높은 글꼴을 제공하는 전자장치의 동작방법은, 한글 획요소 및 한자 획요소 세트에 매칭되는 글꼴 유사도 순위 테이블을 획득하는 과정(S3010), 저장부로부터 글꼴 유사도 순위 레퍼런스 테이블을 로드하여, 글꼴 유사도 순위 레퍼런스 테이블 및 글꼴 유사도 순위 테이블 간의 순위 유사도 테이블을 획득하는 과정(S3020), 순위 유사도 테이블에 포함된 순위 유사도의 크기에 기초하여, 적어도 하나의 한글 획요소 및 한자 획요소 세트를 선택하는 과정(S3030) 및 선택된 적어도 하나의 한글 획요소 및 한자 획요소 세트에 기초하여, 기선택된 한글 글꼴 또는 기선택된 한자 글꼴에 매칭되는 추천 한자 글꼴 또는 추천 한글 글꼴을 제공하는 과정(S3040)을 포함할 수 있다.Referring to FIG. 30, a method of operating an electronic device that provides a font with high compatibility between Korean and Chinese characters according to an embodiment of the present invention includes obtaining a font similarity ranking table matching a set of Korean stroke elements and Chinese character stroke elements. Process (S3010), loading the font similarity ranking reference table from the storage unit, obtaining a ranking similarity table between the font similarity ranking reference table and the font similarity ranking table (S3020), determining the size of the ranking similarity included in the ranking similarity table. Based on this, a process of selecting at least one set of Hangul stroke elements and Chinese character stroke elements (S3030), and based on the selected set of at least one Hangul stroke element and Chinese character stroke elements, matching the pre-selected Hangul font or the pre-selected Chinese character font A process (S3040) of providing a recommended Chinese character font or a recommended Korean font may be included.
상술한 본 발명의 일 실시 예에서, 상술한 글꼴 유사도 순위 테이블은 기정의된 한글 획요소에 대한 한글 글꼴별 속성값 및 기정의된 한자 획요소에 대한 한자 글꼴별 속성값 간에 획득된 유사도 거리를 포함하는 속성값 유사도 거리 테이블에 기초하여 획득될 수 있다.In an embodiment of the present invention described above, the above-described font similarity ranking table represents the similarity distance obtained between the attribute values for each Korean font for predefined Korean stroke elements and the attribute values for each Chinese character font for predefined Chinese character stroke elements. The attribute value similarity may be obtained based on the included distance table.
일 실시 예로, 상술한 속성값 유사도 거리 테이블은 다음의 식에 기초하여 획득될 수 있다. As an example, the above-described attribute value similarity distance table can be obtained based on the following equation.
여기서, 는 번째 한글 글꼴의 속성값이고, 는 번째 한자 글꼴의 속성값이다.here, Is This is the property value of the second Korean font, Is This is the attribute value of the second Chinese character font.
또한, 상술한 본 발명의 일 실시 예에서, 상술한 기정의된 한글 획요소는 상투, 부리, 가지, 돌출, 꺾임, 삐침 및 꼭지점 중 하나일 수 있다.Additionally, in one embodiment of the present invention described above, the above-defined predefined Hangul stroke element may be one of the topknot, beak, branch, protrusion, bend, pinch, and vertex.
또한, 상술한 상기 기정의된 한자 획요소는 가지 내리점, 꺾임빗침, 긴지침, 빗침, 가로줄기 및 빗꺾임지침 중 하나일 수 있다.In addition, the above-mentioned predefined Chinese character stroke element may be one of a branch point, a slant point, a long pointer, a slant point, a horizontal stem, and a slant point pointer.
한편, 상술한 순위 유사도 테이블은 다음의 식에 기초하여 획득될 수 있다.Meanwhile, the above-described rank similarity table can be obtained based on the following equation.
일 예로, 상술한 한글 및 한자 간에 적합도가 높은 글꼴을 제공하는 전자장치의 동작방법은 기선택된 한글 글꼴 또는 기선택된 한자 글꼴과, 적어도 하나의 한글 획요소 및 한자 획요소 세트에 매칭되는 적어도 둘의 속성값 간의 유사도 거리를 획득하는 과정을 더 포함할 수 있다.As an example, a method of operating an electronic device that provides a font with a high degree of compatibility between Hangul and Chinese characters described above includes using a preselected Hangul font or a preselected Chinese character font, and at least two Hangul stroke elements and at least two Chinese character stroke element sets that match. A process of obtaining a similarity distance between attribute values may be further included.
또한, 일 예로, 상술한 한글 및 한자 간에 적합도가 높은 글꼴을 제공하는 전자장치의 동작방법은 획득된 복수의 유사도 거리 중 가장 짧은 경우의 한글 글꼴 또는 한자 글꼴을 추천 한자 글꼴 또는 추천 한글 글꼴로 판단하는 과정을 더 포함할 수 있다.In addition, as an example, the method of operating an electronic device that provides a font with a high degree of compatibility between Hangul and Chinese characters described above determines the Hangul font or Chinese character font with the shortest among the obtained plurality of similarity distances as the recommended Chinese character font or recommended Hangul font. Additional processes may be included.
여기서, 상수한 복수의 유사도 거리는 다음의 식에 기초하여 획득될 수 있다.Here, a constant plurality of similarity distances can be obtained based on the following equation.
여기서, 는 번째 한글 글꼴의 속성값이고, 는 번째 한자 글꼴의 속성값이다.here, Is This is the property value of the second Korean font, Is This is the attribute value of the second Chinese character font.
한편, 상술한 본 발명의 다양한 실시 예에 따른 한글 및 한자 간에 적합도가 높은 글꼴을 제공하는 전자장치의 동작방법은 컴퓨터로 실행 가능한 프로그램 코드로 구현되어 다양한 비 일시적 판독 가능 매체(non-transitory computer readable medium)에 저장된 상태로 프로세서에 의해 실행되도록 각 서버 또는 기기들에 제공될 수 있다.Meanwhile, the method of operating an electronic device that provides a font with high compatibility between Hangul and Chinese characters according to various embodiments of the present invention described above is implemented as a computer-executable program code and can be used on various non-transitory computer readable media. It can be provided to each server or device to be executed by a processor in a stored state (medium).
일 예로, 한글 획요소 및 한자 획요소 세트에 매칭되는 글꼴 유사도 순위 테이블을 획득하는 과정, 저장부로부터 글꼴 유사도 순위 레퍼런스 테이블을 로드하여, 글꼴 유사도 순위 레퍼런스 테이블 및 글꼴 유사도 순위 테이블 간의 순위 유사도 테이블을 획득하는 과정, 순위 유사도 테이블에 포함된 순위 유사도의 크기에 기초하여, 적어도 하나의 한글 획요소 및 한자 획요소 세트를 선택하는 과정 및 선택된 적어도 하나의 한글 획요소 및 한자 획요소 세트에 기초하여, 기선택된 한글 글꼴 또는 기선택된 한자 글꼴에 매칭되는 추천 한자 글꼴 또는 추천 한글 글꼴을 제공하는 과정을 수행하는 프로그램이 저장된 비일시적 판독 가능 매체(non-transitory computer readable medium)가 제공될 수 있다.As an example, the process of obtaining a font similarity ranking table that matches a set of Korean stroke elements and Chinese character stroke elements, loading a font similarity ranking reference table from a storage unit, and creating a ranking similarity table between the font similarity ranking reference table and the font similarity ranking table. A process of obtaining, based on the size of the rank similarity included in the rank similarity table, a process of selecting at least one set of Korean stroke elements and Chinese character stroke elements, and based on the selected set of at least one Korean stroke element and Chinese character stroke elements, A non-transitory computer readable medium storing a program that performs a process of providing a recommended Chinese character font or a recommended Korean font matching a pre-selected Hangul font or a pre-selected Chinese character font may be provided.
비 일시적 판독 가능 매체란 레지스터, 캐쉬, 메모리 등과 같이 짧은 순간 동안 데이터를 저장하는 매체가 아니라 반영구적으로 데이터를 저장하며, 기기에 의해 판독(reading)이 가능한 매체를 의미한다. 구체적으로는, 상술한 다양한 어플리케이션 또는 프로그램들은 CD, DVD, 하드 디스크, 블루레이 디스크, USB, 메모리카드, ROM 등과 같은 비일시적 판독 가능 매체에 저장되어 제공될 수 있다.A non-transitory readable medium refers to a medium that stores data semi-permanently and can be read by a device, rather than a medium that stores data for a short period of time, such as registers, caches, and memories. Specifically, the various applications or programs described above may be stored and provided on non-transitory readable media such as CD, DVD, hard disk, Blu-ray disk, USB, memory card, ROM, etc.
이상으로, 본 발명의 실시 예들이 도시되고 설명되었지만, 당업자는 첨부된 청구항들 및 그에 동등한 것들에 의해 정의되는 바와 같은 본 실시 예의 사상 및 범위를 벗어나지 않고 형태 및 세부 사항들에 있어 다양한 변경이 이루어질 수 있음을 이해할 것이다.Although embodiments of the present invention have been shown and described above, those skilled in the art will recognize that various changes in form and details may be made without departing from the spirit and scope of the present embodiments as defined by the appended claims and their equivalents. You will understand that you can.
전자장치: 200, 2900
저장부: 210,2920
프로세서: 220, 2930
통신부: 2910Electronics: 200, 2900
Storage: 210,2920
Processor: 220, 2930
Department of Communications: 2910
Claims (19)
저장부; 및
한글 획요소 및 한자 획요소 세트에 매칭되는, 복수의 한글 글꼴 및 복수의 한자 글꼴 간의 글꼴 유사도 순위 테이블을 획득하고,
상기 저장부로부터 상기 복수의 한글 글꼴 및 상기 복수의 한자 글꼴 간의 글꼴 유사도 순위 레퍼런스 테이블을 로드하여, 상기 글꼴 유사도 순위 레퍼런스 테이블 및 상기 글꼴 유사도 순위 테이블 간의 상기 한글 획요소 및 상기 한자 획요소에 대한 코사인 유사도 테이블을 획득하고,
상기 코사인 유사도 테이블에 포함된 순위 유사도의 크기에 기초하여, 적어도 하나의 한글 획요소 및 한자 획요소 세트를 선택하고,
상기 선택된 적어도 하나의 한글 획요소 및 한자 획요소 세트에 기초하여, 기선택된 한글 글꼴 또는 기선택된 한자 글꼴에 매칭되는 추천 한자 글꼴 또는 추천 한글 글꼴을 제공하는 프로세서;를 포함하는, 전자장치.
In an electronic device that provides a font with high compatibility between Hangul and Chinese characters,
storage unit; and
Obtaining a font similarity ranking table between a plurality of Hangul fonts and a plurality of Chinese character fonts matching a set of Hangul stroke elements and Chinese character stroke elements,
Loading a font similarity ranking reference table between the plurality of Korean fonts and the plurality of Chinese character fonts from the storage unit, cosine of the Korean stroke element and the Chinese character stroke element between the font similarity ranking reference table and the font similarity ranking table Obtain a similarity table,
Based on the size of the ranked similarity included in the cosine similarity table, select at least one set of Korean stroke elements and Chinese character stroke elements,
An electronic device comprising: a processor providing a recommended Chinese character font or a recommended Korean font matching the preselected Hangul font or the preselected Chinese character font based on the selected set of at least one Hangul stroke element and Chinese character stroke element.
상기 글꼴 유사도 순위 테이블은,
기정의된 한글 획요소에 대한 한글 글꼴별 속성값 및 기정의된 한자 획요소에 대한 한자 글꼴별 속성값 간에 획득된 유사도 거리를 포함하는 속성값 유사도 거리 테이블에 기초하여 획득되는, 전자장치.
According to paragraph 1,
The font similarity ranking table is,
An electronic device that is obtained based on an attribute value similarity distance table including similarity distances obtained between attribute values for each Hangul font for predefined Hangul stroke elements and attribute values for each Chinese character font for predefined Chinese character stroke elements.
상기 속성값 유사도 거리 테이블은 다음의 식에 기초하여 획득되는, 전자장치.
여기서, 는 번째 한글 글꼴의 속성값이고, 는 번째 한자 글꼴의 속성값임.
According to paragraph 2,
The electronic device wherein the attribute value similarity distance table is obtained based on the following equation.
here, Is This is the property value of the second Korean font, Is This is the attribute value of the second Chinese character font.
상기 한글 획요소는,
상투, 부리, 가지, 돌출, 꺾임, 삐침 및 꼭지점 중 하나인, 전자장치.
According to paragraph 1,
The Hangul stroke elements are,
An electronic device, one of the following: a topknot, a beak, a branch, a protrusion, a bend, a point, and a point.
상기 한자 획요소는,
가지 내리점, 꺾임빗침, 긴지침, 빗침, 가로줄기 및 빗꺾임지침 중 하나인, 전자장치.
According to paragraph 1,
The Chinese character stroke elements are,
An electronic device that is one of the following: branch down point, bent point point, long point point, point point, horizontal stem, and point point point.
상기 유사도 순위 테이블은 다음의 식에 기초하여 획득되는, 전자장치.
According to paragraph 1,
The electronic device wherein the similarity ranking table is obtained based on the following equation.
상기 프로세서는,
상기 기선택된 한글 글꼴 또는 상기 기선택된 한자 글꼴과, 상기 적어도 하나의 한글 획요소 및 한자 획요소 세트에 매칭되는 적어도 둘의 속성값 간의 유사도 거리를 획득하는, 전자장치.
According to paragraph 1,
The processor,
An electronic device that obtains a similarity distance between the pre-selected Hangul font or the pre-selected Chinese character font and at least two attribute values matching the at least one Hangul stroke element and the Chinese character stroke element set.
상기 프로세서는,
상기 획득된 복수의 유사도 거리 중 가장 짧은 경우의 한글 글꼴 또는 한자 글꼴을 상기 추천 한자 글꼴 또는 상기 추천 한글 글꼴로 판단하는, 전자장치.
In clause 7,
The processor,
An electronic device that determines the shortest Korean font or Chinese character font among the obtained plurality of similarity distances as the recommended Chinese character font or the recommended Korean font.
상기 복수의 유사도 거리는 다음의 식에 기초하여 획득되는, 전자장치.
여기서, 는 번째 한글 글꼴의 속성값이고, 는 번째 한자 글꼴의 속성값임.
According to clause 8,
The electronic device wherein the plurality of similarity distances are obtained based on the following equation.
here, Is This is the property value of the second Korean font, Is This is the attribute value of the second Chinese character font.
한글 획요소 및 한자 획요소 세트에 매칭되는, 복수의 한글 글꼴 및 복수의 한자 글꼴 간의 글꼴 유사도 순위 테이블을 획득하는 과정;
저장부로부터 상기 복수의 한글 글꼴 및 상기 복수의 한자 글꼴 간의 글꼴 유사도 순위 레퍼런스 테이블을 로드하여, 상기 글꼴 유사도 순위 레퍼런스 테이블 및 상기 글꼴 유사도 순위 테이블 간의 상기 한글 획요소 및 상기 한자 획요소에 대한 코사인 유사도 테이블을 획득하는 과정;
상기 코사인 유사도 테이블에 포함된 순위 유사도의 크기에 기초하여, 적어도 하나의 한글 획요소 및 한자 획요소 세트를 선택하는 과정; 및
상기 선택된 적어도 하나의 한글 획요소 및 한자 획요소 세트에 기초하여, 기선택된 한글 글꼴 또는 기선택된 한자 글꼴에 매칭되는 추천 한자 글꼴 또는 추천 한글 글꼴을 제공하는 과정;을 포함하는, 전자장치의 동작방법.
In a method of operating an electronic device that provides a font with high compatibility between Hangul and Chinese characters,
A process of obtaining a font similarity ranking table between a plurality of Hangul fonts and a plurality of Chinese character fonts matching a set of Hangul stroke elements and Chinese character stroke elements;
Loading a font similarity ranking reference table between the plurality of Korean fonts and the plurality of Chinese character fonts from a storage unit, cosine similarity for the Korean stroke element and the Chinese character stroke element between the font similarity ranking reference table and the font similarity ranking table Process of acquiring a table;
selecting at least one set of Korean stroke elements and Chinese character stroke elements based on the size of the rank similarity included in the cosine similarity table; and
Based on the selected set of at least one Hangul stroke element and Chinese character stroke element, providing a recommended Chinese character font or a recommended Hangul font matching a pre-selected Hangul font or a pre-selected Chinese character font; A method of operating an electronic device including; .
상기 글꼴 유사도 순위 테이블은,
기정의된 한글 획요소에 대한 한글 글꼴별 속성값 및 기정의된 한자 획요소에 대한 한자 글꼴별 속성값 간에 획득된 유사도 거리를 포함하는 속성값 유사도 거리 테이블에 기초하여 획득되는, 전자장치의 동작방법.
According to clause 10,
The font similarity ranking table is,
The operation of an electronic device obtained based on an attribute value similarity distance table including the similarity distance obtained between the attribute value for each Hangul font for a predefined Hangul stroke element and the attribute value for each Chinese character font for a predefined Chinese character stroke element. method.
상기 속성값 유사도 거리 테이블은 다음의 식에 기초하여 획득되는, 전자장치의 동작방법.
여기서, 는 번째 한글 글꼴의 속성값이고, 는 번째 한자 글꼴의 속성값임.
According to clause 11,
A method of operating an electronic device, wherein the attribute value similarity distance table is obtained based on the following equation.
here, Is This is the property value of the second Korean font, Is This is the attribute value of the second Chinese character font.
상기 한글 획요소는,
상투, 부리, 가지, 돌출, 꺾임, 삐침 및 꼭지점 중 하나인, 전자장치의 동작방법.
According to clause 10,
The Hangul stroke elements are,
A method of operating an electronic device, which is one of the topknots, beaks, branches, protrusions, bends, protrusions, and vertices.
상기 한자 획요소는,
가지 내리점, 꺾임빗침, 긴지침, 빗침, 가로줄기 및 빗꺾임지침 중 하나인, 전자장치의 동작방법.
According to clause 10,
The Chinese character stroke elements are,
A method of operating an electronic device that is one of the following: branch down point, bent point, long point, down point, horizontal stem, and down point point.
상기 유사도 순위 테이블은 다음의 식에 기초하여 획득되는, 전자장치의 동작방법.
According to clause 10,
A method of operating an electronic device, wherein the similarity ranking table is obtained based on the following equation.
상기 기선택된 한글 글꼴 또는 상기 기선택된 한자 글꼴과, 상기 적어도 하나의 한글 획요소 및 한자 획요소 세트에 매칭되는 적어도 둘의 속성값 간의 유사도 거리를 획득하는 과정;을 더 포함하는, 전자장치의 동작방법.
According to clause 10,
The operation of the electronic device further comprising; obtaining a similarity distance between the pre-selected Hangul font or the pre-selected Chinese character font and at least two attribute values matching the at least one Hangul stroke element and Chinese character stroke element set. method.
상기 획득된 복수의 유사도 거리 중 가장 짧은 경우의 한글 글꼴 또는 한자 글꼴을 상기 추천 한자 글꼴 또는 상기 추천 한글 글꼴로 판단하는 과정;을 더 포함하는, 전자장치의 동작방법.
According to clause 16,
A method of operating an electronic device further comprising: determining the shortest Korean font or Chinese character font among the obtained plurality of similarity distances as the recommended Chinese character font or the recommended Korean font.
상기 복수의 유사도 거리는 다음의 식에 기초하여 획득되는, 전자장치의 동작방법.
여기서, 는 번째 한글 글꼴의 속성값이고, 는 번째 한자 글꼴의 속성값임.
According to clause 17,
A method of operating an electronic device, wherein the plurality of similarity distances are obtained based on the following equation.
here, Is This is the property value of the second Korean font, Is This is the attribute value of the second Chinese character font.
한글 획요소 및 한자 획요소 세트에 매칭되는, 복수의 한글 글꼴 및 복수의 한자 글꼴 간의 글꼴 유사도 순위 테이블을 획득하는 과정;
저장부로부터 상기 복수의 한글 글꼴 및 상기 복수의 한자 글꼴 간의 글꼴 유사도 순위 레퍼런스 테이블을 로드하여, 상기 글꼴 유사도 순위 레퍼런스 테이블 및 상기 글꼴 유사도 순위 테이블 간의 상기 한글 획요소 및 상기 한자 획요소에 대한 코사인 유사도 테이블을 획득하는 과정;
상기 코사인 유사도 테이블에 포함된 순위 유사도의 크기에 기초하여, 적어도 하나의 한글 획요소 및 한자 획요소 세트를 선택하는 과정; 및
상기 선택된 적어도 하나의 한글 획요소 및 한자 획요소 세트에 기초하여, 기선택된 한글 글꼴 또는 기선택된 한자 글꼴에 매칭되는 추천 한자 글꼴 또는 추천 한글 글꼴을 제공하는 과정;을 포함하는, 비일시적 컴퓨터 판독 가능 매체.A non-transitory computer-readable medium storing computer instructions that, when executed by a processor of an electronic device, cause the electronic device to perform an operation, the operation comprising:
A process of obtaining a font similarity ranking table between a plurality of Hangul fonts and a plurality of Chinese character fonts matching a set of Hangul stroke elements and Chinese character stroke elements;
Loading a font similarity ranking reference table between the plurality of Korean fonts and the plurality of Chinese character fonts from a storage unit, cosine similarity for the Korean stroke element and the Chinese character stroke element between the font similarity ranking reference table and the font similarity ranking table Process of acquiring a table;
A process of selecting at least one set of Korean stroke elements and Chinese character stroke elements based on the size of the rank similarity included in the cosine similarity table; and
Based on the selected set of at least one Hangul stroke element and Chinese character stroke element, providing a recommended Chinese character font or a recommended Hangul font matching a pre-selected Hangul font or a pre-selected Chinese character font; non-transitory computer-readable, including; media.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020210102922A KR102580533B1 (en) | 2021-08-05 | 2021-08-05 | Electronic device providing fonts with a high degree of conformity between hangul and chinese characters and their operating method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020210102922A KR102580533B1 (en) | 2021-08-05 | 2021-08-05 | Electronic device providing fonts with a high degree of conformity between hangul and chinese characters and their operating method |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20230021274A KR20230021274A (en) | 2023-02-14 |
KR102580533B1 true KR102580533B1 (en) | 2023-09-19 |
Family
ID=85220724
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020210102922A KR102580533B1 (en) | 2021-08-05 | 2021-08-05 | Electronic device providing fonts with a high degree of conformity between hangul and chinese characters and their operating method |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR102580533B1 (en) |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102300444B1 (en) * | 2019-11-19 | 2021-09-09 | 주식회사 한글과컴퓨터 | Document editing device to check whether the font applied to the document is a supported font and operating method thereof |
-
2021
- 2021-08-05 KR KR1020210102922A patent/KR102580533B1/en active IP Right Grant
Non-Patent Citations (2)
Title |
---|
Kim, Hyun-Young, and Soon-Bum Lim., Analysis of the representative shape classification features of Hangul font services., Computer Standards & Interfaces 66, 2019* |
김현영, 임순범, 한글 글꼴 등록 시스템을 위한 글꼴 모양 분류체계 표준화 연구, 멀티미디어학회논문지 20.3, 2017* |
Also Published As
Publication number | Publication date |
---|---|
KR20230021274A (en) | 2023-02-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3570208A1 (en) | Two-dimensional document processing | |
US10083163B2 (en) | Completing fields in electronic documents by automatically assigning drawing input | |
US8832541B2 (en) | Method and system to convert visually orientated objects to embedded text | |
US10712908B2 (en) | Career history exercise data visualization | |
CN106250804A (en) | The document stroke storage reduced | |
KR20150082097A (en) | A cloud-based font service system | |
US10503811B2 (en) | Acquisition of a font portion using a compression mechanism | |
EP3407173B1 (en) | Input display control device, input display control method, and input display system | |
US10210141B2 (en) | Stylizing text by replacing glyph with alternate glyph | |
KR102099313B1 (en) | Art font generation method, apparatus and program performing the same | |
US20200134488A1 (en) | Method for recommending next user input using pattern analysis of user input | |
KR20240051898A (en) | Method and device for providing color fonts | |
US9245361B2 (en) | Consolidating glyphs of a font | |
JP2019028094A (en) | Character generation device, program and character output device | |
US20170103046A1 (en) | System and method for providing personalized font via processor-based application | |
KR102580533B1 (en) | Electronic device providing fonts with a high degree of conformity between hangul and chinese characters and their operating method | |
JP2017078854A (en) | Method and system of dynamically generating personalized handwriting font | |
CN112840622B (en) | Pushing method and related product | |
KR101229164B1 (en) | Method for creating individual font through network and font cloud service system | |
KR102359773B1 (en) | Method and apparatus for generating a subset of font file | |
KR101976306B1 (en) | Web page creation support device, and storage medium | |
KR101204615B1 (en) | Method for creating individual font and mobile device using thereof | |
TWI619027B (en) | Dynamically generating a personalized handwriting font system and method thereof | |
KR101719336B1 (en) | Font transforming method using meta data and system thereof | |
CN104635926B (en) | A kind of method and apparatus for including information in computer equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant |