Skip to content
Browse files

remove doKoMorph functions

  • Loading branch information...
1 parent fae4a28 commit 5327dfef0dc2af36b591ee0293a6d0dd3fabd0b6 gogamza committed Nov 6, 2012
Showing with 27 additions and 24 deletions.
  1. +1 −1 DESCRIPTION
  2. +0 −1 NAMESPACE
  3. +4 −0 NEWS
  4. +22 −22 R/koAnalyzerRun.R
View
2 DESCRIPTION
@@ -7,7 +7,7 @@ Description: Korean language processing package. Morphological analyzer, POS
tagger, Keystroke converter, Hangul automata...
SystemRequirements: Java (>= 1.6)
URL: https://github.com/haven-jeon/KoNLP
-Version: 0.76.7
+Version: 0.76.8
Repository: CRAN
Date/Publication: 2011-10-12 07:49:45
Packaged: 2011-10-12 20:53:27 UTC; gogamza
View
1 NAMESPACE
@@ -1,7 +1,6 @@
export(backupUsrDic)
export(convertHangulStringToJamos)
export(convertHangulStringToKeyStrokes)
-export(doKoMorph)
export(extractNoun)
export(HangulAutomata)
export(is.ascii)
View
4 NEWS
@@ -1,3 +1,7 @@
+Version 0.76.8
+------------------------------------------------------------------------------
+ * remove unused functions.
+
Version 0.76.7
------------------------------------------------------------------------------
* function to view summary of dictionary using statDic().
View
44 R/koAnalyzerRun.R
@@ -18,28 +18,28 @@
-#' morphlogical analysis function for Hangul
-#'
-#' morphlogical analyze the sentence uses lucene korean analyzer.
-#' Example will be shown in \href{https://github.com/haven-jeon/KoNLP/wiki}{github wiki}.
-#'
-#' @param sentence input
-#' @return stem of sentence
-#'
-#' @export
-doKoMorph <- function(sentence){
- warning("This function will be deprecated.\n We suggest 'MorphAnalyzer()' to use.")
- if(!is.character(sentence) | nchar(sentence) == 0) {
- stop("Input must be legitimate character!")
- }else{
- if(!exists("KoMorphObj", envir=KoNLP:::.KoNLPEnv)){
- assign("KoMorphObj",.jnew("Ko"),KoNLP:::.KoNLPEnv)
- }
- out <- .jcall(get("KoMorphObj",envir=KoNLP:::.KoNLPEnv), "[S", "KoAnalyze", sentence)
- Encoding(out) <- "UTF-8"
- return(out)
- }
-}
+# morphlogical analysis function for Hangul
+#
+# morphlogical analyze the sentence uses lucene korean analyzer.
+# Example will be shown in \href{https://github.com/haven-jeon/KoNLP/wiki}{github wiki}.
+#
+# @param sentence input
+# @return stem of sentence
+#
+# @export
+#doKoMorph <- function(sentence){
+# warning("This function will be deprecated.\n We suggest 'MorphAnalyzer()' to use.")
+# if(!is.character(sentence) | nchar(sentence) == 0) {
+# stop("Input must be legitimate character!")
+# }else{
+# if(!exists("KoMorphObj", envir=KoNLP:::.KoNLPEnv)){
+# assign("KoMorphObj",.jnew("Ko"),KoNLP:::.KoNLPEnv)
+# }
+# out <- .jcall(get("KoMorphObj",envir=KoNLP:::.KoNLPEnv), "[S", "KoAnalyze", sentence)
+# Encoding(out) <- "UTF-8"
+# return(out)
+# }
+#}
#' Noun extractor for Hangul
#'

0 comments on commit 5327dfe

Please sign in to comment.
Something went wrong with that request. Please try again.