nikialeksey / arspell Goto Github PK
View Code? Open in Web Editor NEWResources spell testing library
License: GNU General Public License v3.0
Resources spell testing library
License: GNU General Public License v3.0
val errors = DictionaryCheck(
HunspellDictionary(
Hunspell(
"./src/test/assets/en_US/index.dic",
"./src/test/assets/en_US/index.aff"
)
),
SimpleStrings(
listOf(
SimpleString("percent", "13%")
)
)
).check()
Assert.assertTrue(ErrorMessage(errors).asString(), errors.isEmpty())
<string name="empty_vouchers_list">Пока чеков нет :(\nВоспользуйтесь сканером, чтобы загрузить свой первый чек и получить по нему кэшбэк</string>
:
java.lang.StringIndexOutOfBoundsException: String index out of range: 77
at java.lang.String.substring(String.java:1963)
at com.nikialeksey.arspell.checks.LanguageToolError.word(LanguageToolError.kt:15)
at com.nikialeksey.arspell.ErrorMessage$asString$1.invoke(ErrorMessage.kt:10)
at com.nikialeksey.arspell.ErrorMessage$asString$1.invoke(ErrorMessage.kt:3)
at kotlin.text.StringsKt__StringBuilderKt.appendElement(StringBuilder.kt:58)
at kotlin.collections.CollectionsKt___CollectionsKt.joinTo(_Collections.kt:2274)
at kotlin.collections.CollectionsKt___CollectionsKt.joinToString(_Collections.kt:2291)
at kotlin.collections.CollectionsKt___CollectionsKt.joinToString$default(_Collections.kt:2290)
at com.nikialeksey.arspell.ErrorMessage.asString(ErrorMessage.kt:10)
https://github.com/vsch/flexmark-java - this one may be helpful, vsch/flexmark-java#63 - about getting plain text from markdown
The puzzle 9-bfa04699
from #9 has to be resolved:
Line 8 in 7c23ade
The puzzle was created by Alexey Nikitin on 20-Nov-18.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.
https://github.com/shuyo/language-detection/blob/wiki/ProjectHome.md - langdetect may be useful
https://search.maven.org/artifact/com.youcruit.com.cybozu.labs/langdetect/1.1.2-20151117/jar - maven central latest artifact
java.lang.AssertionError: Key: enter_correct_email, word: e, suggests: [], Key: enter_correct_email, word: mail, suggests: []
Or, may be, how to add a concrete Hunspell dictionary to JLanguageTool?
https://forum.languagetool.org/t/is-there-support-to-add-custom-words-to-the-existing-dictionary/196/4 - relatevely thread
The puzzle 10-5781f6ef
from #10 has to be resolved:
Line 91 in 74b3dc3
The puzzle was created by Alexey Nikitin on 25-Nov-18.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.
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.