annotate nouns.js @ 18:5fce4c8f3ebd

Preliminary version of date stuff added
author jonathandicarlo@jonathan-dicarlos-macbook-pro.local
date Tue, 15 Jul 2008 14:10:17 -0700
parents a26372118854
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13
8dcc88f93829 Broke up hip.js into some smaller js files
jonathandicarlo@localhost
parents:
diff changeset
1
8dcc88f93829 Broke up hip.js into some smaller js files
jonathandicarlo@localhost
parents:
diff changeset
2
8dcc88f93829 Broke up hip.js into some smaller js files
jonathandicarlo@localhost
parents:
diff changeset
3 // for example....
8dcc88f93829 Broke up hip.js into some smaller js files
jonathandicarlo@localhost
parents:
diff changeset
4 var city = new NounType( "city", [ "new york", "los angeles", "mexico city", "sao paulo", "rio de janeiro", "buenos aires", "london", "paris", "moscow", "cairo", "lagos", "tehran", "karachi", "mumbai", "delhi", "kolkata", "jakarta", "manila", "beijing", "singapore", "shanghai", "hong kong", "seoul", "tokyo", "osaka" ] );
8dcc88f93829 Broke up hip.js into some smaller js files
jonathandicarlo@localhost
parents:
diff changeset
5
8dcc88f93829 Broke up hip.js into some smaller js files
jonathandicarlo@localhost
parents:
diff changeset
6 var language = new NounType( "language", [ "english", "chinese", "hindi", "japanese", "klingon", "esperanto", "sanskrit", "pig latin", "tagalog", "portugese" ] );
8dcc88f93829 Broke up hip.js into some smaller js files
jonathandicarlo@localhost
parents:
diff changeset
7
8dcc88f93829 Broke up hip.js into some smaller js files
jonathandicarlo@localhost
parents:
diff changeset
8 var tab = new NounType( "tab", [ "gmail", "mozilla developer connection", "xulplanet", "evilbrainjono.net", "google calendar", "humanized enso forum" ] );
8dcc88f93829 Broke up hip.js into some smaller js files
jonathandicarlo@localhost
parents:
diff changeset
9
8dcc88f93829 Broke up hip.js into some smaller js files
jonathandicarlo@localhost
parents:
diff changeset
10 var person = new NounType( "person", ["atul@mozilla.com", "aza@mozilla.com", "thunder@mozilla.com", "chris@mozilla.com", "myk@mozilla.com" ] );
8dcc88f93829 Broke up hip.js into some smaller js files
jonathandicarlo@localhost
parents:
diff changeset
11
8dcc88f93829 Broke up hip.js into some smaller js files
jonathandicarlo@localhost
parents:
diff changeset
12 var application = new NounType( "application", ["firefox", "safari", "opera", "internet explorer", "paint.net", "notepad"] );
14
a26372118854 Created a primitive form of noun-first suggestion.
jonathandicarlo@localhost
parents: 13
diff changeset
13
a26372118854 Created a primitive form of noun-first suggestion.
jonathandicarlo@localhost
parents: 13
diff changeset
14 /*todo nouns are gonna need to be able to fuzzymatch
a26372118854 Created a primitive form of noun-first suggestion.
jonathandicarlo@localhost
parents: 13
diff changeset
15 * dates (for add-to-calendar)
a26372118854 Created a primitive form of noun-first suggestion.
jonathandicarlo@localhost
parents: 13
diff changeset
16 * addresses (for map)
a26372118854 Created a primitive form of noun-first suggestion.
jonathandicarlo@localhost
parents: 13
diff changeset
17 * email addreses; names associated with email addresses
a26372118854 Created a primitive form of noun-first suggestion.
jonathandicarlo@localhost
parents: 13
diff changeset
18 *
a26372118854 Created a primitive form of noun-first suggestion.
jonathandicarlo@localhost
parents: 13
diff changeset
19 */