Yahoo Hỏi & Đáp sẽ ngừng hoạt động vào ngày 4 tháng 5 năm 2021 (Giờ Miền Đông nước Mỹ) và từ nay, trang web Yahoo Hỏi & Đáp sẽ chỉ ở chế độ đọc. Các thuộc tính hoặc dịch vụ khác của Yahoo hay tài khoản Yahoo của bạn sẽ không có gì thay đổi. Bạn có thể tìm thêm thông tin về việc Yahoo Hỏi & Đáp ngừng hoạt động cũng như cách tải về dữ liệu của bạn trên trang trợ giúp này.
AttributedString in Java?
Hello everybody,
I have an exercise about reading a tagged text (in french) and I have to use the class AttributedString in my program. I don't know how to use it and why should I need to use it.
I think the exercise is very stupid because I don't even know what kind of result I have to receive through the program.
So, does anyone have an idea about this class?
Thank you!
@michael: thank you, but I've already read the javadoc, and I still can't understand what AttributedString is used for.
Now I have a text file, there are some lines in my file:
Je PRO:PER je
venais VER:impf venir
de PRP de
finir VER:infi finir
à PRP à
vingt-deux NUM vingt-deux
ans NOM an
mes DET:POS mon
études NOM étude
à PRP à
l' DET:ART le
université NOM université
What can I do with this text and AttributedString?
2 Câu trả lời
- 1 thập kỷ trướcCâu trả lời yêu thích
This what you need mate: