这是日期吗?使用 ML 识别文件名中的日期格式

File names play a vital role in facilitating effective communication and organization among teams. Files with cryptic or nonsensical names can quickly lead to chaos—whereas a well-structured naming system can streamline workflows, improve collaboration, and ensure easy retrieval of information. Consistency in naming across different files and file types enables teams to find and share content more efficiently, saving time and reducing frustration.

文件名在团队之间的有效沟通和组织中起着至关重要的作用。具有神秘或毫无意义的名称的文件很快就会导致混乱,而良好结构化的命名系统可以简化工作流程,改善协作,并确保轻松检索信息。在不同文件和文件类型之间命名的一致性使团队能够更有效地查找和共享内容,节省时间并减少挫败感。

To make it easier for our users to organize and find their files, Dropbox has an automated feature called naming conventions. With this feature, users can set rules around how files should be named, and files uploaded to a specific folder will automatically be renamed to match the preferred convention. For example, files could be renamed to include a keyword or date. 

为了使用户更轻松地组织和查找其文件,Dropbox具有一个名为命名约定的自动化功能。使用此功能,用户可以设置文件应如何命名的规则,并且上传到特定文件夹的文件将自动重命名以匹配首选约定。例如,文件可以重命名为包含关键字或日期的名称。

The user interface for naming conventions

命名约定的用户界面

Naming conventions can also detect whether a file name already contains a date, and use that date when renaming the file. However, identifying dates in existing file names can be challenging, particularly when the original naming conventions are inconsistent or ambiguous from one file to the next. For example:

命名约定还可以检测文件名是否已包含日期,并在重命名文件时使用该日期。但是,识别现有文件名中的日期可能具有挑战性,特别是当原始命名约定在一个文件与另一个文件之间不一致或存在歧义时。例如:

  • Different individuals or systems may use various date formats, such as MM/DD/YYYY, DD/MM/YYYY, or YYYY-MM-DD.
  • 不同的个人或系统可能使用各种日期格式,例如MM/DD/YYYY、DD/MM/YYYY或YYYY-MM-DD。
  • File names sometimes contain abbreviation or acronym-based date representations, such as Jan for January or FY2023 for the fiscal year 2023.
  • 文件名有时包含缩写或基于首字母缩写的日期表示,例如Jan表示一月或FY2023表示2023财年。
  • In some cases, dates in file names are not separated by any identifier characters or separators, such as survey20230601.
  • 在某些情况下,文件名中的日期没有任何标识符字符或分隔符,例如survey20230601。
  • ...
开通本站会员,查看完整译文。

首页 - Wiki
Copyright © 2011-2024 iteam. Current version is 2.125.0. UTC+08:00, 2024-05-03 16:02
浙ICP备14020137号-1 $访客地图$