summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Peter Christen <mc@yacy.net>2012-01-26 11:20:14 +0100
committerMichael Peter Christen <mc@yacy.net>2012-01-26 11:20:14 +0100
commit329e3eebcf08ca718b02f04c287bd32063e0ec13 (patch)
treebd8d46c7bb2b32f2aa6083b7eecf12dfd3060f97
parent046d7de95b071faae49f6abaad943d2209eab969 (diff)
added example vocabularies and explanation how to use them
-rw-r--r--vocabularies/de/Freizeitaktivitäten.vocabulary27
-rw-r--r--vocabularies/de/Freizeitaktivitäten.vocabulary27
-rw-r--r--vocabularies/de/Stadtthemen.vocabulary19
-rw-r--r--vocabularies/readme.txt32
4 files changed, 105 insertions, 0 deletions
diff --git a/vocabularies/de/Freizeitaktivitäten.vocabulary b/vocabularies/de/Freizeitaktivitäten.vocabulary
new file mode 100644
index 000000000..d26af3e8a
--- /dev/null
+++ b/vocabularies/de/Freizeitaktivitäten.vocabulary
@@ -0,0 +1,27 @@
+Eislaufen
+Drachensteigen
+Saunabaden=Sauna
+Spazieren und Wandern=Spazieren,Wandern,Park,Ufer
+Skaten=Inline,Inliner
+Skateboarden=Skateboard
+Museumsbesuch=Museum
+Altstadtbesuch=Altstadt
+Parkbesuch=Park,Zoo,Freilichtmuseum,Burg
+Ausflug=Schifstouren,Schifffahrt,Aussicht,Aussichtspunkt,Geocaching
+Schwimmen=Schwimmbad,Freibad,Hallenbad,Schwimmbäder,Freibäder,Hallenbäder,Therme
+Fastnacht
+Eislaufen
+Saunabaden=Sauna
+Theater=Bühnen
+Oper=Operette,Opernhaus
+Spielplätze=Spielplatz
+Museum
+Camping
+Picknick=Picknicken
+Essen und Trinken=Essen,Trinken,Bar,Restaurant,Kneipe
+Kochen
+Singen=Gesang,Chor
+Kegeln
+Bowling
+Kartbahn=Kart
+Kino=Kinoprogramm,Cine \ No newline at end of file
diff --git a/vocabularies/de/Freizeitaktivitäten.vocabulary b/vocabularies/de/Freizeitaktivitäten.vocabulary
new file mode 100644
index 000000000..d26af3e8a
--- /dev/null
+++ b/vocabularies/de/Freizeitaktivitäten.vocabulary
@@ -0,0 +1,27 @@
+Eislaufen
+Drachensteigen
+Saunabaden=Sauna
+Spazieren und Wandern=Spazieren,Wandern,Park,Ufer
+Skaten=Inline,Inliner
+Skateboarden=Skateboard
+Museumsbesuch=Museum
+Altstadtbesuch=Altstadt
+Parkbesuch=Park,Zoo,Freilichtmuseum,Burg
+Ausflug=Schifstouren,Schifffahrt,Aussicht,Aussichtspunkt,Geocaching
+Schwimmen=Schwimmbad,Freibad,Hallenbad,Schwimmbäder,Freibäder,Hallenbäder,Therme
+Fastnacht
+Eislaufen
+Saunabaden=Sauna
+Theater=Bühnen
+Oper=Operette,Opernhaus
+Spielplätze=Spielplatz
+Museum
+Camping
+Picknick=Picknicken
+Essen und Trinken=Essen,Trinken,Bar,Restaurant,Kneipe
+Kochen
+Singen=Gesang,Chor
+Kegeln
+Bowling
+Kartbahn=Kart
+Kino=Kinoprogramm,Cine \ No newline at end of file
diff --git a/vocabularies/de/Stadtthemen.vocabulary b/vocabularies/de/Stadtthemen.vocabulary
new file mode 100644
index 000000000..9b8a6e3ce
--- /dev/null
+++ b/vocabularies/de/Stadtthemen.vocabulary
@@ -0,0 +1,19 @@
+Veranstaltungen=Veranstaltung,Fest,Party
+Stadtteile=Stadtteil,Altstadt,Bahnhofsviertel
+Stellenmarkt=Arbeit,Arbeitsamt,Stellengesuche,Stellenangebote,Stellengesuch,Stellenangebot,Job,Jobs
+Immobilien=Wohnen,Immobilie,Miete,Mieten,Mietwohnung,Eigentumswohnung
+Umwelt=Umweltzone
+Verkehr
+Gastro=Kulinarisches,Kulinarische,Restaurant,Kneipe,Äpplewoi
+Bürgerberatung=Bürgerdialog,Amt
+Notdienste=Notdienst
+Kinder und Jugendliche=Kinder,Jugendliche
+Studierende=Studium,Uni,Universität,Fachhochschule,Student,Studenten,Studentin,Campus
+Familie=Familien,Eltern
+Neubürger=Neubürgerinnen
+Umzug
+Notfall
+Sozialiales=Soziale
+Gewerbe und Existenzgründung=Gewerbe,Existenzgründung,gmbh,Gründer,Gründung,Börse
+Kultur=Museum,Museen
+Freizeit
diff --git a/vocabularies/readme.txt b/vocabularies/readme.txt
new file mode 100644
index 000000000..b338257cf
--- /dev/null
+++ b/vocabularies/readme.txt
@@ -0,0 +1,32 @@
+A vocabulary is used to produce search navigation entities.
+A search navigation is what you see at the right column
+at the side of a search results where it is possible to reduce the
+set of result entries with given restrictions.
+
+A vocabulary is a restriction where the search results are restricted to
+entries which have a specific tag in the subject metadata that corresponds
+to the vocabulary restriction. The restriction is expressed with a set of
+synonyms for the tag in a property-like file. Such files are activated if
+they are present in the folder DATA/DICTIONARIES/autotagging/ at start-up time
+and the vocabulary files must be named with a '.vocabulary' extension.
+
+Vocabulary files are similar to property-files with these rules rules:
+- the key represents the vocabulary term (this is what you see in the navigation)
+- a value is a list of synonyms for the vocabulary term
+- a term is always self-referencing (the term is also a synonym for the term)
+- a value may be omitted (a self-referencing-only vocabulary)
+
+The format of a vocabulary file is:
+each line has the format
+<print-name>[=<synonym>{','<synonym>}*]
+or the line starts with a '#' for comment lines
+
+The subdirectories of this directory contains example-vocabularies for
+specific languages. Vocabularies work best if the vocabulary is expressed in
+the same language as the documents are that are indexed.
+
+A vocabulary can be activated by doing:
+- copy the vocabulary from the <lang>/ subdirectory to DATA/DICTIONARIES/autotagging/
+- restart
+- do an indexing of the web-pages. Vocabularies cannot be applied to already indexed
+ web pages because tags are only generated during the parsing process