Annotation not matching if sentence has anything after the patternreferencing issue with rule that has multiple elements matching the same annotation typeUIMA RUTA: How to check properties of non-matched feature annotation objectsWhat do the numbers in NEAR Condition signify in ruta script?UIMA Ruta Only annotate longest matchNeed to match the annotation feature-UIMA RUTAType “Sentence” not defined in this script/block in UIMA RutaUIMA RUTA - AnnotationPatterns not recognized after executing EXEC actionHow to get substring in a matched annotated expression UIMA RUTA?Reset a local ANNOTATION variable?

How do I tell the reader that my character is autistic in Fantasy?

What does the phrase "building hopping chop" mean here?

Most important new papers in computational complexity

Using Raspberry Pi to flash its own SD card

Why was Mal so quick to drop Bester in favour of Kaylee?

Prime parity peregrination

Donkey as Democratic Party symbolic animal

How hard is it to sell a home which is currently mortgaged?

cannot execute script while its permission is 'x'

Who voices the character "Finger" in The Fifth Element?

Was it really unprofessional of me to leave without asking for a raise first?

Balanced parentheses using STL C++

Could the Q destroy the universe?

How did researchers find articles before the Internet and the computer era?

Can someone break into a Leomund's Tiny Hut via the Ethereal Plane?

The Confused Alien

Are these intended activities legal to do in the USA under the VWP?

Should I share with a new service provider a bill from its competitor?

Most elegant way to write a one shot IF

What could a reptilian race tell by candling their eggs?

I hit a pipe with a mower and now it won't turn

Does a return economy-class seat between London and San Francisco release 5.28 t of CO2e?

Picking balls from urns.

What's the safest way to inform a new user of their password on an invite-only website?



Annotation not matching if sentence has anything after the pattern


referencing issue with rule that has multiple elements matching the same annotation typeUIMA RUTA: How to check properties of non-matched feature annotation objectsWhat do the numbers in NEAR Condition signify in ruta script?UIMA Ruta Only annotate longest matchNeed to match the annotation feature-UIMA RUTAType “Sentence” not defined in this script/block in UIMA RutaUIMA RUTA - AnnotationPatterns not recognized after executing EXEC actionHow to get substring in a matched annotated expression UIMA RUTA?Reset a local ANNOTATION variable?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am trying to extract the below bolded number(AN A348645 PL) through RUTA script. Please look into example I provided:



Below is my code:



Document->RETAINTYPE(SPACE);

((W|NUM) (NUM|W|SPACE|SPECIAL)*)REGEXP("([1]0,1[A-Z0-9]2[\s ;


1)



Input: Claims Experience Report - AN A348645 PLB Nest Holdings Pty Ltd
Expected output: AN A348645 PLB
Original output: No Entity is matched



But, it is working when there is no word/ letter after the pattern:



2)



Input: Claims Experience Report - AN A348645 PLB
Expected Output: AN A348645 PLB
Original output: AN A348645 PLB










share|improve this question






























    0















    I am trying to extract the below bolded number(AN A348645 PL) through RUTA script. Please look into example I provided:



    Below is my code:



    Document->RETAINTYPE(SPACE);

    ((W|NUM) (NUM|W|SPACE|SPECIAL)*)REGEXP("([1]0,1[A-Z0-9]2[\s ;


    1)



    Input: Claims Experience Report - AN A348645 PLB Nest Holdings Pty Ltd
    Expected output: AN A348645 PLB
    Original output: No Entity is matched



    But, it is working when there is no word/ letter after the pattern:



    2)



    Input: Claims Experience Report - AN A348645 PLB
    Expected Output: AN A348645 PLB
    Original output: AN A348645 PLB










    share|improve this question


























      0












      0








      0








      I am trying to extract the below bolded number(AN A348645 PL) through RUTA script. Please look into example I provided:



      Below is my code:



      Document->RETAINTYPE(SPACE);

      ((W|NUM) (NUM|W|SPACE|SPECIAL)*)REGEXP("([1]0,1[A-Z0-9]2[\s ;


      1)



      Input: Claims Experience Report - AN A348645 PLB Nest Holdings Pty Ltd
      Expected output: AN A348645 PLB
      Original output: No Entity is matched



      But, it is working when there is no word/ letter after the pattern:



      2)



      Input: Claims Experience Report - AN A348645 PLB
      Expected Output: AN A348645 PLB
      Original output: AN A348645 PLB










      share|improve this question
















      I am trying to extract the below bolded number(AN A348645 PL) through RUTA script. Please look into example I provided:



      Below is my code:



      Document->RETAINTYPE(SPACE);

      ((W|NUM) (NUM|W|SPACE|SPECIAL)*)REGEXP("([1]0,1[A-Z0-9]2[\s ;


      1)



      Input: Claims Experience Report - AN A348645 PLB Nest Holdings Pty Ltd
      Expected output: AN A348645 PLB
      Original output: No Entity is matched



      But, it is working when there is no word/ letter after the pattern:



      2)



      Input: Claims Experience Report - AN A348645 PLB
      Expected Output: AN A348645 PLB
      Original output: AN A348645 PLB







      uima ruta






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 25 at 13:32









      Daria Pydorenko

      1,0642 gold badges5 silver badges33 bronze badges




      1,0642 gold badges5 silver badges33 bronze badges










      asked Mar 25 at 13:20









      Vamsi UniqueVamsi Unique

      85 bronze badges




      85 bronze badges






















          1 Answer
          1






          active

          oldest

          votes


















          0














          In this example




          AN A348645 PLB Nest Holdings Pty Ltd




          the Star Greedy Quantifier *, looks for the next annotations after PLB and tries to match them using the given regexp pattern. Therefore, the rule fires only when there are no next tokens to try to match on.



          Try to apply the regular expression pattern in Ruta just as it is:



          "([1]0,1[A-Z0-9]2[\s ||-]0,2[A-Z0-9]7[\s ||-]0,2[A-Z]3)"->EntityType;





          share|improve this answer























          • Wow..thanks mate..that worked really good! Never expected that RUTA will accept direct REGEX

            – Vamsi Unique
            Apr 2 at 14:16












          • Good. Consider marking it as a solution please.

            – user3711889
            Apr 2 at 15:13










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55338759%2fannotation-not-matching-if-sentence-has-anything-after-the-pattern%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          In this example




          AN A348645 PLB Nest Holdings Pty Ltd




          the Star Greedy Quantifier *, looks for the next annotations after PLB and tries to match them using the given regexp pattern. Therefore, the rule fires only when there are no next tokens to try to match on.



          Try to apply the regular expression pattern in Ruta just as it is:



          "([1]0,1[A-Z0-9]2[\s ||-]0,2[A-Z0-9]7[\s ||-]0,2[A-Z]3)"->EntityType;





          share|improve this answer























          • Wow..thanks mate..that worked really good! Never expected that RUTA will accept direct REGEX

            – Vamsi Unique
            Apr 2 at 14:16












          • Good. Consider marking it as a solution please.

            – user3711889
            Apr 2 at 15:13















          0














          In this example




          AN A348645 PLB Nest Holdings Pty Ltd




          the Star Greedy Quantifier *, looks for the next annotations after PLB and tries to match them using the given regexp pattern. Therefore, the rule fires only when there are no next tokens to try to match on.



          Try to apply the regular expression pattern in Ruta just as it is:



          "([1]0,1[A-Z0-9]2[\s ||-]0,2[A-Z0-9]7[\s ||-]0,2[A-Z]3)"->EntityType;





          share|improve this answer























          • Wow..thanks mate..that worked really good! Never expected that RUTA will accept direct REGEX

            – Vamsi Unique
            Apr 2 at 14:16












          • Good. Consider marking it as a solution please.

            – user3711889
            Apr 2 at 15:13













          0












          0








          0







          In this example




          AN A348645 PLB Nest Holdings Pty Ltd




          the Star Greedy Quantifier *, looks for the next annotations after PLB and tries to match them using the given regexp pattern. Therefore, the rule fires only when there are no next tokens to try to match on.



          Try to apply the regular expression pattern in Ruta just as it is:



          "([1]0,1[A-Z0-9]2[\s ||-]0,2[A-Z0-9]7[\s ||-]0,2[A-Z]3)"->EntityType;





          share|improve this answer













          In this example




          AN A348645 PLB Nest Holdings Pty Ltd




          the Star Greedy Quantifier *, looks for the next annotations after PLB and tries to match them using the given regexp pattern. Therefore, the rule fires only when there are no next tokens to try to match on.



          Try to apply the regular expression pattern in Ruta just as it is:



          "([1]0,1[A-Z0-9]2[\s ||-]0,2[A-Z0-9]7[\s ||-]0,2[A-Z]3)"->EntityType;






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 1 at 11:47









          user3711889user3711889

          1127 bronze badges




          1127 bronze badges












          • Wow..thanks mate..that worked really good! Never expected that RUTA will accept direct REGEX

            – Vamsi Unique
            Apr 2 at 14:16












          • Good. Consider marking it as a solution please.

            – user3711889
            Apr 2 at 15:13

















          • Wow..thanks mate..that worked really good! Never expected that RUTA will accept direct REGEX

            – Vamsi Unique
            Apr 2 at 14:16












          • Good. Consider marking it as a solution please.

            – user3711889
            Apr 2 at 15:13
















          Wow..thanks mate..that worked really good! Never expected that RUTA will accept direct REGEX

          – Vamsi Unique
          Apr 2 at 14:16






          Wow..thanks mate..that worked really good! Never expected that RUTA will accept direct REGEX

          – Vamsi Unique
          Apr 2 at 14:16














          Good. Consider marking it as a solution please.

          – user3711889
          Apr 2 at 15:13





          Good. Consider marking it as a solution please.

          – user3711889
          Apr 2 at 15:13








          Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







          Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55338759%2fannotation-not-matching-if-sentence-has-anything-after-the-pattern%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

          155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해