Code Monkey home page Code Monkey logo

srt-owl's Introduction

srt-owl

Collect difficult (rare) words from a text or a subtitle file to learn new foreign vocabulary and to do all the looking-up beforehand. It only works for Dutch at the moment. A good idea could be to use this with a spaced-repetition based flashcard system like Anki for example. Also it might make for a smooth transition between being able to understand foreign language movies with subtitles and without them.

For dictionary lookups it uses my scraper for woorden.org, which you can get from my Github page. The frequency lists are from: http://invokeit.wordpress.com/frequency-word-lists/. This script has only been tested on Linux yet.

##Example usage (interactive):

[larion 16:00:52] srt-owl$ ./srt-owl -low 30 -h 50 twinpeaks-s1e1-nl.srt 
==twinpeaks-s1e1-nl.srt==
butte (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: c
Butte ?
butte (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: 
discrete (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: 
doodsimpel (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: 
doorgeef (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: d doorgeven
doorgeven
doorgeven
Uitspraak:  [ˈdorxevə(n)]Verbuigingen:  gaf door (verl.tijd enkelv.)Verbuigingen:  heeft doorgegeven (volt.deelw.) Toon alle vervoegingen

1)
aan iemand geven via een ander
Voorbeelden:  `Wil je de suiker even doorgeven?`,`Wilt u zelf een exemplaar nemen en de rest van de stapel doorgeven?`

2)
laten weten
Voorbeeld:  `een wijziging doorgeven`Synoniem:  meedelen

doorgeef (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: s
doorgeef (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: 
eigenares (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: c
ik ben de eigenares van de molen.
eigenares (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: s
eigenares (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: 
gemerkte (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: 
kersentaart (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: c
Ik at daar een stuk kersentaart.
kersentaart (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: 
loontje (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: 
majestueus (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: 
mutt (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: c
Mutt en Jeff zijn net gearriveerd.
mutt (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: 
opkikkertje (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: c
Ik ben toch jouw opkikkertje ?
opkikkertje (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: n
oppompen (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: c
dat je de achterband zou oppompen.
oppompen (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: s
oppompen (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: 
overstak (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: 
padvindster (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: c
Dat is veel zakgeld voor 'n padvindster.
padvindster (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: d
[...] (no relevant results)
padvindster (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: d padvinder
[...] (no relevant results)
padvindster (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: d padvinderij
padvinderij
padvinderij
Uitspraak:  ['pɑtfɪndɛrɛi]

<vroeger de Nederlandse verzamelnaam voor alle activiteiten volgens de richtlijnen van de scoutingbeweging van Baden Powell> de term werd met name gebruikt in protestantse kring (katholieken gebruikten de naam verkennerij)>
Voorbeelden:  `Het woord 'padvinderij' werd vooral gebruikt in protestantse kring; katholieken gebruikten 'verkennerij'.`,`'Akela wij doen ons best' is de bekendste slogan uit de padvinderij.`Synoniem:  verkennerij

padvindster (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: n
prijsje (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: 
rechterlijk (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: 
ringvinger (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: 
schoolvriendin (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: 
spiernaakt (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: c
spiernaakt.
spiernaakt (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: d
spiernaakt
spiernaakt
Uitspraak:  ['spirnakt]

helemaal bloot
Voorbeelden:  `De verwarde man loopt spiernaakt op straat.`,`een nudistenstrand met spiernaakte mensen`Synoniem:  poedelnaakt

spiernaakt (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: s
spiernaakt (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: 
startpunt (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: 
tobben (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: c
Stop met tobben
tobben (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: d
tobben
tobben
Uitspraak:  [ˈtɔbə(n)]Verbuigingen:  tobde (verl.tijd enkelv.)Verbuigingen:  heeft getobd (volt.deelw.) Toon alle vervoegingen

1)
onrustig en zorgelijk nadenken
Voorbeeld:  `tobben over je werk`Synoniemen:  piekeren, malen

2)

tobben met...  (problemen hebben met) `met je gezondheid tobben` Synoniem: sukkelen met

tobben (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: 
transformator (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: 
uitdraait (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: c
dat dit niet uitdraait op een hetze.
uitdraait (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: 
uitkijkposten (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: 
voorzover (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: c
Maar voorzover we
voorzover (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: n
waterkoeler (C)ontext/(D)ictionary/(S)ave/(Q)uit/(N)ext: n

[larion 16:09:29] srt-owl$ cat words.out 
oppompen
doorgeef
eigenares
spiernaakt

##Example usage (non-interactive):

$ ./srt-owl -low 160 -high 300 -lang nl -noint twinpeaks-s1e1-nl.srt 
==twinpeaks-s1e1-nl.srt==
arrestatieformulier
Lucy, pak een arrestatieformulier.

bootongeval
Gestorven in een bootongeval.

deca
en extra deca.

houthakkersweg
Een oude houthakkersweg.

levenskwaliteit
Deze streek biedt een levenskwaliteit

lichtbewolkte
12 graden op een lichtbewolkte dag.

lijkschouwingrapport
Ik wil het lijkschouwingrapport

sparkwood
Sparkwooden 21 kwamen

stamvrouw
We noemen haar de stamvrouw.

uitgangsverbod
Ze hebben een uitgangsverbod

uitgeglipt
M'n dochter Donna is 't huis uitgeglipt.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.