topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday December 12, 2024, 5:36 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: NANY 2016 - txtproc  (Read 13387 times)

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
NANY 2016 - txtproc
« on: December 21, 2015, 03:12 PM »
NANY 2016 Entry Information

Application Name txtproc
Version 0.4.0
Short Description Yet another text processing tool
Supported OSes Windows, Linux, probably more
Web Page https://github.com/phitsc/txtproc
Download Link https://github.com/p...tsc/txtproc/releases
Build Status



Description
txtproc is a text processing tool, similar to my TIMU. It currently comes without a GUI though, i.e. it is just a command line tool at the moment. It is a completely new implementation.

Compared to TIMU, its most interesting features are:

  • It works on Linux as well as Windows (and probably OS X as well)
  • It can be used in a pipeline to do multiple text manipulations in a row
  • It has a better understanding of text. It knows words and sentences. E.g. "hello,world" are two words in txtproc, but only one in TIMU.
  • It has most of TIMU's text processing functions, some new one's which TIMU doesn't have, and even one or two which were requested for TIMU but I never added.

Planned Features
  • Add more text processing functions
  • Add color to console to highlight search results
  • Add a GUI

Usage
Installation
Just unzip and run.

Using the Application
See https://github.com/phitsc/txtproc for basic usage instructions.

Motivation
Uninteresting babbling, if anyone's interested.
Spoiler
I initially wrote this because I wanted to check out biicode and catch. It soon became clear that the projects main challenge would become Unicode support if I was going to use C++. Unfortunately, Boost.Locale is severely limited, and using the ICU library directly would be a project on its own. So I settled for D, which I have never used before, and learned a ton of stuff not only about the language, but about the D community as well.

« Last Edit: January 17, 2016, 03:24 PM by phitsc »

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: NANY 2016 - txtproc
« Reply #1 on: December 23, 2015, 05:03 PM »
v0.2.0 adds more text processing functions.

The Windows build doesn't handle newlines correctly when sending the output to a file or down a pipeline. Needs fixing.

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: NANY 2016 - txtproc
« Reply #2 on: December 23, 2015, 07:47 PM »
So are you going to make a PKGBUILD for it so we can use it in Arch and Manjaro? :)

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: NANY 2016 - txtproc
« Reply #3 on: December 24, 2015, 05:33 PM »
So are you going to make a PKGBUILD for it so we can use it in Arch and Manjaro? :)
I'll definitely look into it!

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: NANY 2016 - txtproc
« Reply #4 on: December 24, 2015, 05:35 PM »
How txtproc can help you find new music: https://github.com/p.../wiki/Find-new-music

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: NANY 2016 - txtproc
« Reply #5 on: December 29, 2015, 03:48 PM »
v0.3 adds color support for search & replace functions on ANSI color compatible terminals

DyNama

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 73
  • Are you a good witch or a bad witch?
    • View Profile
    • Donate to Member
Re: NANY 2016 - txtproc
« Reply #6 on: January 08, 2016, 06:38 PM »
pretty fab!

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: NANY 2016 - txtproc
« Reply #7 on: January 17, 2016, 03:25 PM »
Thanks DyNama!

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: NANY 2016 - txtproc
« Reply #8 on: January 17, 2016, 03:29 PM »
0.4.0 now available. List of changes and download here: https://github.com/p...tsc/txtproc/releases

Except for SortSentences, all of the text processing functions now have at least one test which is run on every build. I'm not happy with how SortSentences works, so therefore no test yet.