removeWords
문서 또는 bag-of-words 모델에서 선택한 단어 제거
구문
설명
는 지정된 단어를 newDocuments = removeWords(documents,words)documents에서 제거합니다. 이 함수는 기본적으로 대/소문자를 구분합니다.
는 위에 열거된 구문 중 하나를 사용하여 단어를 제거하며 대/소문자를 무시합니다.newDocuments = removeWords(___,'IgnoreCase',true)
는 newDocuments = removeWords(documents,idx)documents.Vocabulary에 있는 단어의 숫자형 또는 논리형 인덱스 idx를 지정하여 단어를 제거합니다. 이 구문은 newDocuments = removeWords(documents,documents.Vocabulary(idx))와 동일합니다.
예제
입력 인수
출력 인수
버전 내역
R2017b에 개발됨