Coder Social home page Coder Social logo

rnlp's Introduction

rnlp

Natural Language Processing functions in Rust

Objective

This is my first project in Rust, if fact it started as a simple function to test string slicing I copied learnt from one of the first chapters of the Rust tutorial and started evolving as I read more of the book and learnt some other features. I plan to keep learning Rust and adding more functionality here, in principle there is no real pla; Tokenization, WordVectors, text statistics, colocations, who knows. At some stage I will compare the performance of my functions to those in the NLP library for Python. I hope to achieve better performance but who knows.

Sub objectives

  • Use test driven development
  • Try CI in github
  • Refactor old code every time a new language feature is learnt
  • Generate documentation from code

Caution

I make this repository public in case anyone is interested, but please be aware that for the time being I am at very early stages of Rust learning and things may be done in not exacly the best way.

Learning links

The (https://doc.rust-lang.org/book/)[Rust Book].

Dictionary of terms

  • Monomorphization is the process of turning /generic code/ that is using generics at compile time by filling in the concrete types that are used when compiled.
  • Variant one of the possible values an Enum can take

Comming from C/C++ world some Rust contructs have different names in C++; some concepts are not the same.

Rust C++
Method Method
Struct Struct / Class
Generic Types Templates

rnlp's People

Contributors

mbercas avatar

Watchers

 avatar

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.