Commit Graph

173 Commits

Author SHA1 Message Date
Tommaso Teofili dc50b79a14 LUCENE-7305 - use macro average in confusion matrix metrics, removed unused import in datasplitter 2016-05-26 16:13:58 +02:00
Tommaso Teofili 8808cf5373 LUCENE-7303 - avoid NPE in MultiFields.getTerms(leafReader, classFieldName), removed duplicated code in DocumentSNBC 2016-05-26 16:13:58 +02:00
Mike McCandless 8fe78da23c LUCENE-6766: make new Lucene62Codec, with new segment info format that reads/writes the index sort, to support index sorting; remove all usage of SlowCompositeReaderWrapper; also sort ids when merging norms; CheckIndex verifies sort 2016-05-06 16:41:26 -04:00
Adrien Grand 88965a0bec Fix javadoc generation. 2016-04-11 18:46:47 +02:00
Tommaso Teofili 273d586be4 LUCENE-7196 - added missing misc dependency 2016-04-11 10:03:37 +02:00
Tommaso Teofili 112078eaf9 LUCENE-7196 - guaranteed class coverage in split indexes through grouping by class 2016-04-11 09:59:22 +02:00
Tommaso Teofili c906b4fc5a LUCENE-7193 - added missing timeout param to tests 2016-04-08 11:06:43 +02:00
Tommaso Teofili 2507015f4c LUCENE-7193 - add generic f1-measure metric to confusion matrix 2016-04-08 11:06:43 +02:00
Tommaso Teofili d08f327a7f LUCENE-7156 - fixed precision and accuracy calculations 2016-03-31 14:45:31 +02:00
Mike McCandless 7523ca1162 LUCENE-7086: move SlowCompositeReaderWrapper to misc module, and throw clear exc if you try to use in with points
Squashed commits:

commit e26b065c71388407bc6725256ca43d7bb30dee29
Author: Mike McCandless <mikemccand@apache.org>
Date:   Thu Mar 10 14:16:45 2016 -0500

    simplify the checking for incoming points

commit b7254376dcb398c7739aab4544118bb4526961d5
Merge: 8ec82a0 d35d569
Author: Mike McCandless <mikemccand@apache.org>
Date:   Thu Mar 10 14:05:24 2016 -0500

    Merge branch 'master' into slow_wrapper

    Conflicts:
    	lucene/misc/src/test/org/apache/lucene/uninverting/TestFieldCache.java
    	lucene/misc/src/test/org/apache/lucene/uninverting/TestFieldCacheReopen.java

commit 8ec82a0d9a0dd946d96da20962bb2ea95758edbe
Author: Mike McCandless <mikemccand@apache.org>
Date:   Thu Mar 10 13:56:25 2016 -0500

    LUCENE-7086: move SlowCompositeReaderWrapper to misc module
2016-03-10 16:08:59 -05:00
Uwe Schindler 0f43705788 LUCENE-7013: Revert changes to package-info.java files (adds newline after license header and before javadocs back) 2016-02-04 23:02:50 +01:00
Shai Erera 813ca77250 LUCENE-7013: Move license header to top of file 2016-02-04 15:51:19 +02:00
Michael McCandless 24c46305bd LUCENE-6971: remove StorableField, StoredDocument
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725117 13f79535-47bb-0310-9956-ffa450edef68
2016-01-17 19:54:50 +00:00
Tommaso Teofili 056940632d LUCENE-6854 - adjusted precision calculation, minor fix in SNBC test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723759 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 16:49:48 +00:00
Tommaso Teofili d9f4eb84cf LUCENE-6854 - global confusion matrix precision and recall metrics
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723729 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 14:23:12 +00:00
Tommaso Teofili 0deadf0671 LUCENE-6854 - adjusted precision, recall, f1 measure metrics
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710605 13f79535-47bb-0310-9956-ffa450edef68
2015-10-26 14:21:18 +00:00
Tommaso Teofili 4af4c701b2 LUCENE-6854 - added precision, recall, f1 measure metrics to ConfusionMatrix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710249 13f79535-47bb-0310-9956-ffa450edef68
2015-10-23 15:49:04 +00:00
Tommaso Teofili c3319445dc LUCENE-6853 - disabled accuracy check in BPC performance test until this is fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710230 13f79535-47bb-0310-9956-ffa450edef68
2015-10-23 15:09:26 +00:00
Tommaso Teofili 308d0101f3 LUCENE-6479 - added a raw accuracy calculation to confusion matrix, minor adjustments to splitter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710197 13f79535-47bb-0310-9956-ffa450edef68
2015-10-23 12:21:50 +00:00
Tommaso Teofili 9534904c25 LUCENE-6821 - TermQuery's constructors should clone the incoming term
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1709576 13f79535-47bb-0310-9956-ffa450edef68
2015-10-20 11:57:37 +00:00
Tommaso Teofili d2bee4788a LUCENE-6631 - fixed svn eol-style
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1709575 13f79535-47bb-0310-9956-ffa450edef68
2015-10-20 11:48:53 +00:00
Shalin Shekhar Mangar 091a13c02f LUCENE-6631: Added missing ASL header
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1709563 13f79535-47bb-0310-9956-ffa450edef68
2015-10-20 10:34:04 +00:00
Tommaso Teofili 505c32b1e4 LUCENE-6631 - added missing javadoc for kNN classifier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1709533 13f79535-47bb-0310-9956-ffa450edef68
2015-10-20 08:13:30 +00:00
Tommaso Teofili 4d7488ccf6 LUCENE-6631 - added missing javadoc for kNN classifier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1709529 13f79535-47bb-0310-9956-ffa450edef68
2015-10-20 07:54:15 +00:00
Tommaso Teofili 02b4e3cf45 added missing javadoc for kNN document classifier field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1709528 13f79535-47bb-0310-9956-ffa450edef68
2015-10-20 07:46:07 +00:00
Tommaso Teofili 71cea88773 LUCENE-6631 - added document classification api and impls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1709522 13f79535-47bb-0310-9956-ffa450edef68
2015-10-20 07:36:41 +00:00
Uwe Schindler 0acf3d9da8 Fix warning: Remove obsolete close (try-with-resources)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1709251 13f79535-47bb-0310-9956-ffa450edef68
2015-10-18 10:08:13 +00:00
Tommaso Teofili a8d08f8247 LUCENE-6435 - applied Adrien Grand's patch to avoid CME on SNBC
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1705850 13f79535-47bb-0310-9956-ffa450edef68
2015-09-29 12:49:40 +00:00
Robert Muir a944ab17a7 LUCENE-6789: change IndexSearcher default similarity to BM25
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1703070 13f79535-47bb-0310-9956-ffa450edef68
2015-09-14 22:03:35 +00:00
Robert Muir 921c285350 LUCENE-6758: don't let queries over nonexistent fields screw up querynorm
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1701895 13f79535-47bb-0310-9956-ffa450edef68
2015-09-09 03:16:15 +00:00
Shalin Shekhar Mangar 9e340d3e82 LUCENE-6479: Fix precommit by using named thread factory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700933 13f79535-47bb-0310-9956-ffa450edef68
2015-09-03 05:50:15 +00:00
Tommaso Teofili 8b2e0d937d LUCENE-6479 - improved cm testing, added stats, minor fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700914 13f79535-47bb-0310-9956-ffa450edef68
2015-09-02 22:21:53 +00:00
Uwe Schindler 94b12beb4a LUCENE-6740: Reduce warnings emitted by javac #6
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696080 13f79535-47bb-0310-9956-ffa450edef68
2015-08-15 18:04:24 +00:00
Tommaso Teofili 42c00ed22b LUCENE-6731 - added Similarity parameter to kNN
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695034 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 11:50:10 +00:00
Tommaso Teofili 35810f4c77 LUCENE-6654 - KNN taking into consideration class ranking
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693891 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 12:38:25 +00:00
Adrien Grand 4aafacfbef LUCENE-6570: Make BooleanQuery immutable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686145 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 07:14:05 +00:00
Tommaso Teofili 2011dbedab LUCENE-6479 - added ConfusionMatrixGenerator
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679006 13f79535-47bb-0310-9956-ffa450edef68
2015-05-12 17:05:41 +00:00
Tommaso Teofili dfede4285c LUCENE-6045 - refactored BPC constructor to be more consistent with others
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679005 13f79535-47bb-0310-9956-ffa450edef68
2015-05-12 17:04:49 +00:00
Tommaso Teofili bf1355346c LUCENE-6045 - immutable ClassificationResult, minor fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677573 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 10:06:32 +00:00
Tommaso Teofili 11c4a88e23 LUCENE-6045 - fixed javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677367 13f79535-47bb-0310-9956-ffa450edef68
2015-05-03 06:54:29 +00:00
Tommaso Teofili c56f522a8f LUCENE-6045 - removed train exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676998 13f79535-47bb-0310-9956-ffa450edef68
2015-04-30 14:13:45 +00:00
Tommaso Teofili 92842e7c34 LUCENE-6045 - refactor Classifier API to work better with multithreading
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676997 13f79535-47bb-0310-9956-ffa450edef68
2015-04-30 14:12:03 +00:00
Tommaso Teofili dbf063d3d1 LUCENE-6433 - using generics in Classifier#getClasses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674304 13f79535-47bb-0310-9956-ffa450edef68
2015-04-17 13:46:17 +00:00
Michael McCandless c08d81cc39 LUCENE-6410: remove unused 'reuse' parameter to Terms.iterator
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672155 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 19:48:07 +00:00
Robert Muir 2f7a0e7a77 LUCENE-6224: cut over more package.htmls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658447 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 16:12:32 +00:00
Robert Muir 376256316b LUCENE-4797: enable doclint html verification
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658040 13f79535-47bb-0310-9956-ffa450edef68
2015-02-07 10:10:34 +00:00
Michael McCandless 1529c57ca1 LUCENE-6212: remove per-doc analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1656272 13f79535-47bb-0310-9956-ffa450edef68
2015-02-01 09:12:09 +00:00
Steven Rowe 2189b7a761 LUCENE-6134: fix typos: it's->its, its->it's, etc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647735 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 05:48:58 +00:00
Tommaso Teofili e698180451 LUCENE-5736 - fixed test javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1638724 13f79535-47bb-0310-9956-ffa450edef68
2014-11-12 08:56:29 +00:00
Tommaso Teofili 88f2ebd5d0 LUCENE-5548 - minor fixes (imports, comments, method names)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1638718 13f79535-47bb-0310-9956-ffa450edef68
2014-11-12 08:40:02 +00:00
Tommaso Teofili a1f3cebe50 LUCENE-5736 - adding test for caching nb classifier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1638717 13f79535-47bb-0310-9956-ffa450edef68
2014-11-12 08:38:53 +00:00
Tommaso Teofili 4641ee4c5d LUCENE-5699 - normalized score for boolean perceptron classifier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1638715 13f79535-47bb-0310-9956-ffa450edef68
2014-11-12 08:38:06 +00:00
Steven Rowe 38f182593a LUCENE-6007: Regularize ivy.xml files to use configurations that map to remote master configurations, so that Ivy won't try to download extraneous crap
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1632430 13f79535-47bb-0310-9956-ffa450edef68
2014-10-16 20:13:48 +00:00
Ryan Ernst 85bf318173 LUCENE-5569: *AtomicReader/AtomicReaderContext have been renamed to *LeafReader/LeafReaderContext
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627178 13f79535-47bb-0310-9956-ffa450edef68
2014-09-23 23:51:55 +00:00
Robert Muir 5afc7cda1f LUCENE-5858: remove some test cruft
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5858@1621764 13f79535-47bb-0310-9956-ffa450edef68
2014-09-01 13:16:50 +00:00
Ryan Ernst f566386416 LUCENE-5900: More Version cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620509 13f79535-47bb-0310-9956-ffa450edef68
2014-08-26 05:19:34 +00:00
Tommaso Teofili 985a2eb18d LUCENE-5699 - added missing javadoc for atomic reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620122 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 11:44:30 +00:00
Tommaso Teofili 7d5cc2444b LUCENE-5699 - fixed javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620022 13f79535-47bb-0310-9956-ffa450edef68
2014-08-23 12:07:56 +00:00
Tommaso Teofili ca74c147c6 LUCENE-5699 - fixed javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619933 13f79535-47bb-0310-9956-ffa450edef68
2014-08-22 21:16:49 +00:00
Tommaso Teofili 11a24cfbb8 LUCENE-5736 - added caching version of NB classifier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619700 13f79535-47bb-0310-9956-ffa450edef68
2014-08-22 08:04:15 +00:00
Tommaso Teofili 601c09bcd4 LUCENE-5699 - fixed javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619699 13f79535-47bb-0310-9956-ffa450edef68
2014-08-22 08:02:15 +00:00
Tommaso Teofili a934cc7106 LUCENE-5699 - patch from Gergő Törcsvári for normalized score and return lists in classification
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619053 13f79535-47bb-0310-9956-ffa450edef68
2014-08-20 08:56:42 +00:00
Adrien Grand 94d1b7f5a6 LUCENE-5864: Split BytesRef into BytesRef and BytesRefBuilder.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617493 13f79535-47bb-0310-9956-ffa450edef68
2014-08-12 14:46:45 +00:00
Tommaso Teofili 1b5afe0f26 LUCENE-5880 - avoid NegativeArraySizeException in DocToDoubleVectorUtils
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617010 13f79535-47bb-0310-9956-ffa450edef68
2014-08-09 20:07:00 +00:00
Ryan Ernst 872bd9145c LUCENE-5871: Remove Version from IndexWriterConfig
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617004 13f79535-47bb-0310-9956-ffa450edef68
2014-08-09 18:54:35 +00:00
Ryan Ernst 9938a39a87 LUCENE-5859: Remove Version from Analyzer constructors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1616901 13f79535-47bb-0310-9956-ffa450edef68
2014-08-08 22:42:48 +00:00
Tommaso Teofili 1ca2ef7eb3 LUCENE-5878 - added private constructor to avoid documentation-lint complains
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1616886 13f79535-47bb-0310-9956-ffa450edef68
2014-08-08 21:32:00 +00:00
Tommaso Teofili db2e984a7b LUCENE-5878 - fixing missing javadoc in DocToDoubleVectorUtils
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1616755 13f79535-47bb-0310-9956-ffa450edef68
2014-08-08 13:44:09 +00:00
Tommaso Teofili bf773c01f5 LUCENE-5878 - added utils for doc term to doubles
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1616705 13f79535-47bb-0310-9956-ffa450edef68
2014-08-08 09:37:21 +00:00
Robert Muir e6d29d223b LUCENE-5859: Literally add back dead code to please a bunch of fucking babies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614852 13f79535-47bb-0310-9956-ffa450edef68
2014-07-31 10:44:39 +00:00
Robert Muir 0368c604cc LUCENE-5859: remove dead code: changes no runtime behavior, these are all unused variables
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614778 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 22:16:16 +00:00
Robert Muir 2080ddc885 LUCENE-5593: speed up javadocs generation in build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614058 13f79535-47bb-0310-9956-ffa450edef68
2014-07-28 15:36:27 +00:00
Simon Willnauer 2eed3f94d3 LUCENE-5725: MoreLikeThis#like now accetps multiple values per field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1599442 13f79535-47bb-0310-9956-ffa450edef68
2014-06-03 07:51:55 +00:00
Uwe Schindler bc0d7bbb25 Merged revision(s) 1591333 from lucene/dev/branches/branch_4x:
LUCENE-5632: Transition Version constants from LUCENE_MN to LUCENE_M_N

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591365 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 15:50:35 +00:00
Michael McCandless 8559eafd99 LUCENE-4246: fix IW.close to just close, even on exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585759 13f79535-47bb-0310-9956-ffa450edef68
2014-04-08 15:34:50 +00:00
Robert Muir 3b67b17493 LUCENE-5512: remove redundant typing (diamond operator) in trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1576755 13f79535-47bb-0310-9956-ffa450edef68
2014-03-12 14:39:17 +00:00
Koji Sekiguchi 173daaedef LUCENE-5466: query is always null in countDocsWithClass() of SimpleNaiveBayesClassifier.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572793 13f79535-47bb-0310-9956-ffa450edef68
2014-02-28 00:49:39 +00:00
Benson Margulies 36b2f2512b LUCENE-5449: Rename _TestUtil to TestUtil.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1569597 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 01:38:33 +00:00
Robert Muir ab0e85fafe LUCENE-5388: remove Reader from Tokenizer ctor (closes #16)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1556801 13f79535-47bb-0310-9956-ffa450edef68
2014-01-09 13:27:29 +00:00
Steven Rowe a1461ad9b1 LUCENE-5364: Replace hard-coded Version.LUCENE_XY that doesn't have to be hard-coded (because of back-compat testing or version dependent behavior, or demo code that should exemplify pinning versions in user code), with Version.LUCENE_CURRENT in non-test code, or with LuceneTestCase.TEST_VERSION_CURRENT in test code; upgrade hard-coded Version.LUCENE_XY constants that should track the next release version to the next release version if they aren't already there, and put a token near them so that they can be found and upgraded when the next release version changes: ':Post-Release-Update-Version.LUCENE_XY:'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1549701 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 22:53:38 +00:00
Tommaso Teofili 7b9ca4745a LUCENE-5348 - added minDoc/TermFreq params to kNN classifier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544435 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 08:36:22 +00:00
Tommaso Teofili f9b3e389b2 LUCENE-4927 - switched to log prior/likelihood to avoid possible underflows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544433 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 08:29:16 +00:00
Tommaso Teofili debb363f6e LUCENE-5338 - avoid considering unlabeled documents for training
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1540703 13f79535-47bb-0310-9956-ffa450edef68
2013-11-11 13:17:36 +00:00
Tommaso Teofili b4a343d6ba LUCENE-5311 - added support for training using multiple content fields for knn and naive bayes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1538205 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 15:41:49 +00:00
Steven Rowe c9c9ea148b LUCENE-5217: Maven config: get dependencies from Ant+Ivy; disable transitive dependency resolution for all depended-on artifacts by putting an exclusion for each transitive dependency in the <dependencyManagement> section of the grandparent POM
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1537528 13f79535-47bb-0310-9956-ffa450edef68
2013-10-31 15:20:08 +00:00
Tommaso Teofili e60f7af1d1 LUCENE-5284 - added method for training with a Query filter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1532983 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 07:02:59 +00:00
Robert Muir 64a795b6e3 LUCENE-5259: convert analysis consumers to try-with-resources
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1529770 13f79535-47bb-0310-9956-ffa450edef68
2013-10-07 06:24:25 +00:00
Steven Rowe dcbe233d60 Remove obsolete ${project.classpath} pathelement from the "base.classpath" path and the classification module's "classpath" path
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524909 13f79535-47bb-0310-9956-ffa450edef68
2013-09-20 06:25:12 +00:00
Tommaso Teofili 05940e34ab LUCNE-4818 - added boolean perceptron classifier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1519590 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 08:10:19 +00:00
Adrien Grand db2a2fdd7e LUCENE-5187: Make SlowCompositeReaderWrapper's constructor private.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1517447 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 07:54:26 +00:00
Uwe Schindler f092795fe9 LUCENE-5097: Analyzer now has an additional tokenStream(String fieldName, String text) method, so wrapping by StringReader for common use is no longer needed. This method uses an internal reuseable reader, which was previously only used by the Field class.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500862 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 17:55:48 +00:00
Adrien Grand 582d0f103b LUCENE-3907: Fix EdgeNGramTokenizer and EdgeNGramTokenFilter to not generate corrupt token stream graphs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1479891 13f79535-47bb-0310-9956-ffa450edef68
2013-05-07 13:04:08 +00:00
Adrien Grand b242be2680 LUCENE-4959: Fix incorrect return value in SimpleNaiveBayesClassifier.assignClass.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476650 13f79535-47bb-0310-9956-ffa450edef68
2013-04-27 18:09:30 +00:00
Tommaso Teofili ceaf4996c0 LUCENE-4917 - allowing ClassifierTestBase to be used not only for BytesRef classifiers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465575 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 09:14:34 +00:00
Tommaso Teofili 5e55903b14 LUCENE-4782 - suppressing SNBC test for Lucene3x codec for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1448932 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 08:25:05 +00:00
Tommaso Teofili 4650d3aba4 LUCENE-4782 - removed wrong line in build.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1448207 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 15:03:34 +00:00
Tommaso Teofili 87dd823a0a LUCENE-4782 - fixed SNBC docsWithClassSize initialization in case of codec doesn't support Terms#getDocCount
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1448204 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 15:00:53 +00:00
Tommaso Teofili c86d102bfc [LUCENE-4668] - fixed classification classpaths
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1430725 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 08:06:25 +00:00
Tommaso Teofili 325c3678ea [LUCENE-4651] - added generics to Classifier and ClassificationResult
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1428411 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 15:48:13 +00:00
Shai Erera e2f54df3ca fix missing Overrides
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420195 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 14:31:01 +00:00