Live data from Hacker News

Show HN: A tool that transforms your whole list with just one example

transformy.io

101–110 of 151 posts

Re: Show HN: A tool that transforms your whole list with just one example

#102
If you're translating into text that's meant to be readable, it seems like you need to add a few items to your dataset that give additional information on natural language.

For example, I added some information in the example below about which pronoun to use based on gender. Would be really neat to have this sort of information built into the tool.

Input:

    {name: "James", age:"30", hobby: "running", genderWord: "his"}

    {name: "Erin", age:"28, hobby: "cooking", genderWord: "her"}

    {name: "Owen", age:"3", hobby: "playing chase", genderWord: "his"}

    {name: "Luke", age:"1", hobby: "reading", genderWord: "his"}
Example: James is 30 years old and his favorite hobby is running

Output:

    James is 30 years old and his favorite hobby is running

    Erin is 28 years old and her favorite hobby is cooking

    Owen is 3 years old and his favorite hobby is playing chase

    Luke is 1 years old and his favorite hobby is reading

Re: Show HN: A tool that transforms your whole list with just one example

#103
post #81

Earlier quoted context omitted.

For that use case you can use the Lapis[1][2] desktop app (the secret weapon I use for data munging), which allows you to choose several examples and edit a file with direct manipulation - or define patterns using a DSL. [1] https://en.wikipedia.org/wiki/Lapis_(text_editor) [2] http://groups.csail.mit.edu/uid/lapis/

I love how that editor "just works" 12 years after its last release. Thanks!

It looks like Java 1.1 UI from 1996.

But thanks for the suggestion, it might be useful.

Re: Show HN: A tool that transforms your whole list with just one example

#104
On your main screen, make the example editable. It would be nice to be able to just enter into the green box to see how it works rather than have to click through the "Get Started"

Also, your instructions makes it seem like the example is editable:

SUPER EASY TO USE 1. Paste your source data in the white box on the left.

2. Type in the green box on the right how you would like the first line of your data to look.

3. Transformy will look at your example and transform every line from your source data into the same format.

Re: Show HN: A tool that transforms your whole list with just one example

#105
Good concept but doesn't work. Example, type different variations of legal well formatted addresses.

  1 Microsoft Way Apt 43, Redmond, WA 98065, U.S.A.
  1-1/4 Palm Hwy, Colino, MA 87009, USA
  500 Potasium Cloride, Sunshite-Big Blow City, PA 30000, United States of America
First line output should look like:

  1 Redmond 98065 U.S.A.
Also having country-specific obscure sports terminology on landing page example can cause lot of confusion.

Re: Show HN: A tool that transforms your whole list with just one example

#106
post #4

I hope you sell your IP to Microsoft Excel. This would be a major time saver feature for a lot of the Excel world.

I could have used this hundreds of time in Visual Studio. We often process messages with hundreds of fields. So I will have a class from specs (usually excel) with a number of properties, then I need a method to populate each of those from some other object, then I need a method that does the reverse - populates some other object from the properties. This happens over and over for us. Typically I just use a Notepad++…

Install a vim emulator inside of Visual Studio, then use macros.

Re: Show HN: A tool that transforms your whole list with just one example

#108

Good concept but doesn't work. Example, type different variations of legal well formatted addresses. 1 Microsoft Way Apt 43, Redmond, WA 98065, U.S.A. 1-1/4 Palm Hwy, Colino, MA 87009, USA 500 Potasium Cloride, Sunshite-Big Blow City, PA 30000, United States of America First line output should look like: 1 Redmond 98065 U.S.A. Also having country-specific obscure sports terminology on landing page example can cause l…

Right, marking areas (in this case terms between commas), like Google's Webmaster Tools structured information designer does it, would help. This would require some kind of regular expressions in the example, at least. Of course this would make matters more complicated. This tool excels at simple data sets, I don't think it is meant to be universal.
Post reply on HN