I want to design a subtitle-word parser. It works like that;
- Check subtitle provider for availability
- Fetch subtitle as inputStream
- Convert inputStream to lines of text
- Parse lines to sections ( A subtitle file includes 100 - 110 sections )
- Parse sections' sentences to words
- Save subtitle, section and word to DB
As you see every step follows previous steps output.
Which design pattern(s) I should use?
Aucun commentaire:
Enregistrer un commentaire