Skip to content

Conversation

yuryleb
Copy link
Contributor

@yuryleb yuryleb commented Feb 26, 2018

And also to don't handle 'name' tokens so it's called before final instruction text formatting and grammar rules applying.
Please look at route steps before this fix:
osrm-no-grammar
And after (grammar rules restored; no name roads kept original):
osrm-fixed-grammar

@yuryleb
Copy link
Contributor Author

yuryleb commented Jun 26, 2018

And additionally don't highlight prepending articles/prepositions from French names added by recently proposed French grammar rules:
french bolding

@Penegal
Copy link

Penegal commented Jun 26, 2018

Very nice display, this way!

@yuryleb
Copy link
Contributor Author

yuryleb commented Jun 29, 2018

Rebased.
Actually this PR doesn't directly depend on other mentioned and could be merged w/o them 😉

yuryleb added 2 commits July 27, 2018 23:41
And also to don't handle 'name' tokens so it's called before final instruction text formatting and grammar rules applying
@yuryleb
Copy link
Contributor Author

yuryleb commented Jul 28, 2018

Rebased more once for convenient merge.

@danpat, actually this is more important PR than recently merged ones - it allows to properly work both Russian and French grammars 😉

@danpat danpat merged commit 9009d06 into Project-OSRM:gh-pages Jul 28, 2018
@danpat
Copy link
Member

danpat commented Jul 28, 2018

Tada!

@Penegal
Copy link

Penegal commented Jul 29, 2018

Thank you for this PR!

@yuryleb yuryleb deleted the formatToken-fix branch July 29, 2018 15:34
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

Successfully merging this pull request may close these issues.

3 participants