File: ToDo

package info (click to toggle)
libcoy-perl 0.06-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 116 kB
  • ctags: 99
  • sloc: perl: 1,915; makefile: 39
file content (79 lines) | stat: -rwxr-xr-x 2,669 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
* Add more vocabulary

* Add more grammar rules

* General clean and tighten :-)

-----------cut-----------cut-----------cut-----------cut-----------cut----------
   
   > * A way to _completely_ disable the built in database, so only .coyrc is used.

Can do. Will do. Did do. Will be in the next release.

-----------cut-----------cut-----------cut-----------cut-----------cut----------

   > * Even better, instead .coyrc, specifying the database inline in the script
   > that uses Coy.

Err, that's tricky, since Coy needs to set things up as it loads. Hmmmm. I 
suppose you could pass a hash with the inline data to "use Coy":

	use Coy {
	          noun => {
                        wookie =>
                        {
                                category => [ Sentient ],
                                sound    => [ "roars", "grunts", "bellows" ],
                                act      =>
                                {
                                        sits   => { location => Arborial },

                                        fights => { minimum => 2,
                                                    association => "argument",
                                                  },
                                },
                        },

                 },
	};

I'll see what I can do.

-----------cut-----------cut-----------cut-----------cut-----------cut----------


   > * If they are missing (can't tell currently), associations for other
   > entities beside verbs.

Yes, this is needed and not too hard to add.

-----------cut-----------cut-----------cut-----------cut-----------cut----------

   > * An option to always use the determined article "the" instead "a" with
   >   a noun to stress it.

Always? How about randomly sometimes?

-----------cut-----------cut-----------cut-----------cut-----------cut----------

   > * A way to associate objects with verbs. Currently, Coy produces sentences
   >   like:
   >   would be great. This is especially useful for objects that can't do
   >   much beside lying around (books).

I certainly agree. Objects are *high* on the ToDo list.

-----------cut-----------cut-----------cut-----------cut-----------cut----------

   > * A way to extend the set of locations would also fit in nicely.
   >   Always using terrestrial is a bit boring. I tried to let philosophers
   >   think in trees, but although it leads to humourous haikus, it's a bit
   >   irritating.

Yes, this is also on the ToDo list.

   > * A small sub to extend @aquatic,
   >   so you can add The Big Pond or whatever.  (Some seas, etc).

Yes, this would be part of allowing new locations (see below).