GithubHelp home page GithubHelp logo

ncbi-nlp / ncbitextlib Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 4.0 2.88 MB

Software library for building a large-scale data infrastructure for text mining

License: Other

C++ 74.70% Makefile 0.49% C 24.82%

ncbitextlib's Introduction

NCBITextLib

NCBITextLib is a simple but effective software library that allows one to build and access an infrastructure for large-scale text mining tasks. This library only provides basic C++ classes for building various text mining tools. Since the library provides a simple to use interface for connecting an internal text data structure to other high-level applications, it is straightforward to build ML software upon NCBITextLib. Currently, we provide three machine learning classes (naive Bayes, support vector machine and theme analysis algorithms) and example codes that use NCBITextLib.

Public Domain Notice

This work is a "United States Government Work" under the terms of the United States Copyright Act. It was written as part of the authors' official duties as a United States Government employee and thus cannot be copyrighted within the United States. The data is freely available to the public for use. The National Library of Medicine and the U.S. Government have not placed any restriction on its use or reproduction.

Although all reasonable efforts have been taken to ensure the accuracy and reliability of the data and its source code, the NLM and the U.S. Government do not and cannot warrant the performance or results that may be obtained by using it. The NLM and the U.S. Government disclaim all warranties, express or implied, including warranties of performance, merchantability or fitness for any particular purpose.

Tested System

  • g++ (gcc) 4.8.1
  • OS: CentOS release 6.7

How to Use

  1. Download
  1. Building a library
  • cd ./lib
  • make
  1. Compiling example programs
  • cd ./applications
  • make [file name], e.g. make make_db
  1. Machine learing classes and examples
  • cd ./applications
  • BayeX.h: naive Bayes classifier (inherit from CMark)
  • HubeX.h: support vector machine classifier (inherit from CMark)
  • ThemX.h: theme analysis algorithm (inherit from BayeX)
  • make_doc: create a Doc from samples.txt
  • make_xpost: create a XPost from a Doc set (should run make_doc and make_xpost beforhand for other applications)
  • run_BayeX: naive Bayes classifier example
  • run_HubeX: support vector machine classifier example
  • run_ThemX: theme analysis algorithm example
  • find_neighbors: find neighboring documents from a seed document

NOTE: sample programs use XPost, thus should run make_doc and make_xpost beforehand.

List of Contributors

  • Sun Kim
  • W. John Wilbur
  • Won Kim
  • Donald C. Comeau
  • Zhiyong Lu

Contact

Please contact [email protected] if you have any questions or comments.

ncbitextlib's People

Contributors

biotext avatar don-comeau-ncbi avatar ldorigo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ncbitextlib's Issues

Enquiry on the installation

Is this package has to be used on CentOS?
Regarding the step 3 in the guideline, the command 'make', it seems there are no variables called 'make_db'. May I know what file it is supposed to be?

Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.