mortenjust / cleartext-mac Goto Github PK
View Code? Open in Web Editor NEWA text editor that will help you write clearer and simpler
License: GNU General Public License v3.0
A text editor that will help you write clearer and simpler
License: GNU General Public License v3.0
Pls excuse my ignorance, but I don't c any way to make the application work.
I pasted text into the application, but nothing happens, and I can't find a command that makes the simplier work.
version 2.45 claims to be version 1.45 when selected in the Finder
While not one of the most commonly used words overall, HUGE is very commonly used by Trump.
Do you guys have any plans to launch this for windows?
I would like to be able to change the background image or remove it.
Thanks.
I am having trouble learning how to make a document-based application and found this. Am I allowed to use small snippets of code to help me read and write data?
The background image initially appears in the en
locale, but with a different opacity than in Trump
Switching to Trump
and back fixes this.
Could you please add a license so contributors are clear about their contributions.
Currently names are rejected. Words beginning with a capital letter should be allowed.
Example: "Yesterday Patrick said to me..."
Issue: Patrick is rejected. Proper names are rejected.
Desired result: words that are capitalized should be excluded from the rejection behavior.
Hi - I didn't see a licence on the project - I was hoping to make use of the en.txt file - are you retaining a licence on it?
Joe
https://1000mostcommonwords.com/1000-most-common-english-words/ I see tool on this list of common words. Why is it not allowed?
For example, the infinitive 'zijn' is in the list, but the 1st person "ben", is not.
"Wrong" words do not make a sound and do not get immediately removed as shown in the demonstration. They just get highlighted. (1.0 and 1.2pre)
I plan on using this to simplify text in English before I translate it to another language (Tagalog).
I would like to be able to add a selected word to the 1000 list.
Hey Morten,
first of all thank you for the project. Nice work! ๐
I have observed some mismatches between the given license of the project and the stated license of the code (mostly the .swift files). In the .swift files it is stated that "all rights reserved" whereas in the License.txt you pasted the GPLv3. My question would be, under what terms i can improve and share your work?
Thanks again and best regards,
Tim
Right now, the document ends up with a bunch of abandoned spaces to the right of the text input pointer because Cleartext selects only the word, and not the space that triggered the isSimple check. Writing would be much faster if the space was also selected, and we could just type a simpler word (and a space to check it) and keep on going.
Apparently, when typing an apostrophe, cleartext thinks that you're trying to complete the previous word. For example, you can't type the word Don't
.
Sorry, couldn't help my self :P
Steps to reproduce
Also crashes
Doesn't crash
The English list is currently more than 1,000 words to cover conjugations. But if we use NSLinguisticTagSchemeLemma, we can find the root word before we look it up in the word list.
I propose modifying the isSimple
function in in the SimpleWords
class, and adding a lemmaForWord(word:Stirng)
function.
Here's an example to get you started
var question = "We were lovers"
let options: NSLinguisticTaggerOptions = [.OmitWhitespace, .OmitPunctuation, .JoinNames]
let schemes = NSLinguisticTagger.availableTagSchemesForLanguage("en")
let tagger = NSLinguisticTagger(tagSchemes: schemes, options: Int(options.rawValue))
tagger.string = question
tagger.enumerateTagsInRange(NSMakeRange(0, (question as NSString).length), scheme: NSLinguisticTagSchemeLemma, options: options) { (tag, tokenRange, _, _) in
let token = (question as NSString).substringWithRange(tokenRange)
print("\(token): \(tag)")
}
It returns
We: we
were: be
lovers: lover
Once this is in place, we can look into making the lists longer, and providing the user with the option of writing with the 1,000....10,000 most common words.
If space is pressed with the first word selected, nothing can be typed any more. My first time trying this, I started with and instantly the editor broke. Guess I'm that good at beta testing.
Three different ways to reproduce that I find realistic (on Mac, version 1.31):
Wow,
(with a space in the end)so cool
Wow,
(with a space in the end)I cannot write with the app in macOS Sierra. There is no cursor and I cant type. Although I can still save the empty .txt document to my desktop.
Would be cool if the application could work with languages other than English
Similar to issue #24 , but not. I think there is a lot of value in having the unacceptable words highlighted, but allowing the user to easily continue without removing them. I've noticed that I can leave the word there by hitting the down arrow which jumps the cursor ahead by a few characters and disables the highlight. I'm not sure why that works, but I'm glad that it does.
I'd rather the ability to just highlight the bad words and continue. Then the choice to leave them is intentional, but the app will continue to point the issue out.
I want to use this to have some fun changing news pieces to simple words, but it is hard to do when I cannot use names - such as those of countries, languages and people.
I would like to be able to add a word as a name when the first letter is high case, instead of the word being quickly removed.
When I tried to type Explain something hard with a 1000...
, it marked the number 1000 as wrong, which seems quite foolish.
When I investigated the number issue a bit more, it does accept 1
and 0
, so it's only logical it should accept 1000
from a user-point of view?
Hi.... I see that the en.txt file has several thousand words in it. Where is the list of 1000 words in the repo, and what was the original source of the list?
If you type a contraction, OS X automatically changes the upright apostrophe/single quote to a slanted one. Cleartext recognizes "I'm" as a valid word, but not the corrected version "Iโm" (notice the subtle difference in the apostrophe character).
This requires you to quickly type the space after the end of the word before OS X recognizes the contraction and changes the apostrophe, which can get a bit annoying.
If you use a word that is not allowed (for example, ironically, the word application), you can press a character (space, period, etc.) and start a new word afterwards, that old word remains
Make the world a(nother) favor! Online version of cleartext!!
I want an opposite mode, to change a simple primitive words to something sophisticated. Why? Because i'm not a native English speaker. And it's fine if you use 1000 words in your speech, if you are still able to use more of them. Thanks.
Are there any special installation instructions?
When I open ClearText.app and try to type in the window nothing happens. No text appears and no cursor flashes like the demo movies.
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.