Skip to content

Tyler's Text Comparison Tool for finding all unique terms that appear in a given directory, but not another.

Notifications You must be signed in to change notification settings

Tyler-Barham/ttct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TTCT

TTCT is Tyler's Text Comparison Tool. It's used to find all the unique words that appear in the input file/folder but do not appear in the comparison file/folder.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

.NET Core 2.1

Installing

$ pwd
/

$ git clone https://github.com/Tyler-Barham/TTCT.git
$ cd /TTCT/TTCT
$ dotnet build

Example Usage

$ pwd
/TTCT/TTCT/bin/Debug/netcoreapp2.1

$ dotnet TTCT.dll --help
$ dotnet TTCT.dll if=~/Downloads cf=../../myFolder
$ dotnet TTCT.dll if=./myFolder cf=./myFolder/subFolder --use-stemmer

Testing

Unit tests are written in MSTest.

$ pwd
/TTCT/TTCTUnitTest

$ dotnet build
$ dotnet test

Code coverage

Testing with code coverage is done through the coverlet NuGet package and only requires an additional flag to the regular test command.

$ pwd
/TTCT/TTCTUnitTest

$ dotnet build
$ dotnet test /p:CollectCoverage=true

// A snipet from the output
+--------+--------+--------+--------+
| Module | Line   | Branch | Method |
+--------+--------+--------+--------+
| TTCT   | 28%    | 7.7%   | 41.3%  |
+--------+--------+--------+--------+


About

Tyler's Text Comparison Tool for finding all unique terms that appear in a given directory, but not another.

Resources

Stars

Watchers

Forks

Languages