Changeset 102:917b0f7d3576 for atomisator/filters/BayesCore/classifier.py
- Timestamp:
- 05/30/07 16:47:14 (20 months ago)
- Files:
-
- 1 modified
-
atomisator/filters/BayesCore/classifier.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
atomisator/filters/BayesCore/classifier.py
r97 r102 1 # -*- coding: iso-8859-15-*-1 # -*- coding: utf8 -*- 2 2 # Copyright (c) 2006 Nuxeo SAS <http://nuxeo.com> 3 # Authors : Tarek Ziad é<tziade@nuxeo.com>3 # Authors : Tarek Ziadé <tziade@nuxeo.com> 4 4 # This program is free software; you can redistribute it and/or modify 5 5 # it under the terms of the GNU General Public License version 2 as published … … 63 63 # XXX this will be cached 64 64 probabilities = self._buildWordProbabilities() 65 65 66 res = {} 66 67 for category_name in probabilities:
