Showing posts with label word. Show all posts
Showing posts with label word. Show all posts

Tuesday, March 4, 2014

Raspberry Pi Journal #52



Spell Checker



Perhaps it may surprise you that the Raspberry Pi comes with a built-in spell checker. aspell and ispell.

The standard word list is located in /usr/share/dict/

However, aspell has its own directory: /usr/lib/aspell

The standard aspell mode is by checking the spelling interactively. There is a way to do it with non-interactive method. This will let you dump misspelled words all at once.


  1. cat sample.txt | aspell list


list is a command that basically prints misspelled words coming in from standard input.

Wednesday, February 26, 2014

Musing Journal #8


On Being a Writer

So many people want to be a writer. Why not? After all, all you have to do is sit in coffee shop everyday for a couple hours writing and you're a writer. But is that a professional writer or a hobbyist?

Stephen King wrote that he maintains 4 pages per day work load. Sometimes it comes easy for him. Other times, not so easy. But he wrote those 4 pages every day.

If you consider that, considering standard submission formatting, each page would count for 250 words, then you understand that professional writers write 1000 words per day. That's every day.

One week, then, equals 7000 words. That's enough for a whole chapter (or two). One chapter per week means 50 chapters per year. Or about 2 books per year. 350,000 words per year or 175,000 words per book.

Of course, that's assuming Dictionary size book. Normal book length is only about 100,000 words give or take. So, if you are a real "professional" book writer, then you should be publishing 3 books per year.

That is what doing 1000 words per day will give you.

Consider that. 1000 words per day. Is that so hard? If you have jobs, and other responsibilities in life, then yes, it's hard. There are people who just cannot do that much work per day. However, there is a difference between a dedicated writer and a hobbyist. A dedicated writer, will write, at the very least, one page per day. And at the end of the year, they will have the next great American novel. Think about it: one page a day. 250 words per page, and you're a writer.

The most important thing is to make a schedule and keep at it. If you're doing it every day, fulfilling the minimum required word count, everyday, then you are a writer. If, on the other hand, you like to just chat, browse the internet, and maybe write something, then I'm afraid, you're not a writer.

Unless you are keeping up schedule, you're not a writer. A true writer will keep up his schedule every day. And to that end, I recommend Nanowrimo for every one who dreams of being a writer.

Nanowrimo basically forces you to write an average 1667 words per day. This, on the month where you are guaranteed to be busy, dealing with holiday activities. Having participated twice, I can tell you that it is not at all easy. Sometimes, I just have to force things out.

The neat thing about it is that at the end of the month, when I fall back to normal workload, my normal workload seems easy in comparison! So, yes, Nanowrimo was painful, but it's a good pain. Growing pains. Once I went through the exercise, my productivity improved. And so, I will keep on participating. I like to improve my productivity. And I am keeping up with my schedule. I am a writer!

Note: I have written 1896 words today, not including blog updates. :)

Saturday, August 31, 2013

Raspberry Pi Journal #16

Installing Abiword

Leafpad is fine, if what you're doing is some light word-processor, without any fancy things. If you want to have graphics, though, you need something better. There's open office or Libre office. There's also Abiword and Gnumeric. Let's do the easy way first. Install Abiword!

The first thing I check is to see whether or not Abiword is installed:

which abiword

Not installed. Okay, so let's download the package

sudo apt-get install abiword

It'll go through the installation process, and will put a link on the desktop under Office. I decided to type something and add some graphic to it.




As you can see, AbiWord has multiple fonts, and the ability to add graphic. That's not all. It also has various capabilities, such as HTML markings, and epub export. I have book making ambition, remember? So, this capability is a big deal to me.



I don't have a scanner attached to my Raspberry Pi, yet, and there's no instruction on it. So, I don't plan to add some anytime, soon. I'm happy with my current set up of taking pictures with my 3DS and transfer it via SD card. I do batch transfer, though, so it's not like it's an everyday occurrence.



The printer setup is quite flexible. I'm not sure whether to credit AbiWord for it, or maybe CUPS printer driver. There is an option to print 2 or even 4 pages on one page, and it looks to be quite robust, with various options. I'm pretty happy with it.



And there it is, the double page print. It's quite charming to have, and I like it very much! I think AbiWord should be in everyone's toolbox, assuming you're not running it headless. If you install GUI for work, then you should definitely get AbiWord.

By the way, I eventually did installed Open Office, also known as Libre Office.

which libreoffice

Installing it:

  1. sudo apt-get install openoffice.org
  2. sudo apt-get install libreoffice


I always know it by the openoffice moniker, so imagine my surprise when it installed libre office! Ah, the constant march of progress!