[ 
https://issues.apache.org/jira/browse/NIFI-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16311960#comment-16311960
 ] 

ASF GitHub Bot commented on NIFI-4727:
--------------------------------------

Github user alopresto commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2371#discussion_r159744615
  
    --- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/resources/TestCountText/jabberwocky.txt
 ---
    @@ -0,0 +1,34 @@
    +’Twas brillig, and the slithy toves
    --- End diff --
    
    I selected it because it is no longer under copyright. I used [these 
laws](https://fairuse.stanford.edu/overview/public-domain/welcome/) as 
guidelines, but perhaps the ASF has additional rules?


> Create text count processor
> ---------------------------
>
>                 Key: NIFI-4727
>                 URL: https://issues.apache.org/jira/browse/NIFI-4727
>             Project: Apache NiFi
>          Issue Type: New Feature
>          Components: Extensions
>    Affects Versions: 1.4.0
>            Reporter: Andy LoPresto
>            Assignee: Andy LoPresto
>              Labels: processor, text
>
> A frequent community request is to count (lines/words/characters) in 
> arbitrary text. A {{CountTextProcessor}} would provide this functionality 
> natively and with solid performance, rather than abusing the {{SplitText}} or 
> {{ExecuteScript}} processors. 
> It should provide the following functionality (simultaneously, given options):
> * Line count
> * Non-empty line count
> * Word count
> * Character count
> The flowfile content should remain unchanged, and each of the above (if 
> indicated) should be added as an attribute. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to