topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 8:58 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: [SOLVED]Reading a book and learning vocabulary  (Read 18228 times)

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
[SOLVED]Reading a book and learning vocabulary
« on: September 07, 2017, 04:03 AM »
I know in this forum there is an english free dictionary. Wordnet or something like that. It can be used offline.
I am reading english books. At this moment I am reading The Information by Martin Amis.

I am writing down the words I don't understand to a txt file.
I would like from this list create a new list that include the meaning of each word of that list.

so I need to launch a search in a prefixed dictionary and add the meaning.

Do you know a script to do this ?

Best Regards

Note : The superb thing may be to add this words to a program like anki to practice the vocabulary I need to understand completely the novel.



« Last Edit: September 25, 2017, 03:08 AM by Contro »

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,747
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Reading a book and learning vocabulary
« Reply #1 on: September 08, 2017, 12:43 AM »
This does not match what you are looking for, but it may help you in many other ways.

It's a Chrome extension that allows you to double-click any word in your browser and it will show a definition. It also places an extension icon near your address bar which allows you to type in a word to find the definition. The downsides are that it doesn't work offline and obviously won't help you with text outside of your browser (which probably includes the book you're reading).

https://chrome.googl...beboacabfgobmjgjcoja

I've used it for years and really like it.

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,186
    • View Profile
    • Donate to Member
Re: Reading a book and learning vocabulary
« Reply #2 on: September 08, 2017, 08:32 AM »

I am writing down the words I don't understand to a txt file.
I would like from this list create a new list that include the meaning of each word of that list.

Can you attach one of your example lists?

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Reading a book and learning vocabulary
« Reply #3 on: September 08, 2017, 04:31 PM »
Yes !

There is my list of words I don't have memorise yet from the book The Information By Martin Amis

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Reading a book and learning vocabulary
« Reply #4 on: September 08, 2017, 04:35 PM »
This does not match what you are looking for, but it may help you in many other ways.

It's a Chrome extension that allows you to double-click any word in your browser and it will show a definition. It also places an extension icon near your address bar which allows you to type in a word to find the definition. The downsides are that it doesn't work offline and obviously won't help you with text outside of your browser (which probably includes the book you're reading).

https://chrome.googl...beboacabfgobmjgjcoja

I've used it for years and really like it.
I also remember an utility specially made for traductors in autohotkey that was able to launch searchs and other abilities.
I don't remember now its name, but I will investigate

Running to see the chrome addon.

But I read the ebook in a kindle, not in a browser.
I am supposing is more easy to find words in a offline dictionary.

Each word may have a lot of meanings. And I need all the meanings.
So a word or derivative may have from one line to many lines of text.

I use a program that identify the block with two ** (one at the beginning and other at the end)

 :-*

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Reading a book and learning vocabulary
« Reply #5 on: September 08, 2017, 04:37 PM »
One important question is that I am not interest in traduction, only in the meaning.

That is that an english word explain in english. Only english.

 :P

In the ereader i am using wordnet and oxford dictionary.

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Reading a book and learning vocabulary
« Reply #6 on: September 08, 2017, 04:47 PM »
The Chrome addon is adopted !

Is not the tool I wish now. I need to capture the meaning to process . And not only the meaning of a word. The meaning of several words.

Note : I don't know if is possible to search for phrases or compound words.

In the e-book is not possible. If I selected a group of word try to open wikipedia, and gives me also the possibility to translate with google translate ( I need to think in english, so I don't want to translate...)


skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: Reading a book and learning vocabulary
« Reply #7 on: September 09, 2017, 02:08 PM »
 :) Try Dictionary! It looks up a list of words on Dictionary.com.

Dictionary.jpg[SOLVED]Reading a book and learning vocabulary

Add new words to the text file, the default is words.txt, and the definitions are downloaded from Dictionary.com and saved to html.html.

Skrommel
« Last Edit: September 09, 2017, 02:26 PM by skrommel »

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Reading a book and learning vocabulary
« Reply #8 on: September 09, 2017, 03:42 PM »
:) Try Dictionary! It looks up a list of words on Dictionary.com.

[ Invalid Attachment ]

Add new words to the text file, the default is words.txt, and the definitions are downloaded from Dictionary.com and saved to html.html.

Skrommel
I don't know what to do.
May be a hidden option
I will continue trying to find.
 :-[

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Reading a book and learning vocabulary
« Reply #9 on: September 09, 2017, 03:43 PM »
:) Try Dictionary! It looks up a list of words on Dictionary.com.

[ Invalid Attachment ]

Add new words to the text file, the default is words.txt, and the definitions are downloaded from Dictionary.com and saved to html.html.

Skrommel
Sorry, downloading !!!!!
 :-*


Well !!!!!.

I need to export the html file to an apkg anki format file to create the quiz ......

 :P

Trying now to import the html format to anky someway...

https://apps.ankiweb...anual.html#importing

« Last Edit: September 10, 2017, 04:14 AM by Contro »

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,612
    • View Profile
    • Donate to Member
Re: Reading a book and learning vocabulary
« Reply #10 on: September 10, 2017, 03:18 AM »
Contro, you have been politely asked (more then once) to not write a storm of posts in threads (you started). Please keep your promise to avoid that! This thread again has a near duplicate post within minutes of eachother, that could have been avoided if only you had used the 'modify' link in the right-top of your post. :(
TIA.

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,612
    • View Profile
    • Donate to Member
Re: Reading a book and learning vocabulary
« Reply #11 on: September 10, 2017, 04:56 AM »
Moved !
Well, next time, please write all three sequential posts in one, now it looks just like you try to cover up what you did, but still everyone can see it...

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Reading a book and learning vocabulary
« Reply #12 on: September 10, 2017, 07:08 AM »
Moved !
Well, next time, please write all three sequential posts in one, now it looks just like you try to cover up what you did, but still everyone can see it...
You are always right  :tellme: :tellme: :tellme: :tellme: :tellme: :tellme:

I have a problem now !

the file words.txt i remain opened with pspad.

But even with dictionary.exe (appear in the task manager as AppMute . In details as Dictionary.exe . is closed I can't save the words.txt.

Why is opened or seemed to be ?

 :-*


Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,612
    • View Profile
    • Donate to Member
Re: Reading a book and learning vocabulary
« Reply #13 on: September 10, 2017, 01:24 PM »
Close the dictionary/appmute.exe and you should be able to save from pspad again. Obviously the exe is keeping the file opened so no other application can write to it.
If pspad can't do it, then switch to notepad++, it has beter support for such situations, AFAIK.

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Reading a book and learning vocabulary
« Reply #14 on: September 11, 2017, 03:12 PM »
Close the dictionary/appmute.exe and you should be able to save from pspad again. Obviously the exe is keeping the file opened so no other application can write to it.
If pspad can't do it, then switch to notepad++, it has beter support for such situations, AFAIK.
I'll do. I am used to PSPAD. I am using notepad++ sometimes....

BTW I need to convert the html file to csv. I thinks is not possible in an automated way. It's not a html table.
I wish to know how to do it using the resulting html.html file

If someone shows me how to form the first line

word ; <meanings>

then I will do the rest !

Best Regards

kilele

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 243
    • View Profile
    • Donate to Member
Re: Reading a book and learning vocabulary
« Reply #15 on: September 12, 2017, 10:28 AM »
Hi Contro. I believe what you asked is somewhat implemented on Goldendict and also on WordsCatch (ipad)

Thanks Skrommel !!

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Reading a book and learning vocabulary
« Reply #16 on: September 12, 2017, 12:07 PM »
Hi Contro. I believe what you asked is somewhat implemented on Goldendict and also on WordsCatch (ipad)

Thanks Skrommel !!
I'll take a look.

I continue trying the "operation" of convet the html file into a csv file.
It's not an easy question.

Kindle has implemented the option of revising vocabulary. But I want outside kindle.

My kindle is second hand and seems not to have the option to synchronize with the amazon account. But I have the option to revise vocabulary with the Leitner's system.

In my case and at the present moment.

I am taking advantage of Skrommel's dictionary.exe and after manually with copy/paste I create the quiz in ANKI .

This copy/paste is a way to study itself. Then repeat and repeat and repeat ....

Besides the dictionary.exe gives me an extra option to search words in a new dictionary. I am using in Kindle Wordnet easy and Oxford dictionary.  So is good for learning.

Convert from html to csv (when is not a HTML table) seems a delicate matter and I continue studying.

 :-*

Edited : I adopt also the Word of the Day from dictionary.com , and studying with Duolingo....
 :P

Edited : I haven't an iPad for the moment so I can't consider WordsCatch.

Some years ago I try hard to recopile tools for phrasing or learning words and derivatives for investigation purposes.

I found some tools in 2014.

GoldenDict - designed as a StarDict successor

An in GoldenDict register I write down :

*** JOSE ***  August 3, 2014 at  3:56pm
      GoldenDict

GoldenDict is a free, feature-rich offline dictionary program for Windows and Linux. It supports multiple dictionary formats, such as Babylon, StarDict, and WordNet. You can also look up words on Wikipedia, Wiktionary, or any other MediaWiki-based websites using GoldenDict. It also supports looking up and listening to pronunciations using the pronunciation guide, forvo.com.

You can lookup words selected in other applications or translate a word from the clipboard using hotkeys.

At the present time the goldendict forum is full of spam.

In 2014 I was using Ultimate Dictionary. Now dictionary.com and dictionary.exe

« Last Edit: September 12, 2017, 01:41 PM by Contro »

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: Reading a book and learning vocabulary
« Reply #17 on: September 14, 2017, 03:35 AM »
What layout do you need on the output, Contro?

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Reading a book and learning vocabulary
« Reply #18 on: September 14, 2017, 04:02 PM »
What layout do you need on the output, Contro?
Owwwwww !!!! Can you afford this ?????

I was coming to the post to close and put this comment of the creator of Anki :

" 1 Posted by Damien Elmes on Sep 12, 2017 @ 07:01 AM
Damien Elmes's Avatar

I think the fastest solution for you would be to copy and pase each word into Anki's add window instead of manually trying to turn the file into a csv file."

The layout I need is simple

The first field or anverse of the flashcard is the word.

In the reverse of the flashcard the meanings of the words.

In the csv file the question may be more complex.....

The anki help for this purpose is not clear for me. Seems I can use the code <br> to make lines, but I suppose I have to adapt in many ways the html code.
For me the layout is not so important as the content formed by the pair <word , "meanings" >.

Everything is welcome and thanks a lot.

 :-*

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Reading a book and learning vocabulary
« Reply #19 on: September 18, 2017, 05:47 AM »
What layout do you need on the output, Contro?
What am I doing bad ?

Can I wait for you or simply close the post ?
I really haven't understand if your are trying or not to process the html file with a script ?

What I do next ?

Best Regards
 :-[

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: Reading a book and learning vocabulary
« Reply #20 on: September 18, 2017, 06:27 AM »
Can you do a mockup of what end-result you would like Contro, and take a screenshot of it?
Tom

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Reading a book and learning vocabulary
« Reply #21 on: September 18, 2017, 06:38 AM »
Can you do a mockup of what end-result you would like Contro, and take a screenshot of it?
I only need the structure from the html file consisting in [word, its meanings] to be introduced in anki testing module.
[anverse, reverse] where anverse is the word to be learned , and reverse the meanings of that word.

The style, the format you select will be the best to see the vocabulary learning clear and practical.

Best Regards


Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: [SOLVED]Reading a book and learning vocabulary
« Reply #22 on: September 25, 2017, 03:14 AM »
Finally I have resolved this problem in this way :

1. Take advantage of the html file produced by dictionary.exe (Thanks Skrommel !) . Is enough for the majority of the situations. If a word is difficult to memorize I can copy/paste to an Anki quiz.
2. I can join several html files to revise more comfortable with SoftSnow.biz Merger . Usually the result is better with the option Strip headers/footers active.
3. Kindle have their own options that may be helpful in other situations for me. My kindle is old and I can't synchronize with the pc. But I have the option to revise vocabulary words with the internal dictionaries in some special occassions.
4. The html file generated with dictionary.exe is clear and also have links to words explaining a word that I may not understand. So is an important feature.

Best Regards
 :-*