Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Build Status Coverage Status

NLoN - Natural Language or Not

R package for identifying text containing natural language (or not) using machine learning.

Installation

With devtools:

devtools::install_github("M3SOulu/NLoN")

Example Usage

library(NLoN)
model <- NLoNModel(nlon.data$text, nlon.data$rater2)

topredict <- c("This is natural language.", "public void NotNaturalLanguageFunction(int i, String s)")
NLoNPredict(model, topredict)

For more information on how to use this package, check out its vignette on GitHub or directly from R:

library(NLoN)
vignette("NLoN")

Paper and Citation

If you use our tool please cite our paper: Mäntylä M. V., Calefato F., Claes M, "Natural Language or Not (NLoN) - A Package for Software Engineering Text Analysis Pipeline", The 15th International Conference on Mining Software Repositories (MSR 2018), May 28--29, 2017, Gothenburg, Sweden, pp. 1-5 https://mmantyla.github.io//2018_Mantyla_MSR_natural-language-nlon.pdf

About

Natural Language or Not

Resources

Packages

No packages published

Languages