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

Should count quotes to detect if they are part of adjacent words #18

Closed
wooorm opened this issue Sep 6, 2014 · 2 comments
Closed

Should count quotes to detect if they are part of adjacent words #18

wooorm opened this issue Sep 6, 2014 · 2 comments

Comments

@wooorm
Copy link
Owner

wooorm commented Sep 6, 2014

This could help the detection of if a quote depicts:

  • A possessive apostrophe (Warner Bros.’ movie, three cats’ toys);
  • An elision (’sup, ’round, ’nough, ’emselves);
  • And actual quote (Then he said “She said, ‘Shut up!’”).
@wooorm
Copy link
Owner Author

wooorm commented Sep 7, 2014

This is actually pretty hard (''no 💩, sherlock', he said', while smiling at 'er cats' toys, is an 'example' of hard to detect quotes).

Especially when the same sign is used for everything in different languages:

  • Starting a quote in Bulgarian, Finnish, Norwegian, Swedish;
  • the aforementioned reasons (not sure why ending elision is not mentioned in that post);

I think the best way to detect the apostrophes use, is by looking at “enclosed content” (not sure what to call it) to detect pairs of punctuation marks (which other quotes near-never cross).

@wooorm
Copy link
Owner Author

wooorm commented Jun 29, 2016

Closing for now. Would be cool, but hard. Maybe later.

@wooorm wooorm closed this as completed Jun 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant