Examples of matrixReducer()


Examples of org.carrot2.clustering.lingo.LingoClusteringAlgorithmDescriptor.AttributeBuilder.matrixReducer()

         * Optionally, you can also pass some attributes for the clustering algorithm. See
         * http://download.carrot2.org/head/manual/#section.component.lingo for a full
         * list.
         */
        AttributeBuilder builder = LingoClusteringAlgorithmDescriptor.attributeBuilder(attributes);
        builder.matrixReducer().factorizationFactory(LocalNonnegativeMatrixFactorizationFactory.class);
        builder.matrixBuilder().titleWordsBoost(7);

        ProcessingResult result = controller.process(attributes,
            PubMedDocumentSource.class, LingoClusteringAlgorithm.class);

View Full Code Here

Examples of org.elasticsearch.common.xcontent.XContentBuilder.matrixReducer()

                    .mergeResources(true);
                    LexicalDataLoaderDescriptor.attributeBuilder(attributes)
                    .resourceLookup(resourceLookup);

                    LingoClusteringAlgorithmDescriptor.AttributeBuilder builder = LingoClusteringAlgorithmDescriptor.attributeBuilder(attributes);
                    builder.matrixReducer().factorizationFactory(LocalNonnegativeMatrixFactorizationFactory.class);
                    builder.matrixBuilder().titleWordsBoost(7);
                    builder.clusterBuilder().phraseLabelBoost(req.PhraseLabelBoost);

                    CommonAttributesDescriptor.attributeBuilder(attributes)
                            .documents(documents);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.