Shell Language Processing: Unix command parsing for Machine Learning
2021-07-06Code Available1· sign in to hype
Dmitrijs Trizna
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/dtrizna/slpOfficialIn papertf★ 37
Abstract
In this article, we present a Shell Language Preprocessing (SLP) library, which implements tokenization and encoding directed at parsing Unix and Linux shell commands. We describe the rationale behind the need for a new approach with specific examples of when conventional Natural Language Processing (NLP) pipelines fail. Furthermore, we evaluate our methodology on a security classification task against widely accepted information and communications technology (ICT) tokenization techniques and achieve significant improvement of an F1 score from 0.392 to 0.874.