Comments (7)
i will search the available resources.
from redpen.
i will make a prototype following the page below.
http://stackoverflow.com/questions/2294915/what-algorithm-gives-suggestions-in-a-spell-checker
from redpen.
One idea of the implementation would be introduce Preprocessor interface to sum up the information of word frequencies. The interface would be as follows.
SentencePreprocessor(sentence)
The validators which need preproces implements the SentencePreprocessor interface's preprocess(sentence) method.
The main drawback of this implementation is the testing. When we test the validator implements the Preprocessor interface, the tests need to whole document twice....
from redpen.
The Validator with Preprocess interface needs the environments easy to build document and easy to config DocumentValidator. Therefore i will try this issue after #107 and #144.
from redpen.
Maybe PostProcessor is a better idea than preprocessor. After all the sentence iteration is over, the postProcess is called.
postProcess()
from redpen.
Add preprocess instead of postprocess.
from redpen.
Fixed with #217.
from redpen.
Related Issues (20)
- Build Error in JDK 11 HOT 1
- TryGraalVM
- Release 1.10.2 has only Source code files HOT 3
- Input format option for Jupyter Notebook HOT 4
- Build failed on latest environment HOT 5
- Strange CommaNumber result
- SuccessiveWord treats punctuation as words
- Link to android app is dead
- errors (<<< ERRORs) throughout the ui.RedPenDemoTest HOT 1
- Question or Feature Request: redpen output plain with filepath for filename HOT 8
- Fix CI failure HOT 1
- Support Korean language again
- release artifact question HOT 4
- Kanji is not displayed correctly in Formatter
- nestingLevel is not decremented in ParenthesizedSentenceValidator
- Detected as a string instead of a word in SuggestExpressionValidator
- Mismatched number of embeds in message
- FrequentSentenceStart in AsciiDoctor
- Spell checking does not seems to work
- The official documentation does not mention --threshold
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 redpen.