"R stopwords()"의 두 판 사이의 차이

 
(같은 사용자의 중간 판 7개는 보이지 않습니다)
6번째 줄: 6번째 줄:
stopwords(kind = "en")
stopwords(kind = "en")
</source>
</source>
{{소스헤더|예시}}
 
<source lang='r'>
==예시==
<source lang='r' run>
library("tm")
stopwords("en")
stopwords("en")
##  [1] "i"          "me"        "my"        "myself"    "we"        "our"        "ours"      "ourselves"  "you"        "your"     
## [11] "yours"      "yourself"  "yourselves" "he"        "him"        "his"        "himself"    "she"        "her"        "hers"     
## [21] "herself"    "it"        "its"        "itself"    "they"      "them"      "their"      "theirs"    "themselves" "what"     
## ...
## [151] "when"      "where"      "why"        "how"        "all"        "any"        "both"      "each"      "few"        "more"     
## [161] "most"      "other"      "some"      "such"      "no"        "nor"        "not"        "only"      "own"        "same"     
## [171] "so"        "than"      "too"        "very"     
</source>
</source>
<source lang='r'>
<source lang='r' run>
stopwords("SMART")
library("tm")
head(stopwords("SMART"))
</source>
</source>
<source lang='r'>
<source lang='r' run>
stopwords("german")
library("tm")
head(stopwords("german"))
</source>
</source>


==같이 보기==
==같이 보기==
* [[불용어]]
* [[불용어]]
* [[R removeWords()]]


==참고==
==참고==

2020년 2월 28일 (금) 01:55 기준 최신판

1 개요[ | ]

R stopwords()
Usage
stopwords(kind = "en")

2 예시[ | ]

library("tm")
stopwords("en")
library("tm")
head(stopwords("SMART"))
library("tm")
head(stopwords("german"))

3 같이 보기[ | ]

4 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}