Examples of matrixBuilder()


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

         * 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);

        ConsoleFormatter.displayResults(result);
View Full Code Here

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

                    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.