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

Frog Freeze #11

Closed
tisvonkje opened this issue Sep 20, 2016 · 2 comments
Closed

Frog Freeze #11

tisvonkje opened this issue Sep 20, 2016 · 2 comments
Assignees
Labels

Comments

@tisvonkje
Copy link

frog (0.13.6) freezes on input that contains large sequences of exclamation marks. To reproduce, create a file input.txt with the following content:
Nee!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
run:
frog -t input.text

@proycon
Copy link
Member

proycon commented Sep 20, 2016

After some investigation, this issue is caused by ucto rather than Frog itself:

[tokenizeLine] punctuation or digit detected, word=[Nee!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!]
[tokenizeLine] punctuation or digit detected, word=[Nee!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!]
[tokenizeLine] punctuation or digit detected, word=[Nee!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!]
[tokenizeLine] punctuation or digit detected, word=[Nee!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!]
[tokenizeLine] punctuation or digit detected, word=[Nee!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!]
[tokenizeLine] punctuation or digit detected, word=[Nee!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!]
[tokenizeLine] space detected, word=[Nee!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!]
[tokenizeLine] Further tokenisation necessary for: [Nee!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!]
   [tokenizeWord] Input: (45) word=[Nee!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!]
        TESTING GENITIVEPLACENAME
        TESTING WORD-WITHSUFFIX
        TESTING WORD-INFIX-COMPOUND
        TESTING QUOTE-SUFFIX
        TESTING WORD-DIMIN
        TESTING WORD-TOKEN
        TESTING NUMBER-ORDINAL
        TESTING DATE-REVERSE
        TESTING DATE
        TESTING URL
        TESTING URL-WWW
        TESTING URL-DOMAIN
        TESTING E-MAIL
        TESTING ABBREVIATION-COMPOUND
        TESTING COMPOUND-ABBREVIATION
        TESTING QUOTE-COMPOUND
        TESTING WORD-COMPOUND
        TESTING NUMBER-COMPOUND
        TESTING INITIAL
        TESTING ABBREVIATION
        TESTING SMILEY
        TESTING REVERSE-SMILEY
        TESTING ABBREVIATION-KNOWN
        TESTING CURRENCY
        TESTING NUMBER-STRING
        TESTING STRING-NUMBER
        TESTING WORD-PARPREFIX-PARSUFFIX
        TESTING WORD-PARPREFIX
        TESTING WORD-PARSUFFIX
        TESTING INITIALS
        TESTING PUNCTUATION-MULTI-DOT

Hangs indefinitely after this...

@kosloot
Copy link
Collaborator

kosloot commented Sep 28, 2016

solved in Ucto

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

No branches or pull requests

3 participants