Pauline Linton 36, Churchill Drive, Little Lever, Bolton BL3 1PF Tel 01204 793523 Mobile (T-Mobile): 07904720094 e-mail: pauline...@kastanet.org Skype: p.linton
Hi Pauline,
There is a problem with the logic of what you are trying to do. You can (probably) do what you want to do in FLEx, but it is complicated. The following entry illustrates the problem:
grain n. 1) (mass noun) seeds of crops such as wheat, corn, or rice 2) (count noun) a single, very small piece of something such as sand or salt
Notice that the word ‘grain’ belongs to two different noun classes (mass noun vs. count noun), depending on the sense. (Mass nouns and count nouns are handled as inflection classes in FLEx.) In some languages this might never be the case, or you might not have ever found and recorded any examples. So you might want to move the noun class to the entry level. But FLEx cannot tell which of the two noun classes should be copied. The programmers had to decide if the program should allow you to potentially mess up your data, or if it should prevent you from doing so. (I think it would be possible for the program to work either way.) If it allowed you to use Bulk Copy from a sense level field to an entry level field, you might end up doing something like the following:
grain n. (mass noun) 1) seeds of crops such as wheat, corn, or rice 2) a single, very small piece of something such as sand or salt
Notice that now ‘grain’ is only a mass noun for all the senses. This is actually wrong. What happened? We copied the noun class to an entry level field and FLEx decided to keep the first noun class and ignore the second. It could have kept the second and ignored the first:
grain n. (count noun) 1) seeds of crops such as wheat, corn, or rice 2) a single, very small piece of something such as sand or salt
Or it could have kept both:
grain n. (mass noun, count noun) 1) seeds of crops such as wheat, corn, or rice 2) a single, very small piece of something such as sand or salt
The program would have to (1) choose one of these options, or (2) require you to make the choice. The first option risks losing valuable data. The programmers decided it was too dangerous to allow this. So FLEx prevents you from using Bulk Copy to copy from a sense level field to an entry level field. The second option makes the program more complex and risks confusing the user with complex logic. FLEx is already a very complicated program.
There is a way to accomplish each of the three options for ‘grain’. (But you need to follow the instructions carefully.)
Option #1—Copy one instance of a sense level field into an entry level field.
1. Filter the sense level field for one of the noun classes (e.g. ‘mass noun’).
2. Use Bulk Replace to replace <nothing> with ‘mass noun’ in the entry level field. (Don’t put anything in the “Find what:” box.)
3. Filter the sense level field for a second noun class (e.g. ‘count noun’).
4. Use Bulk Replace to replace <nothing> with ‘count noun’ and choose the option ‘Overwrite’
5. Repeat steps 3 and 4 as needed.
For this option you will have to order the field contents. For instance if you always want to overwrite ‘mass noun’ with ‘count noun’, you will have to filter for ‘count noun’ last.
Option #2—Copy all instances of a sense level field into an entry level field and append each.
1. Filter the sense level field for one of the noun classes (e.g. ‘mass noun’).
2. Use Bulk Replace to replace <nothing> with ‘mass noun’ in the entry level field. (Don’t put anything in the “Find what:” box.)
3. Filter the sense level field for a second noun class (e.g. ‘count noun’).
4. Use Bulk Replace to replace <nothing> with ‘count noun’ and choose the option ‘Append, separated by:’ <comma> <space>.
5. Repeat steps 3 and 4 as needed.
None of this is necessary if you only have one grammatical category per entry and if each entry (e.g. noun) only belongs to one (noun) class. In such a case the noun class should be handled by an inflection feature or inflection class. FLEx allows you to display the grammatical class on the entry level if there is only one grammatical class in the entry:
hope v. 1) to want something good to happen…
hope n. (uncounted) 1) the desire that something good will happen… 2) something that you hope will happen…
Notice that we can have FLEx display the inflection class “uncounted” on the entry level. This wouldn’t work if you have more than one grammatical class in an entry:
hope 1) v. to want something good to happen… 2) n. (uncounted) the desire that something good will happen… 3) n. (uncounted) something that you hope will happen…
In this case your only option is to display the inflection class with each grammatical class.
For more on handling inflection features and inflection classes, see Andy Black’s paper ‘Introduction to Parsing’ and my paper ‘Introduction to Lexicography’ under Help-Resources. For more on configuring your dictionary, see ‘Configuring a dictionary view’ under Help-Language Explorer.
Ron Moe
From: flex...@googlegroups.com
[mailto:flex...@googlegroups.com] On Behalf Of Pauline Linton
Sent: Monday, August 08, 2011 3:39
AM
To: flex...@googlegroups.com
Subject: Re: [FLEx] Bulk edit noun
classes
I am using V. 7.0.5 already but can't bulk copy between those fields. I suppose I'll leave it where it is for now. The important thing is the information is there somewhere. If I ever get round to publishing the dictionary I'll perhaps have to move it to the Inflection features as you suggest because currently in Dictionary view my custom field appears at the end of the entry not next to the POS and I can't see a way of configuring it differently.
Thanks for the help,
Pauline