another little fix to stop initialization
[dmvccm.git] / src / changes.org
blob2def0ea0a3aa50114f825a7bca5a6b07cfcbdaa7
1 * Changes in the code, by KBU:
2 - 2008-07-04
3   - Renamed GO_R to GOR etc. (removed `_', easier to write in latex)
4   - Renamed dmv.py and harmonic.py to cnf_dmv.py and cnf_harmonic.py,
5     respectively
6   - Created common_dmv.py to contain whatever's common to loc_h_dmv.py
7     and cnf_dmv.py
9 - 2008-06-25
10   - Split this project in two... starting on a full rewrite of
11     harmonic.py and dmv.py to incorporate the actual CNF DMV-rules.
12     loc_h_dmv.py and loc_h_harmonic.py contain the old version.
14 - 2008-06-12
15   - outer() seems to be working, wrote c(s,t,LHS,loc_h,...) too now.
17 - 2008-06-11
18   - moved prune() to junk.py, now using outer() instead. outer() is
19     written, but needs testing.
21 - 2008-06-09
22   - prune() finished, seems to be working.
23   - started on implementing the other reestimation formulas, in
24     reestimate()
26 - 2008-06-04
27   - moved initialization to harmonic.py
29 - 2008-06-03
30   - fixed a number of little bugs in initialization, where certain
31     rules were simply not created, or created "backwards"
32   - dmv.inner() should Work now...
34 - 2008-06-01
35   - finished typing in dmv.inner(), still have to test and debug
36     it. The ichart is now four times as big since for any rule we may
37     have attachments to either the left or the right below, which
38     upper rules depend on, for selecting probN or probA
40 - 2008-05-30
41   - copied inner() into this file, to make the very dmv-specific
42     adjacency stuff work (have to factor that out later on, when it
43     works).
45 - 2008-05-29
46   - init_normalize is done, it creates p_STOP, p_ROOT and p_CHOOSE,
47     and also adds the relevant probabilities to p_rules in a grammar.
48     Still, each individual rule has to store both adjacent and non_adj
49     probabilities, and inner() should be able to send some parameter
50     which lets the rule choose... hopefully... Is this possible to do
51     top-down even? when the sentence could be all the same words?
52     todo: extensive testing of identical words in sentences!
53   - frequencies (only used in initialization) are stored as strings,
54     but in the rules and p_STOP etc, there are only numbers.
56 - 2008-05-28
57   - more work on initialization (init_freq and init_normalize),
58     getting closer to probabilities now.
60 - 2008-05-27
61   - started on initialization. So far, I have frequencies for
62     everything, very harmonic. Still need to make these into 1-summing
63     probabilities
64   - CNF_Rule has __eq__ and __ne__ defined, so that we can use == and 
65     != on two such rules
67 - 2008-05-25, KBU:
68   - CNF_Rule has a function LHS() which returns head, in DMV_Rule this
69     returns the pair of (bars, head). 
71 - 2008-05-24
72   - prettier printout for DMV_Rule
73   - DMV_Rule changed a bit. head, L and R are now all pairs of the
74     form (seals, head).
75   - Started on P_STOP, a bit less pseudo now..
76   - more elaborate pseudo-code in the io()-function