Comments (12)
확인해보니 scala-library를 2.11.5로 변경해도 에러메시지가 사라지지 않고, 2.12.0으로 올리니 없어졌습니다.
from twitter-korean-text.
스칼라 안정된 최신 버전은 2.11.7인데요, 그 버전을 써도 될까요?
from twitter-korean-text.
지금 2.11.7로 확인해보니 같은 에러메시지가 발생합니다.
from twitter-korean-text.
TwitterKoreanProcessorJava.tokensToJavaKoreanTokenList(tokens)이 자바 Token으로 바꾸어주기 때문제 가장 좋은 방법인 것 같습니다.
from twitter-korean-text.
scala-test가 아직 2.11 버전용 밖에 없어서 2.12로는 못 올릴 것 같습니다. ㅠㅜ
from twitter-korean-text.
그러면 KoreanTokenJava에 getter를 추가해주실 수 있으신가요?
말씀하신
TwitterKoreanProcessorJava.tokensToJavaKoreanTokenList(tokens)
를 사용하면, List<KoreanTokenJava>가 반환되는데요, KoreanTokenJava에는 getter가 없어서, 토큰의 KoreanPosJava pos를 읽어올 수 없습니다.
from twitter-korean-text.
KoreanTokenJava.getPos()를 만들어 놓은 것 같은데요, 다른 것이 필요한가요?
from twitter-korean-text.
이미 구현되어 있군요!
제가 README에 있는 4.0 버젼을 바라보고 있어서 그런 것 같습니다.
4.1.3으로 올려서 진행해보겠습니다.
from twitter-korean-text.
https://github.com/twitter/twitter-korean-text/pull/75/files 코드 리뷰 부탁드립니다.
from twitter-korean-text.
4.1.3으로 올려서 getter 확인 했습니다.
빠르게 답 주셔서 감사합니다!
from twitter-korean-text.
getter가 있어서, KoreanTokenJava의 별도 구현은 필요하지 않을 것 같습니다.
이 이슈도, 사실 KoreanTokenJava의 별도 구현 과정에서 발생한 이슈이기 때문에,
만약 (유닛테스트를 실패한다거나 하는) 문제가 발생한다면, scala-library의 버젼을 올리지 않으셔도 될 것 같습니다!
from twitter-korean-text.
감사합니다. 마침 트위터에서도 스칼라 버전을 업그레이드하기로 해서 2.11 버전이 필요하던 터였습니다. :)
from twitter-korean-text.
Related Issues (20)
- Update the contribution guide
- Scala 2.12 support HOT 1
- OOM Issue HOT 1
- java.util.regex.PatternSyntaxException: Look-behind pattern matches must have a bounded maximum length near index 9 HOT 7
- I want to add user-dictionary. is it possible?? HOT 1
- Trying to build using Scala IDE (Scala version: 2.12.3) HOT 2
- 한국말
- % should not be detached from the preceding number in the phrase extractor
- Some characters are classified as a foreign, but I think these would be a punctuation. HOT 2
- Hashtag classifying issue HOT 4
- slf4j-nop needs a non-default scope HOT 2
- [Bug] tokenization solutions is sometimes empty. HOT 4
- Add more comprehensive error messages with inputs
- TwitterKoreanProcessor.tokenize occasionally returns empty tokens. or stem throws head of empty list HOT 9
- Implement detokenization HOT 2
- Detokenizer throws exception with certain inputs HOT 1
- Allow user dictionary
- Tokenizer throws exception with certain input HOT 1
- Wrong stemming : A rule does not obey the spelling system HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twitter-korean-text.