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

parens in author strings #440

Open
cmcooney opened this issue Nov 30, 2015 · 0 comments
Open

parens in author strings #440

cmcooney opened this issue Nov 30, 2015 · 0 comments
Assignees

Comments

@cmcooney
Copy link

Parentheses in the author strings causing problems. Cf these three urls:

Chokes with parens:
http://pantagruel.ci.uchicago.edu/philologic4/Aozora/query?frequency_field=&script=&end=0&format=json&author=%E7%B4%A0%E6%9C%A8+%E3%81%97%E3%81%A5+%28Shiraki+Shizu%29&q=%E6%88%80%E4%BA%BA+%E3%81%AE+%E5%91%BC%E5%90%B8+%E3%81%A8&start=1&report=concordance&arg=&date=&title=&philo_type=&method=proxy

Doesn't choke with parens removed:
http://pantagruel.ci.uchicago.edu/philologic4/Aozora/query?frequency_field=&script=&end=0&format=json&author=%E7%B4%A0%E6%9C%A8+%E3%81%97%E3%81%A5+Shiraki+Shizu&q=%E6%88%80%E4%BA%BA+%E3%81%AE+%E5%91%BC%E5%90%B8+%E3%81%A8&start=1&report=concordance&arg=&date=&title=&philo_type=&method=proxy

Doesn't choke again:
http://pantagruel.ci.uchicago.edu/philologic4/Aozora/query?frequency_field=&script=&end=0&format=json&author=%E7%B4%A0%E6%9C%A8+%E3%81%97%E3%81%A5&q=%E6%88%80%E4%BA%BA+%E3%81%AE+%E5%91%BC%E5%90%B8+%E3%81%A8&start=1&report=concordance&arg=&date=&title=&philo_type=&method=proxy

Surrounding that full author name with quotes generates a result:

http://pantagruel.ci.uchicago.edu/philologic4/Aozora/query?frequency_field=&script=&end=0&format=json&author=%22%E7%B4%A0%E6%9C%A8+%E3%81%97%E3%81%A5+%28Shiraki+Shizu%29%22&q=%E6%88%80%E4%BA%BA+%E3%81%AE+%E5%91%BC%E5%90%B8+%E3%81%A8&start=1&report=concordance&arg=&date=&title=&philo_type=&method=proxy

However, searches with parentheses in titles generate results just fine without quotes:

http://pantagruel.ci.uchicago.edu/philologic4/Aozora/query?frequency_field=&script=&end=0&format=json&author=&q=%E6%88%80%E4%BA%BA+%E3%81%AE&start=1&report=concordance&arg=&date=&title=%E5%B9%B8%E7%A6%8F%E3%81%B8%E3%81%AE%E9%81%93+%28%E3%81%93%E3%81%86%E3%81%B5%E3%81%8F%E3%81%B8%E3%81%AE%E3%81%BF%E3%81%A1%29&philo_type=&method=proxy

A not-so-foolish consistency would be nice with this, unless there was a good reason for disallowing parens in author strings. Then again, if there is a better way to group original names + name transliterations than I did, I'm happy to consider it.

@clovis clovis added the bug label Dec 2, 2015
@clovis clovis added this to the PhiloLogic 4.1 milestone Dec 2, 2015
@clovis clovis self-assigned this Dec 2, 2015
@clovis clovis modified the milestones: PhiloLogic 4.1, PhiloLogic 4.6 Jan 14, 2017
@clovis clovis added the RUNTIME label Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants