Homepage  |  Publications  |   Software; data  |   Indicators  |   Animation  |   Geo  |   Search website (Google)


click here to download program

 

KrTitle.Exe for Co-Word Analysis using the Korean alphabet

 

KrTitle.Exe and KrText.exe are freely available for academic usage. The programs generate a word-occurrence matrix, a word co-occurrence matrix, and a normalized co-occurrence matrix from a set of lines (e.g., titles) and a word list. The output files can be read into standard software (like SPSS, Ucinet/Pajek, etc.) for statistical analysis and visualization. (An older version for 32 bits operating systems – under DOS – is available at http://www.leydesdorff.net/krkwic.)

 

input files

 

The program needs two informations, notably, (a) the name of the file <words.txt> that contains the words (as variables) to be analyzed in ASCII format and (b) a file text.txt in which each line provides a textual unit (e.g., a title). The number of lines is unlimited, but each line can at the maximum contain 999 characters. The number of words is limited to 1024, but keep in mind that most programs (e.g., Excel) will not allow you to handle more than 256 variables in the follow-up. The words have to be on separate lines. (Save in Word as plain text with CR/LF.)

 

       If some texts are larger than 999 characters, you can use KrText.exe instead. KrText.exe can handle an unlimited number of text files to a size of 64 k each; these files should be named “text1.txt”, “text2.txt”, etc.

       One can build a word frequency list with KRWords.Exe. This program reads <text.txt>; the results are provided in <wrdfrq.txt>. If a file <stopword.txt> is available in the same folder, these words will be excluded from the word frequency analysis. (The program is derived from ChiWords.exe for the Chinese character set and may not work perfectly with the Korean alphabet.)

       Words should in this version not be longer than 250 characters!

 

program file

 

The program is based on DOS-legacy software from the 1980s (Leydesdorff, 1995). It runs from the C-prompt under Windows. The programs and the input files have to be contained in the same folder. The output files are written into this directory as well. Please, note that existing files from a previous run are overwritten by the program. Save output elsewhere if you wish to continue with the materials.

 

output files

 

The program produces three output files in dBase IV format. These files can be read into Excel and/or SPSS for further processing. Two files with the extension “.dat” are in DL-format (ASCII) and can be read into Pajek for the visualization (freely available at http://vlado.fmf.uni-lj.si/pub/networks/pajek/ ).

 

a. matrix.dbf contains an occurrence matrix of the words in the texts. This matrix is asymmetrical: it contains the words as the variables and the texts as the cases. In other words, each row represents a text in the sequential order of the text numbering, and each column represents a word in the sequential order of the word list. The words are counted as frequencies. This file can be imported into SPSS for further analysis. Words.Txt can be used for the variable labels. The programs also generate varlist.sps using the SPSS syntax for this purpose.

 

b. coocc.dbf contains a co-occurrence matrix of the words from this same data. This matrix is symmetrical and it contains the words both as variables and as labels in the first field. The main diagonal is set to zero. The number of co-occurrences is equal to the multiplication of occurrences in each of the texts. (The procedure is similar to using the file matrix.dbf as input to the routine “affiliations” in UCINET, but the main diagonal is here set to zero in this matrix.) The file coocc.dat contains this information in the DL-format.

 

c. cosine.dbf contains a normalized co-occurrence matrix of the words from the same data. Normalization is based on the cosine between the variables conceptualized as vectors (Salton & McGill, 1983). (The procedure is similar to using the file matrix.dbf as input to the corresponding routing in SPSS.) The file cosine.dat contains this information in the Pajek-format. The size of the nodes is equal to the logarithm of the occurrences of the respective word; this feature can be turned on in Pajek.

 

Examples of using these programs can be found in:

 

•     Han Woo Park & Loet Leydesdorff. Understanding KrKwic: A computer program for the analysis of Korean text. Journal of the Korean Data Analysis Society 6(5), October 2004, pp. 1377-1387 <pdf-version Acrobat 6>

     Loet Leydesdorff & Iina Hellsten, Metaphors and Diaphors in Science Communication: Mapping the Case of ‘Stem-Cell Research’, Science Communication 27(1)  (2005), 64-99. <pdf-version>

  

References

Leydesdorff, L. (1995). The Challenge of Scientometrics: The development, measurement, and self-organization of scientific communications. Leiden: DSWO Press, Leiden University; at http://www.upublish.com/books/leydesdorff-sci.htm .

Salton, G. & M. J. McGill (1983). Introduction to Modern Information Retrieval. Auckland, etc.: McGraw-Hill.

click here to download program

 

return to home page