This service extracts information from bidding and bid-winning announcements.
To improve extraction accuracy and preserve contextual meaning, the text chunking method has been updated. The service now splits text by sentence. Each text chunk is limited to 500 characters. This count includes Chinese characters, English letters, spaces, and line breaks. If the last sentence causes a chunk to exceed the 500-character limit, that sentence is moved to the next chunk. Each chunk is counted as one service call. If you have any questions, join the NLP Self-learning Platform Q&A Group 2 on DingTalk (Group ID: 44619071).
Bidding information extraction - Premium Edition
The Premium Edition includes two separate services: Bidding information extraction and Bid-winning information extraction. If you do not know the announcement type in advance, you can first call the Bidding and bid-winning type classification service to identify the announcement type.
The Premium Edition supports more fields and provides higher accuracy than the Basic Edition. For a list of supported fields, see the field description table below.
Update on 2021-08-01: The Bid-winning information extraction - Premium Edition service now supports seven new fields: Tendering agency name, Tendering agency phone number, Tendering agency contact, Tendering agency address, Project manager name, Project manager certificate name, and Project manager certificate number.
This service is provided by the NLP Self-learning Platform. You can call the API directly to use the service.
Service activation and resource plan purchase
Before you start, make sure that the service is activated. You can purchase a resource plan after activation.
Service activation: Activation link
Purchase resource plan: Purchase link
Service invocation and debugging
For information about how to invoke the model, see Model invocation.
For software development kit (SDK) examples, see SDK examples.
Debugging
Configure access credentials using environment variables
Notes:
An AccessKey that belongs to an Alibaba Cloud account has permissions to access all APIs. This poses a high security risk. We recommend that you create and use a Resource Access Management (RAM) user for API calls and daily O&M. To create a RAM user, log on to the RAM console.
Do not hardcode your AccessKey ID and AccessKey secret in your code. This practice can lead to credential leaks. Instead, use environment variables to store and access your credentials.
To configure for Linux and macOS
export NLP_AK_ENV=<access_key_id> export NLP_SK_ENV=<access_key_secret>Replace <access_key_id> with your AccessKey ID and <access_key_secret> with your AccessKey secret. For information about how to obtain an AccessKey ID and AccessKey secret, see Step 2: Obtain an AccessKey.
To configure for Windows
Create an environment variable file. Add the
NLP_AK_ENVandNLP_SK_ENVenvironment variables. Set the variables to your AccessKey ID and AccessKey secret.Restart your Windows system.
To call the Bidding information extraction service, set the ServiceName parameter to `NER-ZhaoBiao`.
Java code example
/**
* An AccessKey of an Alibaba Cloud account has permissions to access all APIs. This creates a high security risk. Create and use a RAM user for API calls and daily O&M. To create a RAM user, log on to the RAM console.
* This example shows how to store your AccessKey ID and AccessKey secret in environment variables. You can also store them in a configuration file as needed.
* Do not hardcode your AccessKey ID and AccessKey secret in your code. This practice can lead to credential leaks.
*/
String accessKeyId = System.getenv("NLP_AK_ENV");
String accessKeySecret = System.getenv("NLP_SK_ENV");
DefaultProfile defaultProfile = DefaultProfile.getProfile("cn-hangzhou",accessKeyId,accessKeySecret);
IAcsClient client = new DefaultAcsClient(defaultProfile);
String content = "Second announcement for the 2021 bidding of wellhead and Christmas tree pressure testing operations in Tahe Oilfield by XX Company";
RunPreTrainServiceRequest request = new RunPreTrainServiceRequest();
request.setServiceName("NER-ZhaoBiao");
request.setPredictContent(content);
RunPreTrainServiceResponse response = client.getAcsResponse(request);
System.out.println(response.getPredictResult());Python code example
The PredictContent parameter specifies the document text. If the text is in HTML format, retain the original format.
The `PredictResult` is a JSON string. You must deserialize the string before parsing.
# Install dependencies
pip install aliyun-python-sdk-core
pip install aliyun-python-sdk-nlp-automl# -*- coding: utf8 -*-
import json
import os
from aliyunsdkcore.client import AcsClient
from aliyunsdkcore.acs_exception.exceptions import ClientException
from aliyunsdkcore.acs_exception.exceptions import ServerException
from aliyunsdknlp_automl.request.v20191111 import RunPreTrainServiceRequest
# An AccessKey of an Alibaba Cloud account has permissions to access all APIs. This creates a high security risk. Create and use a RAM user for API calls and daily O&M. To create a RAM user, log on to the RAM console.
# This example shows how to store your AccessKey ID and AccessKey secret in environment variables. You can also store them in a configuration file as needed.
# Do not hardcode your AccessKey ID and AccessKey secret in your code. This practice can lead to credential leaks.
access_key_id = os.environ['NLP_AK_ENV']
access_key_secret = os.environ['NLP_SK_ENV']
# Initialize AcsClient instance
client = AcsClient(
access_key_id,
access_key_secret,
"cn-hangzhou"
);
content = 'Second announcement for the 2021 bidding of wellhead and Christmas tree pressure testing operations in Tahe Oilfield by XX Company'
# Initialize a request and set parameters
request = RunPreTrainServiceRequest.RunPreTrainServiceRequest()
request.set_ServiceName('NER-ZhaoBiao')
request.set_PredictContent(content)
# Print response
response = client.do_action_with_exception(request)
resp_obj = json.loads(response)
predict_result = json.loads(resp_obj['PredictResult'])
print(predict_result)Input example:
Second announcement for the 2021 bidding of wellhead and Christmas tree pressure testing operations in Tahe Oilfield by the oil testing company
Bidding No.: SYGS-ZB2021038
I. Bidding conditions:
The required approval and filing procedures for this project have been completed. The funds are secured, and the project meets the conditions for bidding. A public tender is now being issued.
II. Project overview:
1. Project background:
In 2021, the Well Completion and Testing Center of Sinopec Northwest Oilfield Company's Tahe Oilfield decided to subcontract the integrated construction services for its oil testing process. These services include special vehicle operations, firewall installation, hydrogen sulfide treatment, waste liquid transportation, and Christmas tree pressure testing. The annual workload is 50 well tests, with an estimated integrated construction value of CNY 6 million. The budget for the wellhead and Christmas tree pressure testing is CNY 490,000. Project duration: from the date of contract signing to December 31, 2021.
1.1 Bidding scope:
1.1.1 Determine the service price for the equipment and personnel required for wellhead pressure testing, 140 MPA oil (gas) tree and pumping unit wellhead field pressure testing, and field pressure test data collection.
1.2 Service area: The operational area of the oil testing company in the southern Xinjiang Tahe Oilfield.
1.3 Estimated project amount: CNY 490,000 (tax included).
1.4 Bid sections: This project is not divided into sections.
1.5 Bid result validity: From the date of contract signing to December 31, 2021.
2. Service requirements:
2.1 Technical service requirements:
2.1.1 The construction team must hold a valid market access permit from a Sinopec oilfield company.
2.1.2 Must have the necessary equipment and personnel for wellhead pressure testing, 140 MPA oil (gas) tree and pumping unit wellhead field pressure testing, and field pressure test data collection.
2.1.3 Must use its own equipment and personnel for construction. Subcontracting or transferring the contract is not allowed.
III. Bidder qualification requirements
1. Must be an independent legal entity with a valid business license (the business scope must include relevant technical services).
2. Bidders must have a valid Sinopec market access permit (from the Sinopec Northwest Oilfield Company market information system). The scope must cover the services related to this project.
3. Joint bids are not accepted for this tender.
4. Bidders must have no record of serious violations, fraudulent bid awards, or major quality or safety issues in the past three years. The verification will be based on query results from the following platforms and certificates from relevant authorities.
(1) National Enterprise Credit Information Publicity System of the State Administration for Market Regulation. Check the "Administrative Penalty Information" and "List of Enterprises with Serious Illegal and Dishonest Acts" sections. URL: http://www.gsxt.gov.cn/.
(2) National Court List of Dishonest Persons Subject to Enforcement platform of the Supreme People's Court of the People's Republic of China. URL: http://shixin.court.gov.cn/.
IV. Obtaining the bidding documents
The bidding documents are available from 10:00 on March 10, 2021 to 19:00 on March 14, 2021. To purchase the documents, bring the corporate legal representative's power of attorney and the bid document purchase registration form (see the appendix of the announcement) to Room 304, Comprehensive Office Building, No. 3 Jianguo North Road, Korla City. The price for each set is CNY 500. Note: Payment must be made by bank transfer. Specify "Oil Testing Company XXX Project" as the source of funds. Remittances are not accepted from the 24th to the 31st of each month.
Name: China Petroleum Group Western Drilling Engineering Co., Ltd.
Taxpayer Identification Number: 91650******327257J
Address and Phone: No. 115 Youyi Road, Karamay City (Oil Testing Company) 0001**-756****
Bank and Account Number: Kunlun Bank Co., Ltd. Karamay Youyi Road Branch 8820200******0000088
V. Submission of bid documents
1. Bid submission deadline: 16:00 on March 31, 2021 (UTC+8).
2. Submission method: Submit one original and four copies of the paper bid documents, plus one CD with the electronic version, at the bid opening site.
VI. Bid opening
1. Bid opening time: 16:00 on March 31, 2021
2. Bid opening location: Meeting Room A2-701, Office Building, Oil Testing Company, No. 115 Youyi Road, Karamay City
VII. Tenderer information
Tenderer: Oil Testing Company of Western Drilling Engineering Co., Ltd.
Address: No. 115 Youyi Road, Karamay City
Contact: Mr./Ms. Duan
Phone: 00**-222**** 136********Output example:
{
"records": {
"announcement_type": [
{
"span": "Public Bidding"
}
],
"tendering_entity_name": [
{
"span": "China Petroleum Group Western Drilling Engineering Co., Ltd."
}
],
"announcement_title": [
{
"span": "Second announcement for the 2021 bidding of wellhead and Christmas tree pressure testing operations in Tahe Oilfield by the oil testing comp"
}
],
"bid_opening_date": [
{
"span": "2021-03-31"
}
],
"tender_release_date": [
{
"span": "2021-03-10"
}
],
"project_budget": [
{
"span": "490000.00 CNY"
}
],
"project_number": [
{
"span": "SYGS-ZB2021038"
}
],
"tendering_entity_contact": [
{
"span": "Mr./Ms. Duan"
}
],
"tendering_entity_address": [
{
"span": "No. 115 Youyi Road, Karamay City (Oil Testing Company)"
}
],
"bid_submission_deadline": [
{
"span": "2021-03-31"
}
],
"qualification_requirements": [
{
"span": "Must have the necessary equipment and personnel for wellhead pressure testing, 140 MPA oil (gas) tree and pumping unit wellhead field pressure testing, and field pressure test data collection"
},
{
"span": "Check the "Administrative Penalty Information" and "List of Enterprises with Serious Illegal and Dishonest Acts" sections in the National Enterprise Credit Information Publicity System of the State Administration for Market Regulation. URL: http://www.gsxt.gov.cn/"
},
{
"span": "Must be an independent legal entity with a valid business license (the business scope must include relevant technical services)"
},
{
"span": "The construction team must hold a valid market access permit from a Sinopec oilfield company"
},
{
"span": "Must use its own equipment and personnel for construction. Subcontracting or transferring the contract is not allowed"
},
{
"span": "Joint bids are not accepted for this tender"
},
{
"span": "Information published on the National Court List of Dishonest Persons Subject to Enforcement platform of the Supreme People's Court of the People's Republic of China is authoritative. URL: http://shixin.court.gov.cn/"
},
{
"span": "Bidders must have no record of serious violations, fraudulent bid awards, or major quality or safety issues in the past three years"
},
{
"span": "Bidders must have a valid Sinopec market access permit (from the Sinopec Northwest Oilfield Company market information system). The scope must cover the services related to this project."
}
],
"tendering_entity_phone_number": [
{
"span": "136********"
},
{
"span": "00**-22*****"
}
],
"project_location": [
{
"span": "The operational area of the oil testing company in the southern Xinjiang Tahe Oilfield"
}
],
"bidding_scope": [
{
"span": "Determine the service price for the equipment and personnel required for wellhead pressure testing, 140 MPA oil (gas) tree and pumping unit wellhead field pressure testing, and field pressure test data collection"
}
]
}
}Bidding information extraction fields and descriptions
No. | Entity name | Description |
1 | Source of funds | |
2 | Qualification requirements | |
3 | Tendering entity name | |
4 | Tendering entity contact | |
5 | Tendering entity phone number | |
6 | Tendering entity address | |
7 | Tendering agency contact | |
8 | Tendering agency phone number | |
9 | Tendering agency name | |
10 | Tendering agency address | |
11 | Business type | |
12 | Project budget | Normalized to the format xxx.xx CNY |
13 | Project location | |
14 | Project name | |
15 | Project number | |
16 | Bid submission deadline | Normalized to the format yyyy-mm-dd |
17 | Bid opening date | Normalized to the format yyyy-mm-dd |
18 | Construction scale | |
19 | Announcement type | |
20 | Announcement release date | Normalized to the format yyyy-mm-dd |
21 | Project duration | |
22 | Subject matter name |
Bid-winning information extraction - Premium Edition
To call the Bid-winning information extraction service, set the ServiceName parameter to `NER-Zhongbiao`.
Java code example
/**
* An AccessKey of an Alibaba Cloud account has permissions to access all APIs. This creates a high security risk. Create and use a RAM user for API calls and daily O&M. To create a RAM user, log on to the RAM console.
* This example shows how to store your AccessKey ID and AccessKey secret in environment variables. You can also store them in a configuration file as needed.
* Do not hardcode your AccessKey ID and AccessKey secret in your code. This practice can lead to credential leaks.
*/
String accessKeyId = System.getenv("NLP_AK_ENV");
String accessKeySecret = System.getenv("NLP_SK_ENV");
DefaultProfile defaultProfile = DefaultProfile.getProfile("cn-hangzhou",accessKeyId,accessKeySecret);
IAcsClient client = new DefaultAcsClient(defaultProfile);
String content = "Yangming District 2021 Survey and Design (Section 1) Bid Winner Announcement Project No.: T00000001000000001";
RunPreTrainServiceRequest request = new RunPreTrainServiceRequest();
request.setServiceName("NER-Zhongbiao");
request.setPredictContent(content);
RunPreTrainServiceResponse response = client.getAcsResponse(request);
System.out.println(response.getPredictResult());Python code example
The PredictContent parameter specifies the document text. If the text is in HTML format, retain the original format.
The `PredictResult` is a JSON string. You must deserialize the string before parsing.
# Install dependencies
pip install aliyun-python-sdk-core
pip install aliyun-python-sdk-nlp-automl# -*- coding: utf8 -*-
import json
import os
from aliyunsdkcore.client import AcsClient
from aliyunsdkcore.acs_exception.exceptions import ClientException
from aliyunsdkcore.acs_exception.exceptions import ServerException
from aliyunsdknlp_automl.request.v20191111 import RunPreTrainServiceRequest
# An AccessKey of an Alibaba Cloud account has permissions to access all APIs. This creates a high security risk. Create and use a RAM user for API calls and daily O&M. To create a RAM user, log on to the RAM console.
# This example shows how to store your AccessKey ID and AccessKey secret in environment variables. You can also store them in a configuration file as needed.
# Do not hardcode your AccessKey ID and AccessKey secret in your code. This practice can lead to credential leaks.
access_key_id = os.environ['NLP_AK_ENV']
access_key_secret = os.environ['NLP_SK_ENV']
# Initialize AcsClient instance
client = AcsClient(
access_key_id,
access_key_secret,
"cn-hangzhou"
);
content = 'Yangming District 2021 Survey and Design (Section 1) Bid Winner Announcement Project No.: T00000001000000001'
# Initialize a request and set parameters
request = RunPreTrainServiceRequest.RunPreTrainServiceRequest()
request.set_ServiceName('NER-Zhongbiao')
request.set_PredictContent(content)
# Print response
response = client.do_action_with_exception(request)
resp_obj = json.loads(response)
predict_result = json.loads(resp_obj['PredictResult'])
print(predict_result)Input example:
Announcement of Bid Candidates for the 2021 High-Standard Farmland Construction Project Survey and Design (Section 1) in Yangming District, Mudanjiang City
Bid Winner Announcement
Project No.: T2300********569001
The bid evaluation for the 2021 High-Standard Farmland Construction Project Survey and Design (Section 1) in Yangming District, Mudanjiang City was held at 09:00 on March 9, 2021, at the Heilongjiang Provincial Public Resource Standardized Trading Venue (No. 379 Hanshui Road, Nangang District, Harbin City). The bid winner has been determined according to the evaluation method and award criteria specified in the bidding documents.
I. Project name: 2021 High-Standard Farmland Construction Project Survey and Design (Section 1) in Yangming District, Mudanjiang City
II. Tenderer: Agriculture and Rural Affairs Bureau of Yangming District, Mudanjiang City
III. Tendering agency: Zhongda Tongzhou Engineering Consulting Co., Ltd.
IV. Bidding method: Public bidding
V. Bid-winning information
After evaluation by the bid evaluation committee, the top three bid candidates ranked from highest to lowest are:
First place: Harbin Nongken Tengyue Engineering Design Co., Ltd. Score: 93.96
Second place: Heilongjiang Baicheng Survey and Design Co., Ltd. Score: 74.19
Third place: Zhengye Design Co., Ltd. Score: 72.23
The bid evaluation committee has lawfully determined the first-ranked candidate as the preliminary bid winner.
Preliminary bid-winning entity: Harbin Nongken Tengyue Engineering Design Co., Ltd.
Preliminary bid-winning price: Calculated at 99.00% of the fee standard specified in the "Notice on Issuing the Budget Quota Standard for Land Development and Consolidation Projects in Heilongjiang Province" (Hei Cai Jian [2013] No. 294) issued by the Heilongjiang Provincial Department of Land and Resources.
Project manager: Lin Changhu
Quality standard: Qualified;
Survey and design period: 30 calendar days after the contract is signed (the specific start date is subject to the tenderer's notification);
Other notes: Heilongjiang Yuze Engineering Survey and Design Co., Ltd. did not meet clause 1.2 of the formal review in the bidding documents, so its bid was rejected.
VII. Public notice period: From March 10, 2021, to March 12, 2021. Any relevant parties with objections should submit them in writing to the tenderer. If there are no objections, the preliminary bid winner will become the official bid winner after the notice period ends.
VIII. Contact information
Supervisory department for this project's bidding: Farmland Construction and Project Supervision Section, Agriculture and Rural Affairs Bureau of Mudanjiang City
Tenderer: Agriculture and Rural Affairs Bureau of Yangming District, Mudanjiang City
Address: No. 68 Guanghua Street, Yangming District, Mudanjiang City, Heilongjiang Province
Contact: Mr./Ms. Zhang
Phone: 136********
Tendering agency: Zhongda Tongzhou Engineering Consulting Co., Ltd.
Address: 11th Floor, Unit 1, Building A4, China Arts and Crafts Cultural and Creative Park Heilongjiang (The Bund 1898), Daoli District, Harbin City
Contact: Mr./Ms. Li
Phone: 136********Output example:
{
"records": {
"announcement_type": [
{
"span": "Bid Winner Announcement"
},
{
"span": "Bid Candidate Announcement"
}
],
"project_name": [
{
"span": "2021 High-Standard Farmland Construction Project Survey and Design (Section 1) in Yangming District, Mudanjiang City"
}
],
"bid_opening_date": [
{
"span": "2021-03-09"
}
],
"tendering_entity_name": [
{
"span": "Agriculture and Rural Affairs Bureau of Yangming District, Mudanjiang City"
}
],
"bid_candidate_ranking": [
{
"span": "Third place"
},
{
"span": "Second place"
},
{
"span": "First place"
}
],
"first_place_bid_winning_supplier_name": [
{
"span": "Harbin Nongken Tengyue Engineering Design Co., Ltd."
}
],
"bid_candidate_composite_score": [
{
"span": "72.23 points"
},
{
"span": "74.19 points"
},
{
"span": "93.96 points"
}
],
"second_place_bid_winning_supplier_name": [
{
"span": "Heilongjiang Baicheng Survey and Design Co., Ltd."
}
],
"third_place_bid_winning_supplier_name": [
{
"span": "Zhengye Design Co., Ltd."
}
],
"announcement_release_date": [
{
"span": "2021-03-10"
}
],
"tendering_entity_address": [
{
"span": "No. 68 Guanghua Street, Yangming District, Mudanjiang City, Heilongjiang Province"
}
],
"tendering_entity_contact": [
{
"span": "Mr./Ms. Zhang"
}
],
"tendering_entity_phone_number": [
{
"span": "136********"
}
],
"project_number": [
{
"span": "T2300000001000569001"
}
]
}
}Bid-winning information extraction fields and descriptions
No. | Entity name | Description |
1 | Tendering entity name | |
2 | Tendering entity contact | |
3 | Tendering entity phone number | |
4 | Tendering entity address | |
5 | Business type | |
6 | Project location | |
7 | Project name | |
8 | Project number | |
9 | Maximum bid price | Normalized to the format xxx.xx CNY |
10 | Bid candidate commercial score | |
11 | Bid candidate ranking | |
12 | Bid candidate technical score | |
13 | Bid candidate name | |
14 | Bid candidate price score | |
15 | Evaluation committee member | |
16 | Bid opening date | Normalized to the format yyyy-mm-dd |
17 | Announcement type | |
18 | Announcement release date | Normalized to the format yyyy-mm-dd |
19 | First-place bid-winning supplier price | |
20 | First-place bid-winning supplier phone number | |
21 | First-place bid-winning supplier address | |
22 | First-place bid-winning supplier name | |
23 | Third-place bid-winning supplier price | |
24 | Third-place bid-winning supplier address | |
25 | Third-place bid-winning supplier name | |
26 | Second-place bid-winning supplier price | |
27 | Second-place bid-winning supplier address | |
28 | Second-place bid-winning supplier name | |
29 | Subject matter name | |
30 | Tendering agency name | |
31 | Tendering agency phone number | |
32 | Tendering agency contact | |
33 | Tendering agency address | |
34 | Project manager name | |
35 | Project manager certificate name | |
36 | Project manager certificate number |