Messages - vevola [ switch to compact view ]

Pages: prev1 2 [3] 4 5 6 7 8 ... 21next
11
what is a word?

I would make it simple:
a "word" for this project's purpose is defined an any string of consecutive characters (alphanumeric, punctuation and special characters, anything) separated by a SPACE, LINE or PARAGRAPH SEPARATOR (not including non-breaking spaces).

So
$ 1.99
counts as two "words"
whereas
$1.99
counts as one.


EDIT: https://wordcounter.net/ would agree with this definition!

Here is a links (with more linked text inside) if you want to geek out more: :)
https://en.wikipedia.org/wiki/Word_count#Details_and_variations_of_definition

Maybe it would be smart to use the above as a default, and add a "Customize word breaks" setting, if people want to include dashes, slashes or whatever as word boundaries...

12
Nice snack idea @vevola! I'm in with Limitpad! :Thmbsup:

Awesome! Are you thinking of making it a Notepad+ plugin, or a Word macro, or a standalone EXE?
This will def save me (and others) time especially with sending online applications!

13
You know those fields on websites, where you can enter 2000 characters of text and not more?
I tend to write in notepad or somewhere and then copy/paste into the field, just to find the text having been truncated.

My idea for a Coding snack would be a simple notepad UI, where you specify 1) the number, 2) whether you’re counting words or characters, and 3) if characters include non-space or not. All text beyond that limit will be in red.

The notepad would have tabs for various texts. It would also have backup every x minutes for x number of backups automatically saved.

This would be useful in editing texts down to the proper limit. I know you can check the number count, but this idea is to have a visual representation, where you actually see how many words/chars you’re over as you’re typing, and dwindle your way down til you have no more “red”.

Full disclosure: I'm not a dev, and I had posted this idea as a Notepad+ plugin.

14
Below I provide a mockup what the UI might look like, and here's a breakdown of what I'd like (ideally).
First I want to a) create subsets (i.e. all rows having a certain value in the cells of a column) and then b) compare subsets.

I provide a CSV file to be processed by your program, which would allow me to create subsets (extracting rows based on conditions I set).
Then the program compares the subsets, matches columns of numbers (timestamps) against two other columns (also timestamps of beginning and end, indicating a range) and then compile a CSV file.

Example:
1) I have timestamps of when people are looking at each other
2) I have timestamps of when these people move
I want to see, when people were looking at one person, if that person was moving.

The data are various labels and things, but more importantly they have timestamps of beginnings and endings of things. I want to see when there are timestamps of things that are
a) contained in other timestamps,
b) overlapping, or
c) near each other (depending on my threshold).

Here is a sample of the data: https://docs.google.com/spreadsheets/d/14RZ72on3UrDfjijShNNEo0hdwvadqtvEEEURXKFuh3o/edit?usp=sharing

The output can be a simple CSV file.

The interface would include the options included below and could be something like this:

====================================

Create SUBSETS from CSV file, either based on an entire column or based on the contents of a cell.

1. Subset Name: _______ (*create a name for the subset)
Column: [dropdown list] (*with the column headers or number, or "ALL")
Cell: _______ (*type in text to find or leave blank)


2. Subset Name: _______
Column: [dropdown list]
Cell: _______

   
3. Subset Name: _______
Column: [dropdown list]
Cell: _______

[ADD SUBSET]

[Import subset]
[Export subsets] (*as CSV files)
___________________________________________________________

Choose what to match.

TEMPORAL MATCHES: Only columns with numeric data can be compared.
 
   This [SUBSET_NameX]: [COLUMN_list] (to [COLUMN_list] ) (*if you select just the first than it's a point, if you also select the second then it's understood as a time range)
   
   within [SUBSET_NameX] from [COLUMN_list] to [COLUMN_list]
   
   [] AND [] OR within [SUBSET_NameX] from [COLUMN_list] to [COLUMN_list]
   
   [ADD ADDITIONAL CONSTRAINT]

[] Containing (*both onset or offset are within the range)
[] Overlapping (*either onset or offset is within the range)   
[] Threshold: ___ms before;  ___ms after


====================================


A note on the sample data. https://docs.google.com/spreadsheets/d/14RZ72on3UrDfjijShNNEo0hdwvadqtvEEEURXKFuh3o/edit?usp=sharing

Note that what you have here is already a subset of the original data, which would have been made by

Subset: All gaze_to_p1
Column: label
Cell: gaze_to_p1

AND

Subset: All P1
Column: participant
Cell: p1


A query on this table might be to compare if the onset (just the beginning) of "gaze_to_P1" is within the range of all P1 "head_face" and all "upper_body":

Subset1: All gaze_to_P1
Column: label
Cell: gaze_to_p1

(NB: This could have also been Column:ALL and it would have given the same subset, but in this case maybe selecting the column would make it less processing intensive?)

Subset2: All P1
Column: participant
Cell: p1


The output could be a simple CSV file with an added column providing the match (or NA). Eventually, it might be interesting for this column to have the cells giving something like "gaze_to_P1 | head_face", "gaze_to_P1 | upper_body", i.e. I get to choose how the result is shown, specifically grabbing the cell content of the first and second member of the match.


---

Possible?

15
Thanks! but I think it's not quite I needed (although probably the word "range" peaked your attention!).

I want to see if one number or a range "fits" into another number within a range.

But I can see how your app could be useful depending on what you're doing.

Pages: prev1 2 [3] 4 5 6 7 8 ... 21next
Go to full version