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

Normalizer. What features needed out of box? #1

Closed
puzrin opened this issue Feb 12, 2015 · 3 comments
Closed

Normalizer. What features needed out of box? #1

puzrin opened this issue Feb 12, 2015 · 3 comments

Comments

@puzrin
Copy link
Member

puzrin commented Feb 12, 2015

Linkification process expect 2 additional steps:

  1. Links normalization
  2. Text normalization

Adding too many features tend to api clobbering. Instead i'd prefer to simplify modifications. Some things i know about (with unknown usefulness):

  • text
    • decode encoded texts
    • drop http:// (but don't drop for links with user/pass)
    • drop www
    • cut length (leave domain & tail, cut the middle & query)
  • url
    • usually, nothing needed, but it would be nice to correctly encode host + path + query

  1. It would be interesting to get feedback from big deployments, how do they care about links.
  2. Do we need to enchance normalization in this pkg, or move to plugins?

Gitter

@hemanth
Copy link

hemanth commented Feb 16, 2015

Something like:

Would be nice to have out of the box.

@puzrin
Copy link
Member Author

puzrin commented Mar 12, 2015

Closed - no longer actual. Methods are rewriteable.

@puzrin puzrin closed this as completed Mar 12, 2015
@hemanth
Copy link

hemanth commented Mar 13, 2015

👍

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