filed under How-To
How To Install Learning With Texts On Your Own Computer

Learning With Texts LWT

I’d be lost without Learning With Texts (LWT).

It’s a language learning tool that I use on a daily basis for all my languages and a brilliant way to expand on vocabulary in a fun (and slightly addictive) way.

LWT is very similar to LingQ which is another excellent tool – the only difference being that at this time LWT supports more languages and it’s 100% free.

The basic idea is that it’s an assisted reader which enables you to mark individual words as known or unknown, and uses a simple color-coding to rank how well you know each word.

For example:

Not attempted. Unknown. Seen it before but unknown. Familiar. Very familiar. Known but can’t always recall. Well known.

To make it even more convenient it has an audio player built in so you can play an audio track of the text being spoken, and a one-click way to quickly acquire dictionary definitions using your preferred online dictionaries. Even though you can do these things manually it’s really convenient to have them all in one window.

Here’s a good demonstration from FluentCzech of LWT in action:

 

Eliminating the need to rely on another server: LWT is a piece of cake to install

It’s an awesome tool but LWT is a web-based program that depends entirely on a few things which are a little too technical and confusing for most people, such as a web server and database software.

This is because it’s designed to run in your internet browser, storing your growing list of texts and words in a database for quick retrieval.

It also means unfortunately that you’re at the mercy of other peoples’ web servers/sites that run LWT, needing to always be connected to the internet, forever checking back to their server, and constantly at risk of the real possibility that at any time you could lose all of your work.

Isn’t it much better to have a copy of LWT on your own computer or laptop, able to be run even if you don’t have access to the internet?

I think so.

It’s actually really easy to do.

Here you’ll find a brief, straightforward how-to for installing the program on your own personal computer. Although the LWT homepage provides the same information, I wanted to make it a little bit easier for people to find these steps.

 

AMP this and AMP that – WTF is AMP?

I don’t want to bore or intimidate you with technical stuff (you don’t really need to understand this) but this is just in case you’re wondering what it is.

If you’ve read through the LWT homepage or other articles for installing a web server you may have come across these acronyms: WAMP, MAMP and LAMP.

This is what they stand for:

W, M and L: Windows, Mac, Linux (operating systems)

A: Apache (the name of the web server software)

M: MYSQL (the name of the SQL database software)

P: PHP (a web-based programming/scripting language)

When you see these acronyms, all they’re referring to is an operating system-specific package where this software is bundled together. Many web-based programs require all of these packages to be installed together in order to work and LWT is one of them. Installing AMP on your operating system effectively means that you’re running your own personal web server on your machine.

For Windows and Mac it’s as simple as downloading and installing a single file whereas Linux requires each one to be installed sequentially.

After installing AMP you’re ready to download and install LWT.

 

Installing WAMP and LWT on Windows with EasyPHP

This is easy enough for almost anybody to do.

1. Go and download the latest version of EasyPHP here.

2. Run the .exe file and follow all the prompts to install it.

Bam. WAMP is now installed and configured. All you need to do now is install LWT.

3. Go here and download the latest version of LWT which is a .zip file.

4. Copy it over to the C:\Program Files\EasyPHP-[whatever the version is]\www directory and unzip it all here (it should create a directory called \lwt).

5. Rename the file connect_easyphp.inc.php to connect.inc.php.

Now all you have to do is run EasyPHP in the Start menu to start your web server.

You can stop it whenever you want by right-clicking on the EasyPHP icon in the bottom right near the clock and clicking stop. You can also change the settings to make EasyPHP run every time you turn your computer on or only when you want to. Up to you.

To get started using Learning With Texts all you have to do now is open your web browser and go to:

http://127.0.0.1/lwt

Bookmark it so you don’t have to type it in every time.

 

Mac users: Installing MAMP and LWT

1. Go here and download and install the latest MAMP archive.

Remember that when you install this you don’t want to install MAMP Pro. The Pro edition isn’t free and you only need the personal edition which is free.

2. Go ahead and download LWT here.

3. Copy it over to /Applications/MAMP/htdocs and unzip it.

4. To make it easier for you later, rename the the new lwt-[whatever the version is] folder to just lwt.

5. You need to rename the file connect_mamp.inc.php to connect.inc.php.

6. Run MAMP or if it’s already running, restart it. The video above shows you how to do this.

By default, MAMP runs on port 8888 which means you need to type this in your web browser to use LWT:

http://127.0.0.1:8888/lwt

Done. Just run the MAMP application whenever you want to use Learning With Texts.

 

Installing LAMP on Linux with LWT

These instructions are for those of you using Ubuntu or Ubuntu-derived distributions.

I run Slackware but I’m assuming that if you do too then this post won’t be of much use to you :)

It used to be necessary to install each package individually but thanks to tasksel life is a bit easier for Ubuntu/Debian users. You can install LAMP with two commands:

1. sudo apt-get install tasksel

2. sudo tasksel install lamp-server

If tasksel doesn’t prompt you then go ahead and set your root password for MySQL like so:

3. sudo mysql -u root

4. SET PASSWORD FOR ‘root’@'localhost’ = PASSWORD(‘whatever your password is’);

Create an LWT database:

5. CREATE DATABASE lwt;

Create a user with rights (I give all privileges at home) to access the new lwt database:

6. GRANT ALL PRIVILEGES ON *.* TO ‘username’@'localhost’ IDENTIFIED BY ‘whatever your password is’ WITH GRANT OPTION;

You can use phpmyadmin to do this if you don’t like typing commands. Up to you.

7. Download and extract LWT to /var/www/lwt.

8. Now you just have to rename the connect_xampp.inc.php file to connect.inc.php and edit it to add the details of your new database and login info. Leave the line that says localhost alone.

9. Restart Apache:

sudo service apache2 restart

All done! LWT should be running:

http://127.0.0.1/lwt

 

Install the demo database if you want to save time

When you first run Learning With Texts it will ask you whether or not you want to install the demo database.

My advice is to say yes simply because there are some non-Latin script languages (East-Asian and Hebrew) already configured and it just saves a little bit of time (if you’re not learning one of these languages then it doesn’t matter obviously).

Arabic isn’t included in the demo database but you can configure it by adding this setting to the Edit Language page:

RegExp Word Characters: \x{0600}-\x{06FF}\x{0750}-\x{077F}\x{FB50}-\x{FDFF}\x{FE70}-\x{FEFF}

Learning With Texts LWT Arabic

And for Georgian:

RegExp Word Characters: \x{10A0}-\x{10FF}

If you’ve used LWT with another language and know the settings please share them in the comments section below. There are quite a few scripts that I haven’t had a chance to try yet so your input would be really helpful!

If you have language-specific questions or need any other kind of help, a great place to ask is this thread over at the How To Learn Any Language forum.

If I’ve missed something in this post or one of the steps doesn’t work for you then please let me know and I’ll do my best to help.

Good luck! :)

 

This was written by .

Do you use StumbleUpon, Reddit, Pinterest or Digg? A quick upvotelikepin or digg will make my day! Thanks. :)

Comments: If you’ve got something you’d like to add to this or some constructive criticism you can do that at the bottom of this page. Just please be respectful. Any abusive or nonsensical comments will be deleted.

Enter your email in the 'Join the Guild' box above!
Tags:

30 Responses to “How To Install Learning With Texts On Your Own Computer”

  1. The steps in your instructions for Windows are mixed up.

    By Anonymous on Jul 4, 2012 | Reply
  2. I like the theory behind LWT, but I found it incredibly slow-going and fiddly to use when I tried it. Having to go through every word and say if I knew it or not, or look it up when I didn't, took ages and took a lot away from the experience of actually reading.

    Maybe it gets better when you teach it that you know all the very basic words in the language – a lot of frustration came from teaching it these – but I did find it very frustrating.

  3. I have this installed and it seems like a great idea, but where would you recommend getting texts from? News articles? eBooks?

    By Lewis on Jul 4, 2012 | Reply
  4. Thanks for that. Fixed.

    By mezzoguild on Jul 5, 2012 | Reply
  5. Hi Lewis.

    It depends what level you're at and what you're learning the language for. For Arabic I use news articles because I'm at an advanced level and need to learn advanced vocabulary.

    For Irish and other languages I use blog posts and free ebooks because they're written in informal language. News articles are too formal in my opinion if you just want to become conversational.

    By mezzoguild on Jul 5, 2012 | Reply
  6. My only problem with LWT is that you can only use it with texts and I use movies and music a lot which means if I want to use LWT then I’m using LWT for texts and Anki for vocabulary I’ve learned from movies and music so now I’ve got two different SRSes I have to mess with everyday.

    Additionally, what if the text you want to use isn’t something you can copy and paste in, e.g. you’re reading the Spanish version of Harry Potter? Again, if I’m not mistaken, you’re better off just entering the odd vocab word you don’t know into Anki for review instead of messing around with this.

    I could be off, but I’ve played with LWT a few times because Benny recommended it and this was my impression.

    Cheers,
    Andrew

  7. I have tried to install several times but my text looks like this: 8 7 6 5 4 3 2 les 8 7 6 5 4 3 2 malades 7 6 5 4 3 2 de 6 5 4 3 2 l' 5 4 3 2 hôpital 4 3 2 qui 3 2 en 2 ont besoin…
    9 8 7 6 5 4 3 2 Oui, 8 7 6 5 4 3 2 voilà, 7 6 5 4 3 2 en 6 5 4 3 2 cas
    What am I doing wrong? How do I fix this?

    By Jeff on Jul 8, 2012 | Reply
  8. Hey Jeff.

    I'm not sure why a French text would look like that. Where are you copying the text from?

    Try copying some text from somewhere else and see if that helps.

    Also make sure you're using the correct RegExp parameters. The demo database is set up for French already so use that one.

    By mezzoguild on Jul 9, 2012 | Reply
  9. This is actually the demo text in French. What are the correct RegExp aparmeters and where/how do I enter them? I tried entering my own Turkish text (the language I am studying) and it looks the same. The entire website looks like this; I can't see the lwt logo; I can't highlight text, or anything.

    By Jeff on Jul 9, 2012 | Reply
  10. What operating system did you install it on?

    I'll send your problem on to the guy who made LWT and see if he's experienced this problem before.

    By mezzoguild on Jul 9, 2012 | Reply
  11. I am on Windows 7 Professional. I have tried it with Firefox and Google Chrome and it looks the same.

    Please have the LWT person email me if possible, that would be more convenient. Thanks!

    By Jeff on Jul 9, 2012 | Reply
  12. Have you heard any more about the issues I was having?

    By Jeff on Jul 12, 2012 | Reply
  13. Hi Jeff.

    Sorry to reply so late.

    I haven't heard back from anyone yet. The only other thing I can suggest is to try uninstalling EasyPHP and install XAMPP for Windows instead. Instructions here:
    http://lwt.sourceforge.net/#installwin

    Hopefully that fixes the problem.

    By mezzoguild on Jul 16, 2012 | Reply
  14. I've never heard of this, sounds like an interesting program. Thanks Donovan!

    By Jared Romey on Jul 17, 2012 | Reply
  15. I will try that, thanks Donovan!

    By Jeff on Jul 25, 2012 | Reply
  16. Well that didn't work either. I give up. Apache doesn't want to run. I was so excited to use this language learning tool but it is way too difficult for a non-tech guy like me to install. Maybe one day he will simplify the installation process.

    By Jeff on Jul 26, 2012 | Reply
  17. If you have problems with LWT, I would recommend to write a DETAILED post in the LWT help forum: http://sourceforge.net/projects/lwt/forums/forum/

    Then it's easier for the LWT developer to find out what goes wrong in your case. But fist I would try to start from scratch and follow EXACTLY the installation procedure described in http://lwt.sourceforge.net/#installwin

    Normally EasyPHP is the best personal web server if you are running Windows 7. There is also a video (made by TheFineApps).
    Important: The installation of the database via phpMyAdmin (in the video 4:23 … 6:42) isn't anymore necessary, you can do this now easily within LWT.

    Hope that helps.

    By Alex on Jul 27, 2012 | Reply
  18. You may try Foreign Language Text Reader (FLTR), a simpler (to install and to run) alternative to LingQ and LWT. You only need an installed Java Runtime Engine on your PC. FLTR is not suitable in the moment for RTL languages, like Arabic, Hebrew, etc., and it's still beta.

  19. Thank you for this.

    I'm glad somebody has taken the time to code a stand-alone alternative.

    I couldn't get the accents to display properly over the vowels though. Is there a way to fix this?

    Let us know when right-to-left languages are supported. I'll definitely recommend this to people.

    By mezzoguild on Aug 3, 2012 | Reply
  20. RTL support has now been implemented. If you encounter problems, send us an email!

  21. I'm getting a page-not-found error when I try to go to http://127.0.0.1/lwt

    By Doug on Sep 6, 2012 | Reply
  22. Never mind — I found the solution in the program. Thanks

    By Doug on Sep 6, 2012 | Reply
  23. I know it's been a long time since you've done this, but what was your solution? I'm having the same problem, but I'm not very familiar with servers or anything so I don't know how to fix it.

    By Lori on Oct 27, 2012 | Reply
  24. It is a bit fiddly, but all the words you know can be marked with a single click per text: after you've marked all the word you don't know, simply hit the "I know all" button in the top left. If you're zoomed in with your browser, sometimes that buttons hidden and requires you to zoom back out.

  25. I would be interested to learn how you use LWT. Like a previous commenter I also find it very tedious to go through a text and mark/translate the words. I suppose LWT could help with speech recognition once you have a good vocabulary AND some texts that you marked. Then you could listen to the spoken text and read along. until then I am not sure if it helps, maybe you can share some more insight.
    Also, am I doing anything wrong with google translate? it never brings up any translation, unless I right-click the GT link and open it in a new tab. It never translates within the same page. dict.cc works, GT doesn't, I checked the URI and it's correct, is this normal behaviour?

    By dan on Jan 22, 2013 | Reply
  26. your instructions for windows das not working

    By juancuyo on Feb 21, 2013 | Reply
  27. what i have found is the very process of marking words and choosing your own translation helps you to learn it. I dont like things that are inefficient, but in this case that time spent is to your advantage.

    By Lise on Apr 24, 2013 | Reply

Post a Comment

About The Author:

I’m an Applied Linguistics graduate, ESL teacher and translator with years of travel and language learning experience. I have a huge passion for language learning and for helping to raise awareness of endangered minority languages around the world.

Like this blog?