shineware / rkomoran Goto Github PK
View Code? Open in Web Editor NEWRKOMORAN is KOMORAN wrapper for R users
License: Other
RKOMORAN is KOMORAN wrapper for R users
License: Other
EXP 모델에서 NA로 분석되는 것을 수정한 KOMORAN library로 Update 및 관련 코드 수정
메일로 리포트 받은 내용
komoran <- RKOMORAN::RKOMORAN$new(model_type = "STABLE")
komoran$get_plain_text("샤인웨어에서는 어떤 활동을 하나요?")
[1] "샤인/NNP 웨어/NNG 에서/JKB 는/JX 어떤/MM 활동/NNG 을/JKO 하/VX 나요/EF ?/SF"
komoran$get_plain_text("넌 내게 잘해준 유일한 사람이었어")
[1] "너/NP ᆫ/JX 내/VV 게/EC 잘/MAG 하/XSV 아/EC 주/VX ᆫ/ETM 유일한/NNP 사람/NNG 이/VCP 었/EP 어/EC"
komoran$get_nouns("넌 내게 잘해준 유일한 사람이었어")
[1] "유일한" "사람"
komoran$get_plain_text("구글의 신기술을 바짝 쫒아왔다.") # 간혹 형태소분석을 하지 못하는 경우 발생 -> "쫒아왔다"는 오타
[1] "구글의 신기술을 바짝 쫒아왔다./NA"
komoran <- RKOMORAN::RKOMORAN$new(model_type = "EXP")
komoran$get_plain_text("샤인웨어에서는 어떤 활동을 하나요?")
[1] "샤인웨어에서는 어떤 활동을 하나요?/NA"
komoran$get_plain_text("넌 내게 잘해준 유일한 사람이었어")
[1] "넌 내게 잘해준 유일한 사람이었어/NA"
komoran$get_nouns("넌 내게 잘해준 유일한 사람이었어")
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, :
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
komoran <- RKOMORAN::RKOMORAN$new(model_type = "EXP") # 불러올때 문제가 생기기도 합니다.
Error in rJava::.jnew("kr/co/shineware/nlp/komoran/core/Komoran", model) :
java.lang.OutOfMemoryError: Java heap space
현재는 github repository 기반으로 설치만 지원, 사용자가 편리하게 설치가능한 CRAN 저장소 배포
CRAN 배포를 위해서 단위 테스트 및 description 문서 필요
README의 Goal 섹션 및 Example 파트 필요하다면 업데이트
None
안녕하세요. R에서 코로란을 사용하고 있습니다.
근데 코모란 홈페이지(https://www.shineware.co.kr/products/komoran/) 에서의 결과와
R에서의 결과가 서로 다릅니다.
komoran <- RKOMORAN::RKOMORAN$new(model_type = "EXP")
komoran$get_plain_text("안녕하세요. 저는 ABC 입니다.")
#> [1] "안녕하세요/IC ./SF 저/NP 는/JX ABC/SL 이/NP 이/VCP ㅂ니다/EF ./SF"
입력문장 : "안녕하세요. 저는 ABC 입니다."
적용 모델 : Full 버젼
결과 : 이미지 확인 부탁드립니다.
이렇게 다른 결과가 나오는 이유를 알 수 있을까요?
감사합니다.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.