Skip to content

feat: Flag Asian commas and "phone commas" with space on the wrong side or missing entirely. #498

@hippietrail

Description

@hippietrail

All these have become common in recent years:

These two seem to be due to how many phones enter commas and/or spaces automagically:

  • this,or this
  • this ,or this

I haven't seen a space on both sides yet, but I'll keep my eye open for it.
Don't accidentally flag thousands separators! Flagging Eurodecimals should be a separate lint.

These two, the ideographic comma u+3001 and the full-width comma, are mostly due to people switching keyboard layouts on their computer or phone:

  • this、or this
  • this,or this

These might also occur with a space on one side or the other but I'm less certain. Because these characters are double width they look like they already contain a space. But I'll keep my eye open for those and other variants to be sure.

Examples found in the wild:

  • ... but also for decency,justice,equality,fairness and freedom
  • if open the TV ,that's normal
  • criteria: prec、rec、F1、NDCG、oneCall、MRR、MAP、AUC
  • TopK evaluation: precision、recall、 F1、 NDCG、 1-Call
  • parser = argparse.ArgumentParser(description='Command line tools translated using Google、youdao and i18ns.com')
  • * is rotated to {b, c, d, e, f, g, a}. If k = 3 instead of 1, then
  • higher 2 bits of the number of nodes, whether abandoned or not decided by .index section
  • map the original vertex id to a continuous id, key: original id, value: continuous id
  • * if the router is "/",it means this router matches any http request
  • GNSS system ID, 1(GPS),2(GLONASS),3(GALILEO),4(QZSS),5(BEIDOU)
  • when cnt >= n + 1, move left

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions