Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoSuchElementException thrown in KoreanStemmer.scala #82

Open
jeanfrancisroy opened this issue Feb 17, 2021 · 0 comments
Open

NoSuchElementException thrown in KoreanStemmer.scala #82

jeanfrancisroy opened this issue Feb 17, 2021 · 0 comments

Comments

@jeanfrancisroy
Copy link

While using the stemmer with real-life data, we get the following exception thrown:

Caused by: java.util.NoSuchElementException: key not found: 싶��
	at scala.collection.MapLike.default(MapLike.scala:235)
	at scala.collection.MapLike.default$(MapLike.scala:234)
	at scala.collection.AbstractMap.default(Map.scala:63)
	at scala.collection.MapLike.apply(MapLike.scala:144)
	at scala.collection.MapLike.apply$(MapLike.scala:143)
	at scala.collection.AbstractMap.apply(Map.scala:63)
	at org.openkoreantext.processor.stemmer.KoreanStemmer$.$anonfun$stem$2(KoreanStemmer.scala:44)

I am not sure what causes this issue, can you help investigating further?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant