Difference between revisions of "Annotatrix/Work plan"

From Apertium
Jump to navigation Jump to search
Line 8: Line 8:
 
*Models: models that interfaces uses
 
*Models: models that interfaces uses
   
=== Views package===
+
=== Views package ===
 
'''View'''
 
'''View'''
   
Line 37: Line 37:
   
 
'''prob_measure'''
 
'''prob_measure'''
  +
  +
=== Controller package ===
  +
'''controller'''
  +
  +
methods:
  +
*controller get_instance() <-Singleton pattern to have just one controller instance to manage views
  +
*view new_view(view_name, data) <- factory pattern to get the views registred
  +
*File tag_by_path(path_file)
  +
*File tag_by_string(corpus_in_string_to_tag)
  +
*File tag_dump(dump_url or path_file_already_downloaded)
  +
*config_file save_state()
  +
*load_state(config_file=None)
  +
vars:
  +
*controller ctrl
  +
*[view] views_list
   
 
== Working plan ==
 
== Working plan ==

Revision as of 20:42, 18 June 2013

System design

UML global.jpg

There are 3 packages in order to use the pattern MVC:

  • Views: there are the interfaces
  • Controller: the controller that also implements singleton and factory pattern
  • Models: models that interfaces uses

Views package

View

<interface>

methods:

  • show()
  • focus()
  • hide()
  • close()

vars:

  • string path_to_uis

Every interface implements this interface and extend it with the method they need:

insert_corpus

  • cancel_clicked(button)
  • apply_clicked(button)
  • selectred_dump(combo)
  • insert_corpus_text(string path_to_file)
  • get_corpus_to_tag() (maybe save the content in a temporal file to tag)

tagger

CGM (constraint grammar manager)

tsx_manager

prob_measure

Controller package

controller

methods:

  • controller get_instance() <-Singleton pattern to have just one controller instance to manage views
  • view new_view(view_name, data) <- factory pattern to get the views registred
  • File tag_by_path(path_file)
  • File tag_by_string(corpus_in_string_to_tag)
  • File tag_dump(dump_url or path_file_already_downloaded)
  • config_file save_state()
  • load_state(config_file=None)

vars:

  • controller ctrl
  • [view] views_list

Working plan

Week Dates Tasks
0 21/05—16/06 Bonding and designing firsts internals GUIs
1 17/06—23/06 I'm still with final exams
2 24/06—30/06 Input File UI coding 30h, Tagger Corpus UI coding 5/60h
3 01/07—07/07 Tagger Corpus UI coding 35/60h
Deliverable 1
4 08/07—14/07 Tagger Corpus UI coding 20/60h + TDD 15/40h
5 15/07—21/07 Tagger Corpus UI TDD 25/40h, TSX file manager UI coding 10/40h
Deliverable 2
6 22/07—28/07 TSX file manager UI coding 30/40h + TDD 5/20h
7 29/07—04/08 TSX file manager UI TDD 15/20h, Constraint Grammar UI coding 20/50h
Deliverable 3 and Mid-term evaluations deadline August 2sd
8 05/08—11/08 Constraint Grammar UI coding 30/50h + TDD 5/30
9 12/08—18/08 Constraint Grammar UI TDD 25/30h, Performance measure .prob UI coding 10/70h
Deliverable 4
10 19/08—25/08 Performance measure .prob UI coding 35/70h
11 26/08—01/09 Performance measure .prob UI coding 25/70h + TDD 10/40h
12 02/09—08/09 Performance measure .prob UI TDD 30/40h, Final documentation 5h
Deliverable 5
13 09/09—15/09 Final documentation and finalitation
Final evaluation deadline September 27th

Todo

  • Set up a Makefile
  • Add an AUTHORS file -- r44881
  • Make loaders for the .ui files so people see them working. -- r44915

External links