Rule of Data Extraction

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 4

---

**Instructions for Data Extraction:**

I need the extracted data from the provided images in the following detailed
format:

**COMPANY DISPATCH**

**BIOLOGICAL NAME:** [Biological Name]


```
[Biological Name]
```

**APPROVAL REF:** Not Given

**BOOKING NO:** Not Given

**AGENT:** [Agent Name]


```
[Agent Name]
```

**CONSIGNEE:** Not Given

**NDC CODE:** Not Given

**STORAGE:** Not Given

**I/C NO:** Not Given

**ORIGIN:** [Country of Origin]


```
[Country of Origin]
```

**CONTAINER MAXIMUM GROSS WEIGHT:** [Weight] Tonnes


```
[Weight] Tonnes
```

**DATE OF DISPERSE:** Not Given

**DESCRIPTION:** [Description]

---

**SHIPMENT DISPATCH**

**ADDRESS:** [Address]
```
[Address]
```

**PACKAGE DESCRIPTION:** [Package Description]

**GENERIC NAME:** [Generic Name]


```
[Generic Name]
```

**FORM:** Not Assigned

**BILL OF LADING:** Not Assigned

**CONTAINER NUMBER:** Not Assigned

**DATE DISPATCH:** [Date of Dispatch in the format: YYYY-DDth-Month HH:MM:SS]


```
[Date of Dispatch in the format: YYYY-DDth-Month HH:MM:SS]
```

**VERIFIED CODE NO:** [Verified Code No]


```
[Verified Code No]
```

**TRADE MARK REGISTRATION:** Not Assigned

**CONSIGNMENT:** Not Assigned

**ETD:** Not Assigned

---

**AWB DETAILS**

**ID VERIFICATION:** Undisclosed in the form

**AIRCRAFT TYPE:** [Aircraft Type]


```
[Aircraft Type]
```

**WEIGHT:** Undisclosed in the form

**PRODUCT TYPE:** Undisclosed in the form

**TABLET CODE:** [Tablet Code]


```
[Tablet Code]
```

**ADMINISTRATION:** [Administration]
```
[Administration]
```

**DEA SCHEDULED:** Undisclosed in the form

**TARGET:** Undisclosed in the form

**REFERENCE:** Not Provided

**BARCODER2:** [Barcode 2]
```
[Barcode 2]
```

**BARCODER1:** [Barcode 1]
```
[Barcode 1]
```

**IMO NO:** Undisclosed in the form

**SHIPPER ACCOUNT:** Undisclosed in the form

**DATE RECEIVED:** [Date Received in the format: DDth Month, YYYY HH:MM:SS]
```
[Date Received in the format: DDth Month, YYYY HH:MM:SS]
```

**NOTES:** [Notes]
```
[Notes]
```

---

**Formatting Rules and Guidelines:**

1. **Date Formats:**
- **Date of Dispatch:** [YYYY-DDth-Month HH:MM:SS]
- Example: "2015-10th-May 19:00:00"
- **Date Received:** [DDth Month, YYYY HH:MM:SS]
- Example: "17th May, 2015"

2. **Container Maximum Gross Weight (CMGW):**


- Always add "Tonnes" to the value.
- Example: If CMGW value is 11.5, respond with "11.5 Tonnes"

3. **Special Character Rule:**


- Replace special characters with their corresponding codes.
- Example: If the data is "A & B", respond with "A +38 B" (+38 is the code for
"&").
- If a special character doesn't have a code, replace it with "*".

4. **Short-Form Rules:**
- For labels with short forms, provide the full form.
- Example: "Inc." should be "Incorporation".
- Use the full forms provided in the training material.

5. **Description and Package Description:**


- After a full stop, add double space.
- If the line ends in the image, press enter.
- Example: "My name is" [line end] becomes "My name is\n".

6. **Punctuation Spacing Rule:**


- Follow specific space rules provided:
- **Dot:** After one space.
- **Decimal:** No space before and after.
- **Full Stop:** After double space in descriptions.
- **Comma:** After one space.
- **Hyphen:** No space before and after under any condition.
- **Colon:** After one space unless it's in date formats.
- **Semicolon:** After one space.

7. **Country of Origin:**
- Always use the full form as per the training material.
- Example: "US" should be "United States".

8. **Aircraft Type:**
- Use full forms for aircraft type as per the training material.
- Example: "Pt" becomes "Product Tanker".

---

You might also like