-
안녕하세요.
예전에 이 부분에 대해 질문했던 적이 있는데 문제가 여전히 있어서 다시 글 남깁니다.
1. GPU 버전 에러
python models/ ...
이 코드를 GPU 버전에서 실행하면 다음과 같은 에러가 발생합니다.
ImportError: No module named 'numpy.core._multiarray_umath'
Impor…
-
konlpy okt 사전 추가 방법
------
- okt에 신규 단어를 추가하는 방법을 알아봅니다.
- https://github.com/konlpy/konlpy/issues/249
-
안녕하세요.
아래와 같이 MODEL_WITH_LM_HEAD_MAPPING 가 없다고 에러 나는데요.
어떻게 해야 하나요?
tf-docker ~/huggingface_konlpy > python examples/run_konlpy_bert.py \
> --output_dir=output \
> --overwrite_output…
-
❯ docker container run -it --name app app
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/konlpy/tag/_mecab.py", line 108, in __init__
self.tagger = Tagger('-d…
-
현재 함수 연쇄 호출 활용은, 동사로 선언되지 않아도 함수의 이름이 `~다`로 끝나기만 하면 가능합니다. 극단적인 예시이긴 하지만 `함수 바다`를 선언해도 `바고`라는 활용이 된다는 뜻입니다. 이를 방지하기 위해서 다른 언어의 type checker에 해당하는 품사 체커를 만들 필요성이 있습니다.
-
안녕하세요 간단하게 Okt API 테스트를 해보려고 하는데 다음과 같은 에러가 발생합니다.
현재 ubuntu 18.04 에서 진행하고 있고 python 3.6.9 / konlpy 0.5.1 / openjdk version "1.8.0_265" 버전 사용 중입니다.
>>> from konlpy.tag import Okt
>>> okt = Okt()
…
-
안녕하세요. konlpy 설치와 8시간 정도 싸우다가 상황이 악화만 되서 질문을 여기저기 하고 있는 컴알못입니다! 깃허브도 알게 된지 얼마 안 됐고 그냥 질문을 올려도 되는 곳인지 잘 모르겠네요..? 문제되면 삭제하겠습니다. 자연어 처리를 위해 konlpy를 anaconda(window)로 설치하고 싶은데 계속 실패해서 질문드립니다 ㅠ.
konlpy …
-
안녕하세요.
아래와 같이 Mecap 설치를 완료하였습니다.
직접 import하여 객체 생성을 하려고 하는데 제목과 같은 Error가 발생하네요.
1. Mebcap 설치 완료.
wget https://bitbucket.org/eunjeon/mecab-ko/downloads/mecab-0.996-ko-0.9.2.tar.gz
ta…
-
## 📸 코드
```python
import faiss
from sklearn.feature_extraction.text import TfidfVectorizer
from tqdm.auto import tqdm
import pandas as pd
import pickle
import json
import os
import numpy as np
fr…
-
처음으로 konlpy를 사용해보는 거라 처음부터 에러가 나와서 좀 당황했었습니다..
코드는 간단히 여러 리뷰가 있는 파일을 가져와서 태그들 뽑아보는 거였는데요;
```
from konlpy.tag import Okt
import pandas as pd
okt = Okt()
data = pd.read_csv('파일경로', columns=['…
ghost updated
4 years ago