NLP301c_-_PE1_-_SP_2024_1904.webp
HoangPhuc87

NLP301c_-_PE1_-_SP_2024_1904.webp

Input:
['camellia', 'pendulum', 'petunias', 'begonia', 'dahlia', 'hostas', 'pelorism', 'paperwhite']
Desired Output:
a. ['camellia', 'dahlia']
b. ['paperwhite']
Question 2: (2 marks)
Write the slice expression that extracts the first three words of text.
Input:
text = 'She received the news of the discovery with equanimity'
Desired Output:
['She', 'received', 'the']
Question 3: (3 marks)
Write a program to extract the FPT University email addresses present in the text.
Input:
+ 100%
Zoom
Close

Chưa có bình luận nào.

Thông tin

Category
NLP301c
Thêm bởi
HoangPhuc87
Ngày thêm
Lượt xem
1,591
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
NLP301c_-_PE1_-_SP_2024_1904.webp
File size
133.8 KB
Dimensions
1920px x 748px

Share this media

Back
Bên trên Bottom