{"componentChunkName":"component---node-modules-carrotsearch-gatsby-theme-apidocs-templates-documentation-page-js","path":"/trying-lingo3g/","result":{"data":{"html":{"frontmatter":{"id":"trying-lingo3g","title":"Trying Lingo3G"},"html":"<article>\n  <h1>Trying Lingo3G</h1>\n\n  <p id=\"2b0c66e4\">\n    The quickest way to try Lingo3G is to visit the\n    <a href=\"https://search.carrotsearch.com\" target=\"_blank\">on-line demo</a>.\n    For more options, such as Java or REST API and local installation, read on.\n  </p>\n\n  <section id=\"search-results-clustering\">\n    <h2>\n        <a class=\"anchor\" href=\"#search-results-clustering\" aria-hidden=\"true\"><svg aria-hidden=\"true\" height=\"16\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>Search results clustering\n      </h2>\n\n    <p id=\"search-results-clustering:64915153\">\n      You can use the\n      <a href=\"https://search.carrotsearch.com\" target=\"_blank\">on-line demo</a>\n      to cluster web search results provided by\n      <a href=\"https://etools.ch\">eTools</a> and explore medical documents from\n      the <a href=\"https://www.ncbi.nlm.nih.gov/pubmed/\">PubMed database</a>.\n    </p>\n\n    <figure id=\"lingo3g-search-app\" class=\"round\">\n      <a href=\"https://search.carrotsearch.com/#/search/web/data%20mining/treemap\" target=\"_blank\">\n        <div style=\"position: relative\">\n        <span style=\"padding-bottom: 56.111111111111114%; background-image: url('data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAALABQDASIAAhEBAxEB/8QAFwAAAwEAAAAAAAAAAAAAAAAAAAMEAf/EABUBAQEAAAAAAAAAAAAAAAAAAAEC/9oADAMBAAIQAxAAAAGilNsjjSn/xAAaEAACAgMAAAAAAAAAAAAAAAABAgADEiEi/9oACAEBAAEFAkazCh2YRRxWNT//xAAVEQEBAAAAAAAAAAAAAAAAAAAQEf/aAAgBAwEBPwGn/8QAGBEAAgMAAAAAAAAAAAAAAAAAAQIQETH/2gAIAQIBAT8BU7cf/8QAGxAAAgEFAAAAAAAAAAAAAAAAAhAAARESQXH/2gAIAQEABj8CGxalckPH/8QAGRABAAMBAQAAAAAAAAAAAAAAAQARIRCB/9oACAEBAAE/ISFQUrIytxyzheCEZ5//2gAMAwEAAgADAAAAEO8P/8QAFhEBAQEAAAAAAAAAAAAAAAAAAREQ/9oACAEDAQE/EG2Z/8QAFREBAQAAAAAAAAAAAAAAAAAAARD/2gAIAQIBAT8QdBH/xAAbEAEBAQACAwAAAAAAAAAAAAABEQAhQTFRof/aAAgBAQABPxBQEQc+j5mwokBgEu8TeaRfWXxK8zvBDf/Z')\" class=\"preview light fluid\"> </span>\n        <img class=\"light fluid\" alt=\"Lingo3G search results clustering app, light theme.\" title src=\"../static/9b376e51b8ef7a88a547dd1cc691a932/554bf/lingo3g-search-app-light.jpg\" srcset=\"../static/9b376e51b8ef7a88a547dd1cc691a932/388fb/lingo3g-search-app-light.jpg 180w,\n../static/9b376e51b8ef7a88a547dd1cc691a932/1ff7f/lingo3g-search-app-light.jpg 360w,\n../static/9b376e51b8ef7a88a547dd1cc691a932/554bf/lingo3g-search-app-light.jpg 720w,\n../static/9b376e51b8ef7a88a547dd1cc691a932/797d6/lingo3g-search-app-light.jpg 1080w,\n../static/9b376e51b8ef7a88a547dd1cc691a932/60e21/lingo3g-search-app-light.jpg 1440w,\n../static/9b376e51b8ef7a88a547dd1cc691a932/9e6b0/lingo3g-search-app-light.jpg 3840w\" sizes=\"(max-width: 720px) 100vw, 720px\">\n      </div>\n        <div style=\"position: relative\">\n        <span style=\"padding-bottom: 56.111111111111114%; background-image: url('data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAALABQDASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAAAwAE/8QAFgEBAQEAAAAAAAAAAAAAAAAAAQAC/9oADAMBAAIQAxAAAAHCTEB1av/EABoQAAICAwAAAAAAAAAAAAAAAAECABARITH/2gAIAQEAAQUCVcigdN2f/8QAFREBAQAAAAAAAAAAAAAAAAAAEBH/2gAIAQMBAT8Bp//EABURAQEAAAAAAAAAAAAAAAAAAAEQ/9oACAECAQE/ARn/xAAVEAEBAAAAAAAAAAAAAAAAAAAQAf/aAAgBAQAGPwJj/8QAGhABAAMAAwAAAAAAAAAAAAAAAQAQIRExgf/aAAgBAQABPyHhXOolJ4Rruv/aAAwDAQACAAMAAAAQfx//xAAXEQADAQAAAAAAAAAAAAAAAAABEBEh/9oACAEDAQE/EDWL/8QAFhEBAQEAAAAAAAAAAAAAAAAAARAR/9oACAECAQE/EGxGf//EABkQAQADAQEAAAAAAAAAAAAAAAEAESFBMf/aAAgBAQABPxC2fAXdleAOcWKjUIQ4YyObXnYts//Z')\" class=\"preview dark fluid\"> </span>\n        <img class=\"dark fluid\" alt=\"Lingo3G search results clustering app, dark theme.\" title src=\"../static/501d6daca80a431d4257b0ba67da95d7/554bf/lingo3g-search-app-dark.jpg\" srcset=\"../static/501d6daca80a431d4257b0ba67da95d7/388fb/lingo3g-search-app-dark.jpg 180w,\n../static/501d6daca80a431d4257b0ba67da95d7/1ff7f/lingo3g-search-app-dark.jpg 360w,\n../static/501d6daca80a431d4257b0ba67da95d7/554bf/lingo3g-search-app-dark.jpg 720w,\n../static/501d6daca80a431d4257b0ba67da95d7/797d6/lingo3g-search-app-dark.jpg 1080w,\n../static/501d6daca80a431d4257b0ba67da95d7/60e21/lingo3g-search-app-dark.jpg 1440w,\n../static/501d6daca80a431d4257b0ba67da95d7/9e6b0/lingo3g-search-app-dark.jpg 3840w\" sizes=\"(max-width: 720px) 100vw, 720px\">\n      </div>\n      </a>\n      <figcaption>\n        <p>\n          <a href=\"https://search.carrotsearch.com/#/search/web/data%20mining/treemap\" target=\"_blank\">Lingo3G search result clustering app</a>\n          showing results for the <strong><em>data mining</em></strong> web\n          search query.\n        </p>\n      </figcaption>\n    </figure>\n  </section>\n\n  <section id=\"clustering-your-own-data\">\n    <h2>\n        <a class=\"anchor\" href=\"#clustering-your-own-data\" aria-hidden=\"true\"><svg aria-hidden=\"true\" height=\"16\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>Clustering your own data\n      </h2>\n\n    <p id=\"clustering-your-own-data:e4fe7d9c\">\n      Part of the on-line demo is also the\n      <a href=\"https://search.carrotsearch.com/#/workbench\">Lingo3G Clustering Workbench</a>\n      — a more advanced app for clustering content from files, Solr or\n      Elasticsearch instances. You can use it to test Lingo3G clustering with\n      your own content.\n    </p>\n\n    <figure id=\"lingo3g-workbench\" class=\"round\">\n      <a href=\"https://search.carrotsearch.com/#/workbench\" target=\"_blank\">\n        <div style=\"position: relative\">\n        <span style=\"padding-bottom: 56.111111111111114%; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAALCAYAAAB/Ca1DAAAACXBIWXMAAAsSAAALEgHS3X78AAACBUlEQVQoz11SyY7UMBTMZw1iFqbFiDs3DnxoX4EbZw6IRd2dPWlvsRM7WxfPLzQzIpKV2HmuV/Wqkoc3OxwOB7TnM1ohIY2FcxZCSno7eO+xrivmaYTtOt6HELAsC8ZxgtIa/TBsNfOM5ObVa5RVhTMBCiGglMboDaoyg1E12jpFXddY5gFlkUKJGkqeMfQWPoz0r0JVbaujhsn9ww55nqNtW5RlyaDB9xBKobMWltj2PmCaAvzQ43K5AIgLGIhZmqbIsgzH43EDvL1/xOGUEkOBpmmZoTYSRyrKqxIZNSnqloGNVix1gwNJHukOMY7NCSyOIrmLDIuCZihQkTQhFRzJifO0fQ9tHezgiY37B3h9pnnBmepNZzH/PWeG33/+JoYtm+BcT9IspGigtSQQQfNyGIODlIJZXS4rX54nzzXOGq6J40hu7h7x9dsPaEWMGNDRDC2auiQwOusUOzuFnqRJdvYKOI6BzCg32ZSKyD65Jcm/Dic+0MbAkMTRO+7ak+Tgt0hM44Ce5hifzRhQo0CmZDidTs+mvH16R1IkD7ZpGnI2MjQocopLlaGpUnRGkeSemnQM9gzoURQ5rYKTEtUl7z98pGAfOUcxi5qCGg2IkYhBXdeFJUaGxuj/TJmZyHZn2GZ4v3vCfr/Hp89fmF3sEoFeSrt+X/cv39M0c310eV0v+AMEdjUAm8MUewAAAABJRU5ErkJggg==')\" class=\"preview light fluid\"> </span>\n        <img class=\"light fluid\" alt=\"Lingo3G Clustering Workbench, light theme.\" title src=\"../static/598e450ac25a2ee7b61dc766274e814d/eefce/lingo3g-workbench-light.png\" srcset=\"../static/598e450ac25a2ee7b61dc766274e814d/dfaee/lingo3g-workbench-light.png 180w,\n../static/598e450ac25a2ee7b61dc766274e814d/4d463/lingo3g-workbench-light.png 360w,\n../static/598e450ac25a2ee7b61dc766274e814d/eefce/lingo3g-workbench-light.png 720w,\n../static/598e450ac25a2ee7b61dc766274e814d/dabea/lingo3g-workbench-light.png 1080w,\n../static/598e450ac25a2ee7b61dc766274e814d/87339/lingo3g-workbench-light.png 1440w,\n../static/598e450ac25a2ee7b61dc766274e814d/022a0/lingo3g-workbench-light.png 3840w\" sizes=\"(max-width: 720px) 100vw, 720px\">\n      </div>\n        <div style=\"position: relative\">\n        <span style=\"padding-bottom: 56.111111111111114%; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAALCAYAAAB/Ca1DAAAACXBIWXMAAAsSAAALEgHS3X78AAACFElEQVQoz1VT2W7TQBT1T1QFqQkkTuLd430d24mdpBTeQEJC4gHx1P//gcO50wbKw5XtWc49y7W12uyRdzPyfoH+8h3V9RuCrENST3y2cOISH50YOz/9+32ICmzcBLafIS4HuKriGcU1Bevu/Qo+ARQBIm6GhUagCvTHC8p2RD8tqIYFTphAn64ouwl5MyJIK+zDHJWeUXNfKsxbWO/WNoE0kmZC1p4Q5D0Z5FDVYBj5WYN9VGIXpGRS4sMhwnofmhK2ev6E/vSI8fzZnLfuV1tklJs0R8TVaNiGRYd2fkI5XlBNV6Tc99IGquyx9RIDttoFbJKh7E9srhESTBhb9w8bAp6R0kcBDXINN6kQ0wInqeGmPBhXht1bQCnxMX5VIv7JGhnayIarkbwLC1YJLy5Q0Ku01shYPht4cY6U3gkLCWm1C7GnDaqkoqyG92qHdbfeo7h8NbTFKymXgM1IG7imCkm2gEtfk3owMl8AAwJmJgyRnZCpSVkYqnZBVDAMxQDiGg4vR0zMT2sDLgCHMKO0xsgSJgaQ49MzlGF5+hfK2vYoMzfjIn6IXz7HRs+P6KYzx+dsvJMmIQEF/AboELCdLmhY3fFKa2pYKi9Q6oWDPZOlZpotWdFHDqvNADZuTJCIl2WI/w9F3hVHLqY6GSHj4QP/lJ+/n/Hj1zMlVMZDSe8m7XZZ3m/fb582/6CtaawM+z+TEFicMyj/xQAAAABJRU5ErkJggg==')\" class=\"preview dark fluid\"> </span>\n        <img class=\"dark fluid\" alt=\"Lingo3G Clustering Workbench, dark theme.\" title src=\"../static/24c884ad30efa9e103c68de90c78b6af/eefce/lingo3g-workbench-dark.png\" srcset=\"../static/24c884ad30efa9e103c68de90c78b6af/dfaee/lingo3g-workbench-dark.png 180w,\n../static/24c884ad30efa9e103c68de90c78b6af/4d463/lingo3g-workbench-dark.png 360w,\n../static/24c884ad30efa9e103c68de90c78b6af/eefce/lingo3g-workbench-dark.png 720w,\n../static/24c884ad30efa9e103c68de90c78b6af/dabea/lingo3g-workbench-dark.png 1080w,\n../static/24c884ad30efa9e103c68de90c78b6af/87339/lingo3g-workbench-dark.png 1440w,\n../static/24c884ad30efa9e103c68de90c78b6af/022a0/lingo3g-workbench-dark.png 3840w\" sizes=\"(max-width: 720px) 100vw, 720px\">\n      </div>\n      </a>\n      <figcaption>\n        <p>\n          <a href=\"https://search.carrotsearch.com/#/workbench\">Lingo3G Clustering Workbench</a>\n          app clustering results from a local file.\n        </p>\n      </figcaption>\n    </figure>\n\n    <div id=\"on-line-demo-limitations:on-line-demo-limitations\" class=\"warning\">\n      <strong>Heads up, limitations of on-line demos.</strong>\n\n      <p id=\"on-line-demo-limitations:91aa0330\">\n        Note that Clustering Workbench transfers the contents of your files or\n        search results to the Lingo3G demo server for clustering. The server\n        keeps the data in memory for the duration of the clustering process.\n        None of the data you submit is permanently stored or logged.\n      </p>\n\n      <p id=\"on-line-demo-limitations:1b53a1f1\">\n        Additionally, our server limits the rate and size of clustering requests\n        to prevent service overload.\n      </p>\n\n      <p id=\"on-line-demo-limitations:0a86e391\">\n        If you'd rather keep your data private or hit the processing limits,\n        <a href=\"#local-installation\">install Lingo3G on your own machine</a>.\n      </p>\n    </div>\n\n    <section id=\"excel-open-office-or-csv-spreadsheet\">\n      <h3>\n        <a class=\"anchor\" href=\"#excel-open-office-or-csv-spreadsheet\" aria-hidden=\"true\"><svg aria-hidden=\"true\" height=\"16\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>Excel, OpenOffice or CSV\n      </h3>\n\n      <p id=\"excel-open-office-or-csv-spreadsheet:fc0bd842\">\n        To cluster data from an Excel, OpenOffice or CSV spreadsheet, follow\n        these steps:\n      </p>\n\n      <ol>\n        <li>\n          <p id=\"excel-open-office-or-csv-spreadsheet:e9178281\">\n            Create a spreadsheet, put one document per row. Make the first row a\n            header with field names.\n          </p>\n\n          <figure id=\"excel-open-office-or-csv-spreadsheet:example\">\n            <table class=\"spreadsheet\">\n              <thead>\n                <tr>\n                  <th><span class=\"triangle\"></span></th>\n                  <th>A</th>\n                  <th>B</th>\n                  <th>C</th>\n                  <th>D</th>\n                  <th>E</th>\n                </tr>\n              </thead>\n\n              <tbody>\n                <tr>\n                  <th>1</th>\n                  <td>id</td>\n                  <td>title</td>\n                  <td>question</td>\n                  <td>score</td>\n                  <td>views</td>\n                </tr>\n\n                <tr>\n                  <th>2</th>\n                  <td>67</td>\n                  <td>PDF Viewer on Windows</td>\n                  <td>\n                    I've tried Foxit and Adobe's reader, but I'm not satisfied\n                    with either. Foxit has update nagging for non-critical junk.\n                  </td>\n                  <td>39</td>\n                  <td>1975</td>\n                </tr>\n\n                <tr>\n                  <th>3</th>\n                  <td>94</td>\n                  <td>What Windows services can I safely disable?</td>\n                  <td>\n                    I'm trying to improve the boot time and general performance\n                    of a Windows XP machine and ...\n                  </td>\n                  <td>28</td>\n                  <td>4808</td>\n                </tr>\n\n                <tr>\n                  <th>4</th>\n                  <td>135</td>\n                  <td>Log viewer on Windows</td>\n                  <td>\n                    I'm a developer, and I generate big log files. I've tried\n                    several log viewer applications ...\n                  </td>\n                  <td>31</td>\n                  <td>26011</td>\n                </tr>\n              </tbody>\n            </table>\n\n            <figcaption>\n              <p>\n                Example spreadsheet data for clustering in Lingo3G Clustering\n                Workbench.\n              </p>\n            </figcaption>\n          </figure>\n\n          <p id=\"excel-open-office-or-csv-spreadsheet:59fed069\">\n            The spreadsheet can contain fields of all types, Workbench will try\n            to identify the natural text fields usable for clustering.\n          </p>\n        </li>\n\n        <li>\n          <p id=\"excel-open-office-or-csv-spreadsheet:fa0f9fab\">\n            Open\n            <a href=\"https://search.carrot2.org/#/workbench\" target=\"_blank\">Lingo3G Clustering Workbench</a>\n            in a modern browser.\n          </p>\n        </li>\n\n        <li>\n          <p id=\"excel-open-office-or-csv-spreadsheet:18931d8d\">\n            In the <strong>Data source</strong> combo box, choose\n            <strong>Local file</strong>.\n          </p>\n        </li>\n\n        <li>\n          <p id=\"excel-open-office-or-csv-spreadsheet:9e58f640\">\n            In the <strong>Local file > File</strong> section, click\n            <strong>Browse</strong> and upload the spreadsheet with your data.\n          </p>\n        </li>\n\n        <li>\n          <p id=\"excel-open-office-or-csv-spreadsheet:95ed1818\">\n            Optional: refine the selection of fields to cluster using the\n            <strong>Fields to cluster</strong> check boxes.\n          </p>\n        </li>\n\n        <li>\n          <p id=\"excel-open-office-or-csv-spreadsheet:4dbc94a0\">Press the <strong>Cluster</strong> button to generate clusters.</p>\n        </li>\n      </ol>\n    </section>\n\n    <section id=\"solr-or-elasticsearch\">\n      <h3>\n        <a class=\"anchor\" href=\"#solr-or-elasticsearch\" aria-hidden=\"true\"><svg aria-hidden=\"true\" height=\"16\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>Solr or Elasticsearch\n      </h3>\n\n      <p id=\"solr-or-elasticsearch:da220988\">If your data is stored in an Apache Solr or Elasticsearch:</p>\n\n      <ol>\n        <li>\n          <p id=\"solr-or-elasticsearch:f965d871\">\n            In the <strong>Data source</strong> combo box, choose\n            <strong>Solr</strong> or <strong>Elasticsearch</strong>.\n          </p>\n        </li>\n\n        <li>\n          <p id=\"solr-or-elasticsearch:1555db30\">\n            Provide the service URL of your search server and press the\n            <strong>Connect</strong>\n            button.\n          </p>\n\n          <p id=\"solr-or-elasticsearch:9cab95c5\">\n            Ensure that your Solr or Elasticsearch server is configured to emit\n            CORS HTTP headers, otherwise Workbench will not be able to query it.\n          </p>\n        </li>\n\n        <li>\n          <p id=\"solr-or-elasticsearch:c08ba95c\">\n            Choose the collection to search, type query and press\n            <strong>Cluster</strong>.\n          </p>\n        </li>\n      </ol>\n    </section>\n\n    <section id=\"json-file\">\n      <h3>\n        <a class=\"anchor\" href=\"#json-file\" aria-hidden=\"true\"><svg aria-hidden=\"true\" height=\"16\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>JSON file\n      </h3>\n\n      <p id=\"json-file:e2b1bcba\">\n        You can submit a file containing an array of flat JSON objects for\n        clustering, for example:\n      </p>\n\n      <figure>\n        <div class=\"gatsby-highlight\">\n    <pre class=\"language-json\"><code data-language=\"json\"><span class=\"token punctuation\">[</span>\n  <span class=\"token punctuation\">{</span> title<span class=\"token operator\">:</span> <span class=\"token string\">\"Title 1\"</span><span class=\"token punctuation\">,</span> body<span class=\"token operator\">:</span> <span class=\"token string\">\"Text\"</span><span class=\"token punctuation\">,</span> views<span class=\"token operator\">:</span> <span class=\"token number\">583</span> <span class=\"token punctuation\">}</span><span class=\"token punctuation\">,</span>\n  <span class=\"token punctuation\">{</span> title<span class=\"token operator\">:</span> <span class=\"token string\">\"Title 2\"</span><span class=\"token punctuation\">,</span> body<span class=\"token operator\">:</span> <span class=\"token string\">\"Text\"</span><span class=\"token punctuation\">,</span> views<span class=\"token operator\">:</span> <span class=\"token number\">23</span> <span class=\"token punctuation\">}</span>\n<span class=\"token punctuation\">]</span></code></pre>\n  </div>\n        <figcaption>\n          <p>\n            Example JSON file for clustering in Lingo3G Clustering Workbench.\n          </p>\n        </figcaption>\n      </figure>\n\n      <p id=\"json-file:63af3c2d\">\n        Each object represents one document. The object can contain both textual\n        and non-textual properties, Workbench will try to determine the fields\n        containing natural text.\n      </p>\n\n      <p id=\"json-file:10b2f791\">To cluster the contents of a JSON file:</p>\n\n      <ol>\n        <li>\n          <p id=\"json-file:6d96b516\">\n            In the <strong>Data source</strong> combo box, choose\n            <strong>Local file</strong> .\n          </p>\n        </li>\n\n        <li>\n          <p id=\"json-file:d9755a91\">\n            In the <strong>Local file > File</strong> section, press\n            <strong>Browse</strong> to upload your JSON file. (You can also drag\n            and drop the file on the\n            <strong>Local file > File</strong> section.)\n          </p>\n        </li>\n\n        <li>\n          <p id=\"json-file:b8aefee1\">\n            Choose the fields to cluster and press <strong>Cluster</strong>.\n          </p>\n        </li>\n      </ol>\n\n      <p id=\"json-file:f868ab75\">\n        Workbench can also cluster files in the\n        <a href=\"https://doc.carrot2.org/#section.architecture.input-xml\" target=\"_blank\">Lingo3G legacy XML format</a>. However, we recommend using other formats because the legacy XML does\n        not support arbitrary field names and types.\n      </p>\n    </section>\n  </section>\n\n  <section id=\"local-installation\">\n    <h2>\n        <a class=\"anchor\" href=\"#local-installation\" aria-hidden=\"true\"><svg aria-hidden=\"true\" height=\"16\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>Local installation\n      </h2>\n\n    <p id=\"local-installation:ba95f9a5\">\n      You can install Lingo3G on your own machine to use the search results\n      clustering and Workbench apps without any limitations.\n    </p>\n\n    <p id=\"local-installation:3153ba53\">To run Lingo3G on your machine:</p>\n\n    <ol>\n      <li>\n        <p id=\"local-installation:a7bdff96\">\n          Go to\n          <a href=\"https://secure.carrotsearch.com\">secure.carrotsearch.com</a>\n          and download Lingo3G version 2.0.0 or later.\n        </p>\n      </li>\n\n      <li>\n        <p id=\"local-installation:cd5659f7\"><a href=\"/installation/\">Install</a> Lingo3G on your machine.</p>\n      </li>\n\n      <li>\n        <p id=\"local-installation:92e52a8a\">\n          Open <a href=\"http://localhost:8080\">http://localhost:8080</a> in a\n          modern browser to access the apps.\n        </p>\n      </li>\n    </ol>\n  </section>\n</article>","tableOfContents":[{"heading":"Search results clustering","anchor":"search-results-clustering"},{"heading":"Clustering your own data","anchor":"clustering-your-own-data","sections":[{"heading":"Excel, OpenOffice or CSV","anchor":"excel-open-office-or-csv-spreadsheet"},{"heading":"Solr or Elasticsearch","anchor":"solr-or-elasticsearch"},{"heading":"JSON file","anchor":"json-file"}]},{"heading":"Local installation","anchor":"local-installation"}]}},"pageContext":{"slug":"/trying-lingo3g/"}},"staticQueryHashes":["1164750013"]}