Body: <p>I am veteran programmer but an AI/ML newbie.</p>
  <p>I have a large body of technical text sprinkled with part numbers. The part numbers don't follow a strict format that I can easily use a regular expression to recognize. I have a large collection of &quot;labeled&quot; data. Each entry is a short snippet of text &quot;labeled&quot; with the correct part numbers that are recognized inside it.</p>
  <p>What is the best strategy to create such a recognition machine?</p>
  <h2>EDIT - Clarification</h2>
  <p>So sorry, I live in my business domain and I assumed everyone knows what I was talking about.</p>
  <p>Here are some examples of part numbers:</p>
  <ul>
  <li><code>SAK-TC233LC-24F133F</code></li>
  <li><code>MAX1480BEPI+</code></li>
  <li><code>LM2676SX-5.0/NOPB</code></li>
  <li><code>PIC16F1708T-E/SS</code></li>
  <li><code>MT47H64M16NF-25E IT:M TR</code></li>
  <li><code>IS42S16800F-7TL-TR</code></li>
  <li><code>BSS110 (Q62702-S489)</code></li>
  <li><code>BSS209PW L6327</code></li>
  </ul>
  <p>A row is a line of text (usually the subject of an email) and can be extremely unstructured. Here are some subject line examples:</p>
  <ul>
  <li><code>回复: Re: RFQ FROM IK STONE: MT47H64M16NF-25E IT:M TR 4000PCS</code></li>
  <li><code>Re: RE: Fwd: MKL16Z128VFT4 1300pcs RFQ</code></li>
  <li><code>Cancel: ORDER: STM32H743IGT6 IMPROVED PRICE</code></li>
  <li><code>PO#2923960045---PCF8577CT/3,118  1000pcs</code></li>
  <li><code>Re: Fw: Fwd: Requirements (China) of TXS0102DCTR from Shanghai QuiQun Capital Co., LTD</code></li>
  <li><code>回复：LM2675MX-ADJ/NOPB IMPROVED OFFER</code></li>
  </ul>
  <p>I have over 100000 correctly labeled subject lines, i.e. a subject line with the part numbers that are detected in it (can be 0 part numbers as well, not all subject lines contain part numbers)</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-06-25T00:40:54.047Z
Comments.Text: Could you clarify what a "part number" is? Could also provide an example of your dataset? What is a row? What are the classes here, i.e. which possible "labels" can you assign to each input? How many examples (or samples) do you have in your dataset?
Comments.UserDisplayName: nbro
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-06-25T06:57:13.577Z
Comments.Text: I added clarifications to the question, thank you for pointing it out.
Comments.UserDisplayName: Aviad P.
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-06-29T07:56:25.967Z
Comments.Text: One possible way to solve this is to first remove everything that looks like an english word (along with its adjacent punctuation)
Comments.UserDisplayName: Aviad P.
Tags: <machine-learning>
Title: Recognition of Part Numbers in text
UserDisplayName: Aviad P.
ThreadText: # Recognition of Part Numbers in text
  
  (Asked by: username_0 on 2023-06-23)
  
  I am veteran programmer but an AI/ML newbie.
  
  I have a large body of technical text sprinkled with part numbers. The part numbers don't follow a strict format that I can easily use a regular expression to recognize. I have a large collection of "labeled" data. Each entry is a short snippet of text "labeled" with the correct part numbers that are recognized inside it.
  
  What is the best strategy to create such a recognition machine?
  
  ## EDIT - Clarification
  
  So sorry, I live in my business domain and I assumed everyone knows what I was talking about.
  
  Here are some examples of part numbers:
  
  * `SAK-TC233LC-24F133F`
  * `MAX1480BEPI+`
  * `LM2676SX-5.0/NOPB`
  * `PIC16F1708T-E/SS`
  * `MT47H64M16NF-25E IT:M TR`
  * `IS42S16800F-7TL-TR`
  * `BSS110 (Q62702-S489)`
  * `BSS209PW L6327`
  
  A row is a line of text (usually the subject of an email) and can be extremely unstructured. Here are some subject line examples:
  
  * `回复: Re: RFQ FROM IK STONE: MT47H64M16NF-25E IT:M TR 4000PCS`
  * `Re: RE: Fwd: MKL16Z128VFT4 1300pcs RFQ`
  * `Cancel: ORDER: STM32H743IGT6 IMPROVED PRICE`
  * `PO#2923960045---PCF8577CT/3,118 1000pcs`
  * `Re: Fw: Fwd: Requirements (China) of TXS0102DCTR from Shanghai QuiQun Capital Co., LTD`
  * `回复：LM2675MX-ADJ/NOPB IMPROVED OFFER`
  
  I have over 100000 correctly labeled subject lines, i.e. a subject line with the part numbers that are detected in it (can be 0 part numbers as well, not all subject lines contain part numbers)
  
  **Tags:** machine-learning
  > **Comments:**
  > **username_1**: Could you clarify what a "part number" is? Could also provide an example of your dataset? What is a row? What are the classes here, i.e. which possible "labels" can you assign to each input? How many examples (or samples) do you have in your dataset?  
  > **username_0**: I added clarifications to the question, thank you for pointing it out.  
  > **username_0**: One possible way to solve this is to first remove everything that looks like an english word (along with its adjacent punctuation)  
  
  ---
  
  ## 0 answers
  
  