Show HN: utt – Universal Text Transformer
github.com
github.com
$ echo "[1, 2, 3]" | nu -c 'cat | from json | to yaml'
---
- 1
- 2
- 3
$ echo '{"key": [1, 2, 3]}' | nu -c 'cat | from json | to yaml'
---
key:
- 1
- 2
- 3> For example, utt does not process data in a streaming manner, but rather loads the entire dataset into memory before processing
Not sure how long it takes today to start up and load classes on a JVM. The idea of using a java program regularly in the shell immediately makes me worry about slowness.
Also, the eventual goal of supporting more formats means slower startup time as the feature set grows.
[1]: https://en.wikipedia.org/wiki/Transformer_(machine_learning_...
this could be called tiny, huge, text transformer: thtt
tiny because functionality, and huge for java
Transformation is also used in enterprise IT to mean modernising.
Transformer is also a mathematics term, a kids toy and many other things.
In short, ML doesn’t have a monopoly on it.
(That you can represent a tensor by a multidimensional array does not mean that a tensor is a multidimensional array).
Of course, the same should be applied the other way, so when upvoting, one could also choose to assign a value for "this is good but could be improved", "I have a different opinion, but the above comment is worthy of consideration", "this is simply a correct take" and "this comment is pleasing to me".
And for the sake of readability, maybe instead of the whole comment being coloured, a marker could be applied before or after unadulterated text so that it remained accessible during the course of this process!
The challenge would be in deciding which colors represent what sentiment, as these days even our visible light spectrum seems to be corrupted by political/moral/tribal prejudgements. So perhaps it would do more harm than good. It may make for an interesting experiment, all the same.