TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Exploring Kotlin, writing a simple spell checker

18 点作者 rickette大约 13 年前

3 条评论

rabbitfang大约 13 年前
The Scala code for the same task gets the job done in half as many lines: <a href="http://capecoder.wordpress.com/2012/04/15/spellchecker-in-scala-vs-kotlin/" rel="nofollow">http://capecoder.wordpress.com/2012/04/15/spellchecker-in-sc...</a>
评论 #3844434 未加载
gleenn大约 13 年前
Nice example. I like Scala, but its a huge leap from Java. Kotlin clearly tries to mitigate this while still having some nice terseness which Scala also fails at. Hopefully Kotlin will get some traction.
purzelrakete大约 13 年前
on a somewhat unrelated note, you can write a noisy channel model spell checker with a lot more data and a bit more code: <a href="http://norvig.com/spell-correct.html" rel="nofollow">http://norvig.com/spell-correct.html</a>