Keyword Relation Analysis Using Concept Graph Toward Automatic Categorization of Online Novels
Authors
Abstract
Contents of user-generated media (UGM) such as YouTube are popular in recent years. The authors are interested in online novel services as a UGM on the Web. A large number of novels are being uploaded, and a few novels become major. Because there are no professional editor or no trained librarian concerning to UGM, neither quality evaluation nor categorization of UGM contents is clear. Moreover, the creator of a novel gives keywords without control, and they often generate new words, then it is difficult to use keyword for categorization. Toward automatic categorization, we have to understand relation between keywords. In this paper, we focused on analysis of keywords relation using concept graph. The concept graph is based on statistical analysis of word frequency and co-occurrence. We also show several interesting relations on concept graph.
Introduction
Contents of user-generated media (UGM, for short) such as YouTube are popular in recent years. Online novel sharing service, which is a UGM on Web, becomes popular and a large number of novels are being uploaded. We are interested the site "sy-osetu.com" in Japan [1] as the research target of this paper, and this site contains more than 14 million online novels as of September 2012 and is still drastically increasing the number of contents and readers. The number of contents is also increasing in the site of "qidian.com" of China [2] , as same as Japan. Most of online novels are written by amateur writers and might not be good quality. However, there are a few high quality novels, and high quality novel is published as a paper book or e-book from major publisher.
We have been interesting in recommendation and categorization of UGM contents, such as movies [3] , and scientific papers [4] . We also proposed a ranking method of the online novels based on viewer's bookmarks [5] . We applied a faceted analysis of documents [6, 7] as a part of categorization research.
In this paper, we focus on categorization of online novels. Compared with traditional printed books, it is difficult to classify the online novels in syosetu.com. In the case of traditional printed books, professional editors assure the quality of books at the time of publishing. Trained librarians gave appropriate category words to each book. Category words are from a controlled vocabulary set. Trained librarians select words of controlled vocabulary, and each word is assigned at a tree structure. The tree structure describes semantic hierarchy. There is little fluctuation for categorization.
On the other hand, there is no professional editor or no trained librarian concerning to UGM, neither quality evaluation nor categorization of UGM contents is clear. Most online novel authors are amateurs. They are not trained in scripting, and do not know the controlled vocabulary used for categorization. The author may freely give keywords to their novel, some of which are not suitable as classification words. For example, a fantasy novel, like Harry Potter by J. K. Rowling, is given "history" as a keyword. Moreover, they often generate new keywords, which is not referred on dictionary.
A tag cloud is useful for finding a major tag (keyword) from not so many keywords. However, when the number of contents is huge, then the number of keywords also becomes very huge. It is impossible to take a glance at minor keywords on tag cloud. Actually, more than 90 thousand unique keywords exist for 140 thousand contents in syosetu.com. Clustering or hierarchical structure are necessary for massive contents automatic categorization.
Toward automatic categorization, we have to understand relation between keywords. In this paper, we focused on analysis of keywords relation using concept graph [8, 9] . Concept graph is based on statistical analysis of word frequency and co-occurrence. We also show several interesting relations on concept graph.
The composition of this paper is as follows. In section 2, we briefly describe some statistical data of syosetu.com, such as number of novels, readers, and keywords. Section 3 describes classification methods. We compare taxonomy, folksonomy, and fluxonomy. Section 4, describes the definition of concept graph. In section 5, we show some interesting results of concept graph analysis. We conclude this paper in section 6.
Ii. Statistics Of Syosetu.Com
This section shows some statistics of syosetu.com, and illustrates an example of metadata of a novel. Table I shows the number of novels, registered readers, and writers on syosetu.com. Fig. 1 shows the number of monthly novel posts. It is clear that the number of contents is drastically increasing. The author defines the title, the author's name, the genre, keywords and the synopsis as metadata, when he/she posts a novel. Genre has to be chosen from 15 genre words provided by the site manager. The author can choose arbitrary keywords freely with a limited length. The synopsis can be described as he/her wishes with a limited length. Table II shows the number of metadata files, unique keywords, and co-occurred keyword pair as of September 2012. We use the symbols D, W and P to represent the following data sets for convenient. The number of elements of D is equal to the all posted and novels in syosetu.com. W is the set of the unique keyword, which appeared in the keyword column of the metadata. P is the set of keyword pair, which co-occurred in the keyword column.
Iii. Classification
This section describes several classification and categorization technics.
A. Taxonomy
Controlled vocabulary [10] is a carefully selected list of words and phrases, which are used to tag units of document or work. For instance, the society of ACM (association for computing and machinery) defined a controlled vocabulary named the ACM computing classification system [11] . Author must give a word and the number of a subject to the article. They may be more easily retrieved by a search, and classification of articles. Because scientific and technology articles are written by well-educated researcher, and research discipline are well defined, then controlled vocabulary is useful for classification of scientific and technology articles.
Academic society and community update name of research subject.
A library classification [12] is a system of coding, assorting and organizing documents, library materials or any information according to their subject and allocating a call number to that information resource. In Japan, there is NDC (Nippon Decimal Classification), and librarian in a library gives a code to a book.
However, controlled vocabulary and library classification may not be useful for classification of online novels. Most online novel authors are amateurs, and the author may freely give keywords to their novel. Moreover, they often generate new words and acronyms, which dot not recorded on dictionary, such as chearem 1 , TS 2 , and VRMMO 3 .
WordNet [13] is a large lexical database of English. Nouns, verbs, adjectives and adverbs are grouped into sets of cognitive synonyms (synsets), each expressing a distinct concept. Synsets are interlinked by means of conceptualsemantic and lexical relations. WordNet is useful for natural language understanding. However, it may not be useful for classification of online novels.
B. Folksonomy
A folksonomy is a system of classification derived from the practice and method of collaboratively creating and managing tags to annotate and categorize content [14] . Folksonomy, by Thomas Vander Wal, is a portmanteau of folk and taxonomy.
Li and others [15] used ISR (inter section ratio) to extract semantic hierarchy of tags (keywords) from a large number of social bookmarked web pages. Let x and y be a word, and df(x) be the document frequency of the word x. ISR is defined as follows:
EQUATION (2): Not extracted; please refer to original document.
The df(x * y) is the document frequency of x and y, that is the number of documents which has x and y in keywords, and this is equal to |D(x, y)|.
For example, let us consider two words "Google" and "gmaps". If most documents, which are given "gmaps", are also given "Google" as keyword, but if a small number of documents, which are given "Google", are given "gmaps" as keyword, then it is possible to infer that "gmaps" is a subword of "Google".

Symbol | # of elements | Description |
---|---|---|
D | 148,278 | The set of novel metadata. |
W | 90,052 | The set of unique keywords. |
P | 1,022,788 | The set of pair of co-occurred keywords. |
If you calculate ISR of all co-occurred words, then you get partial ordered set of words. Let a word be a node and let a partial order be a directed edge, and then you get a directed acyclic graph. The graph may represent the semantic hierarchy of words. However, there are so many edges in the graph that it is difficult to understand relation of nodes (words). As shown in table 2, the number of keywords is about 0.9 million, and the number of co-occurred word pair 1 Chearem is a portmanteau of cheat and harem 2 Trans Sexual 3 Virtual Reality Massive Multi-player Online-game is more than 1 million, then the graph size becomes so huge graph. If you cut off low frequency word, as shown in table 3, there are still more than 6 thousand words.
C. Fluxonomy
Fluxonomy is a portmanteau of fluxion and taxonomy. Hamano [16] introduced a tag selection system on nicovideo.jp. Nicovideo.jp is a YouTube like UGM, and it is popular in Japan. User can give at most ten tags to a movie. On nicoviddeo.jp, anybody can edit (delete and add) tags of a movie. Some tags are survive long time, but most tags are deleted soon. If audiences adopt a tag, then it is used long time. But if they don't adopt, then the tag is deleted. So, tags of nicovideo.jp are not fixed, but stable eventually. He found that the tag selection mechanism is similar with natural selection of biological existence.
Iv. Concept Graph
To realize automatic categorization of huge amount of online novels, clustering and extraction of semantic hierarchy are necessary. Toward automatic categorization, we have to understand relation between keywords. To analyze keywords relation, we use concept graph [8, 9] .
Concept graph is a directed acyclic graph of words introduced in [8] . It is a formulation of hypernym/hyponym relation of words according to frequencies. Let D(q) be the set of documents that satisfy the query q. A word u is a hypernym of v with respect to D(q) when they satisfy the following two conditions:
EQUATION (3): Not extracted; please refer to original document.
EQUATION (4): Not extracted; please refer to original document.
where, the α in equation 4is threshold. Hypernym/hyponym relation determines an order structure among characteristic words and can be drawn as a directed acyclic graph. However, some words have too many hypernym and the graph may contain edges overlapped each other. To obtain more clear structure, we define "direct upper/lower" relation between words. Given a word v, the set UP(v) of upper words of v, and the set DUP(v) of direct upper words of v are defined as follows:
UP(v) = {u ∈ D(q) | u is a hypernym of v} , (5) DUP(v) = {u ∈ UP(q) | ∀w ∈ UP(v), u ∈ UP(w)} . (6)
A hypernym u of v is a direct upper hypernym when there are no other hypernym of v between u and v. Visualization of a Concept Graph can be obtained by placing words of high frequencies on the left sides and ones with lower frequencies on the right sides. Thus a directed edge looks like an arrow from right to left.
A. The Data Set
The row data shown in table II includes so many words, and then we cut off low frequency words. Table III shows the data set, which we used in this analysis. The cut off threshold of frequency is five. The set of novel metadata, which has at least one keyword.
W 6,484
The set of keywords, which appear more than 5.
P 36,804
The set of pair of co-occurred keywords, which co-occur more than 5.
B. Keyword Relation Analysis
To evaluate effectiveness of concept graph for analysis of keyword relation, we checked some words. We show some cases of graph-based analysis.
1) Case 1: Efficient of threshold α α in equation 4is the threshold to cut off edges. If the probability of co-occurrence of two words u and v is less than α , u and v are not linked in the concept graph. If there is no link to v, then node of word v does not appear on the graph. The larger value you set to α , the less number of nodes is appearing.

To find suitable value for α , we set some values to α , and looked at the concept graph output as a result. Fig. 4 shows two concept graphs for query 'war'. The word 'war' is a high frequency word, and df('war')=2778. α is 0.2 in upper graph of Fig. 5 , and α is 0.1 in lower one.

As shown in Fig. 4 , lower one displays suitable relation of words. We checked other graphs for other queries, and then we judged that suitable value of α is 0.1 for keyword relation analysis.
2) Case 2: Concept graph of 'war' (α =0.1) Fig. 5 shows the detail of the lower concept graph in Fig. 4 . In the graph, we set the α as 0.10. The graph shows interesting four parts. The area, marked with (1) in Fig. 5 , forms a straight line without any splitting branch. It includes "army, fictitious war, SF, nation, race, and record of war". These words are general words, and easy to understand semantic relation.
Left (lower) graph consists with three parts, and we labeled them as (2), (3) and (4) . Part (2) may explain modern weapons and arms in 20 century. Part (3) shows 'middle age', 'history', 'world war II', and 'warring states period (in Japan)'. Oda-Nobunaga (1534-1582) is a famous and popular war load in the period of Japan. Part (3) illustrates that there are some historical novels, and keywords are classified into the part. Part (4) shows future fictional words, such as "robot, space and hi-tech". They may show that some SFs (scientific fictions) are uploaded to syosetu.com, and keywords of SF are classified into part (4) .
3) Case 3: Concept Graph Of 'Game'
Frequency of 'game' is 455. So this word is a middle class frequency word. And novelization of computer game is a popular in syosetu.com. Computer game based novels have their origins in major game novels such as "Sword Art Online 4 " and "Log Horizon 5 ". Fig. 6 shows the concept graph of 'game'. We also labeled the interesting areas of the graph. First area is just below the root, which we labeled (1). It includes "cruel, fantasy, R15, high school student, and another world". These words are general words in syosetu.com. 'Cruel' and 'R15' are warning keywords, they are is used as filter.
Left (lower) part consists with three parts, and we labeled them with (2), (3) and (4) . Part (2) may shows mystery and horror. Part (3) has "RPG (role playing game), sword, VRMMO (virtual reality massive multi-player online game)". Part (4) may explain novels, which is based on SF (science fiction) and war games.
C. Discussion
As shown in Fig. 5 and 6, concept graph extracts semantic relations of low frequency keywords. However, relations of high frequency keywords are not good. In Figure 5 , the word 'war', which is near to the label (4), is placed to low node for 'game'. df('war')=2778, and df('game')=455, then 'war' should be upper word for 'game'.
The reason is clear that according to the equation (4), concept graph is generated for query q. In case 3, query is 'game', then the graph in Fig. 6 is generated for D('game').
For automatic categorization of all contents, we need the concept graph for all documents D. It includes the whole keywords, and the whole edges of hypernym/hyponym relation.
Vi. Conclusion
Online novel become popular in recent years. Because a lot of contents are archived in UGM service, search engine plays an important role to find good contents and automatic categorization. In this paper, we apply concept graph analysis to the keywords of online novels. Concept graph extracts semantic relations of keywords.
In the future, we will generate the concept graph for all documents. And we want to compare concept graph and other clustering.
query&=&"war",&alpha&=&0.2 query&=&"war",&alpha&=&0.1
SECTION
Sword Art Online, ISBN-10: 4048677608 5 Log Horizon, ISBN-10: 4047271454