Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Add wordcount of all scene-notes to their yaml-header #14

Closed
chrisgrieser opened this issue Aug 10, 2021 · 2 comments
Closed

FR: Add wordcount of all scene-notes to their yaml-header #14

chrisgrieser opened this issue Aug 10, 2021 · 2 comments

Comments

@chrisgrieser
Copy link

@chrisgrieser chrisgrieser commented Aug 10, 2021

This could be very interesting, since then you could very easily create a table with the wordcount of every scene via dataview. Doing so also would not be very hard, as it is basically prepending the results of wc on every file.

...however, it would also entail to remove yaml-headings during compile 😕

@kevboh
Copy link
Owner

@kevboh kevboh commented Aug 11, 2021

I don't want to be in the business of editing notes directly, so this in particular is out of scope. However, as noted in the README, I'd like to see where this feature request goes and then add per-scene, -draft, and -project word counts from there.

@kevboh kevboh closed this Aug 11, 2021
@chrisgrieser
Copy link
Author

@chrisgrieser chrisgrieser commented Aug 11, 2021

btw, I found a "workaround" via dataview. Dataview does not count characters, but is does count bytes, which are roughly similar to characters. And taking estimations that the average word length of an English word ist 4.79, is possible estimate the characters and words of a draft.

TABLE file.size as "Character Est.", round(file.size / 4.79) as "Word Est. (English)"
FROM "Draftfolder"
SORT file.size DESC

Only issue is that the scenes do not appear in the same order as in longform.

Screenshot 2021-08-11 16 58 35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants